[Bprocessor-commit] model/src/net/sourceforge/bprocessor/model Surface.java, 1.97, 1.98
Status: Pre-Alpha
Brought to you by:
henryml
From: Michael L. <he...@us...> - 2006-06-07 08:28:19
|
Update of /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv6828/src/net/sourceforge/bprocessor/model Modified Files: Surface.java Log Message: Fixed space assignment bug that caused surfaces to be removed from spaces in some cases where they should not be Index: Surface.java =================================================================== RCS file: /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model/Surface.java,v retrieving revision 1.97 retrieving revision 1.98 diff -C2 -d -r1.97 -r1.98 *** Surface.java 17 May 2006 12:20:39 -0000 1.97 --- Surface.java 7 Jun 2006 08:28:13 -0000 1.98 *************** *** 1007,1011 **** if (backDomain != back) { if (backDomain != null) { ! backDomain.removeSurface(this); } backDomain = back; --- 1007,1013 ---- if (backDomain != back) { if (backDomain != null) { ! if (backDomain != frontDomain) { ! backDomain.removeSurface(this); ! } } backDomain = back; *************** *** 1034,1038 **** if (frontDomain != front) { if (frontDomain != null) { ! frontDomain.removeSurface(this); } frontDomain = front; --- 1036,1042 ---- if (frontDomain != front) { if (frontDomain != null) { ! if (frontDomain != backDomain) { ! frontDomain.removeSurface(this); ! } } frontDomain = front; |