Update of /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/view
In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv15624/src/net/sourceforge/bprocessor/gl/view
Modified Files:
Display.java
Log Message:
new rotation tool
Index: Display.java
===================================================================
RCS file: /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/view/Display.java,v
retrieving revision 1.99
retrieving revision 1.100
diff -C2 -d -r1.99 -r1.100
*** Display.java 5 Oct 2009 10:50:24 -0000 1.99
--- Display.java 13 Jan 2010 10:58:30 -0000 1.100
***************
*** 926,930 ****
gl.glPushMatrix();
if (space == active) {
! paint(space.getInstanceAnchor());
}
translateToCoordinatesystem(space);
--- 926,932 ----
gl.glPushMatrix();
if (space == active) {
! paint(space.getAnchor());
! } else {
! paint(space.getAnchor());
}
translateToCoordinatesystem(space);
***************
*** 1236,1240 ****
if (current instanceof Instance) {
Instance instance = (Instance) current;
! translation.add(0, instance.getInstanceAnchor());
}
current = current.getOwner();
--- 1238,1242 ----
if (current instanceof Instance) {
Instance instance = (Instance) current;
! translation.add(0, instance.getTransformation());
}
current = current.getOwner();
|