Update of /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/model
In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv15624/src/net/sourceforge/bprocessor/gl/model
Modified Files:
SelectionPath.java
Log Message:
new rotation tool
Index: SelectionPath.java
===================================================================
RCS file: /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/model/SelectionPath.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** SelectionPath.java 12 Dec 2007 14:38:48 -0000 1.3
--- SelectionPath.java 13 Jan 2010 10:58:30 -0000 1.4
***************
*** 99,103 ****
for (Geometric current : reversed) {
if (current instanceof Instance) {
! CoordinateSystem cs = ((Instance)current).getInstanceAnchor();
cs.unTranslateIt(vertices);
}
--- 99,103 ----
for (Geometric current : reversed) {
if (current instanceof Instance) {
! CoordinateSystem cs = ((Instance)current).getTransformation();
cs.unTranslateIt(vertices);
}
***************
*** 115,119 ****
for (Geometric current : path) {
if (current instanceof Instance) {
! CoordinateSystem cs = ((Instance)current).getInstanceAnchor();
cs.translateIt(geometric.collect());
}
--- 115,119 ----
for (Geometric current : path) {
if (current instanceof Instance) {
! CoordinateSystem cs = ((Instance)current).getTransformation();
cs.translateIt(geometric.collect());
}
|