[Bprocessor-commit] model/src/net/sourceforge/bprocessor/model Surface.java, 1.134, 1.135
Status: Pre-Alpha
Brought to you by:
henryml
|
From: Nordholt <nor...@us...> - 2007-01-31 20:56:41
|
Update of /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv23608/src/net/sourceforge/bprocessor/model Modified Files: Surface.java Log Message: prevented spaceassignments of a hole flipping when the hole is added to a surface Index: Surface.java =================================================================== RCS file: /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model/Surface.java,v retrieving revision 1.134 retrieving revision 1.135 diff -C2 -d -r1.134 -r1.135 *** Surface.java 31 Jan 2007 10:51:08 -0000 1.134 --- Surface.java 31 Jan 2007 20:56:40 -0000 1.135 *************** *** 1100,1103 **** --- 1100,1108 ---- /* If the normal of the hole is not the same the hole is reversed */ hole.flip(); + //FIXME: maybe the holes just shouldnt be flipped + Space holeBack = hole.getBackDomain(); + Space holeFront = hole.getFrontDomain(); + hole.setFrontDomain(holeBack); + hole.setBackDomain(holeFront); } if (hole.getFrontDomain() == null) { |