Update of /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv2627/src/net/sourceforge/bprocessor/model
Modified Files:
Constructor.java
Log Message:
Moving the handles properly, so that moving the origin has the wanted effect.
Index: Constructor.java
===================================================================
RCS file: /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model/Constructor.java,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** Constructor.java 8 Sep 2006 14:10:32 -0000 1.12
--- Constructor.java 11 Sep 2006 14:55:06 -0000 1.13
***************
*** 186,190 ****
Iterator it = collect().iterator();
while (it.hasNext()) {
! ((Geometric)it.next()).move(x, y, z);
}
}
--- 186,191 ----
Iterator it = collect().iterator();
while (it.hasNext()) {
! Geometric g = (Geometric)it.next();
! g.move(x, y, z);
}
}
***************
*** 234,237 ****
--- 235,239 ----
public void move(double x, double y, double z) {
parent().move(x, y, z);
+ super.move(x, y, z);
}
|