Update of /cvsroot/bprocessor/gui/src/net/sourceforge/bprocessor/gui/treeview
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv16942/src/net/sourceforge/bprocessor/gui/treeview
Modified Files:
GenericTreeView.java
Log Message:
A little progress on surface sorting
Index: GenericTreeView.java
===================================================================
RCS file: /cvsroot/bprocessor/gui/src/net/sourceforge/bprocessor/gui/treeview/GenericTreeView.java,v
retrieving revision 1.95
retrieving revision 1.96
diff -C2 -d -r1.95 -r1.96
*** GenericTreeView.java 14 Apr 2007 15:00:42 -0000 1.95
--- GenericTreeView.java 7 May 2007 09:48:51 -0000 1.96
***************
*** 509,513 ****
int[] ins = new int[sorted.size()];
int i = 0;
! for (Object current : entities) {
this.add(nodeFor(current));
ins[i] = this.getChildCount() - 1;
--- 509,513 ----
int[] ins = new int[sorted.size()];
int i = 0;
! for (Object current : sorted) {
this.add(nodeFor(current));
ins[i] = this.getChildCount() - 1;
|