[Bprocessor-commit] gl/src/net/sourceforge/bprocessor/gl/tool MoveTool.java,1.54,1.55
Status: Pre-Alpha
Brought to you by:
henryml
|
From: Nordholt <nor...@us...> - 2006-04-26 15:29:12
|
Update of /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/tool In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13035/tool Modified Files: MoveTool.java Log Message: fixed so clippingplanes can be moved aswell Index: MoveTool.java =================================================================== RCS file: /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/tool/MoveTool.java,v retrieving revision 1.54 retrieving revision 1.55 diff -C2 -d -r1.54 -r1.55 *** MoveTool.java 21 Apr 2006 15:05:00 -0000 1.54 --- MoveTool.java 26 Apr 2006 15:29:07 -0000 1.55 *************** *** 12,16 **** import net.sourceforge.bprocessor.model.Edge; - import net.sourceforge.bprocessor.model.Entity; import net.sourceforge.bprocessor.model.Project; import net.sourceforge.bprocessor.model.Vertex; --- 12,15 ---- *************** *** 71,75 **** /** ! * Update selection */ protected void update() { --- 70,74 ---- /** ! * Updating after a move. */ protected void update() { *************** *** 80,87 **** ClippingPlane plane = (ClippingPlane) o; plane.update(); - } else { - if (o instanceof Entity) { - //Project.getInstance().updateConstraints((Entity) o); - } } } --- 79,82 ---- *************** *** 160,163 **** --- 155,159 ---- moveEntities != null) { move(vertices, current.vertex().minus(from)); + update(); } } *************** *** 165,172 **** } } ! ! ! ! /** * Invoked when the mouse is held pressed and moved --- 161,165 ---- } } ! /** * Invoked when the mouse is held pressed and moved *************** *** 293,297 **** super.cleanUp(); } ! } ! } --- 286,289 ---- super.cleanUp(); } ! } } |