]> gerrit.simantics Code Review - simantics/3d.git/blobdiff - org.simantics.g3d.vtk/src/org/simantics/g3d/vtk/swt/RotateAction.java
Disable DB level undo, when model modifying actions are active
[simantics/3d.git] / org.simantics.g3d.vtk / src / org / simantics / g3d / vtk / swt / RotateAction.java
index f9ea1877b154b13653963026501138a7b1a712be..eb557eed915f430f8e0710ee267e31dcd1e286fd 100644 (file)
@@ -173,12 +173,13 @@ public class RotateAction extends vtkSwtAction{
                                update();
                        }
                });
-               
+               setDBUndo(false);
                
                
        }
        
        public void deattach() {
+           setDBUndo(true);
            if (toolComposite != null) {
             toolComposite.clear();
             axisCombo = null;