[Bprocessor-commit] gui/src/net/sourceforge/bprocessor/gui/treeview GenericTreeView.java, 1.158, 1.
Status: Pre-Alpha
Brought to you by:
henryml
From: Michael L. <he...@us...> - 2011-12-30 12:53:31
|
Update of /cvsroot/bprocessor/gui/src/net/sourceforge/bprocessor/gui/treeview In directory vz-cvs-4.sog:/tmp/cvs-serv5915/src/net/sourceforge/bprocessor/gui/treeview Modified Files: GenericTreeView.java Log Message: Fixed bug with section planes Index: GenericTreeView.java =================================================================== RCS file: /cvsroot/bprocessor/gui/src/net/sourceforge/bprocessor/gui/treeview/GenericTreeView.java,v retrieving revision 1.158 retrieving revision 1.159 diff -C2 -d -r1.158 -r1.159 *** GenericTreeView.java 27 Jul 2011 07:19:36 -0000 1.158 --- GenericTreeView.java 30 Dec 2011 12:53:29 -0000 1.159 *************** *** 1215,1221 **** public EntityNode nodeFor(Object entity) { Item space = (Item) entity; ! if (space.isVoid()) { ! return new VoidNode(space); ! } else if (space instanceof Space) { return new ContainerNode((Space) space); } else if (space instanceof Instance) { --- 1215,1219 ---- public EntityNode nodeFor(Object entity) { Item space = (Item) entity; ! if (space instanceof Space) { return new ContainerNode((Space) space); } else if (space instanceof Instance) { *************** *** 1412,1418 **** public EntityNode nodeFor(Object entity) { Item space = (Item) entity; ! if (space.isVoid()) { ! return new VoidNode(space); ! } else if (space instanceof Space) { return new ContainerNode((Space) space); } else if (space instanceof Instance) { --- 1410,1414 ---- public EntityNode nodeFor(Object entity) { Item space = (Item) entity; ! if (space instanceof Space) { return new ContainerNode((Space) space); } else if (space instanceof Instance) { |