git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9461 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
@@ -413,6 +413,14 @@ public class SelectTool extends SceneEditTool {
moving.sceneUndo();
moving = null;
clearState();
+ } else if (scaling != null) {
+ scaling.sceneUndo();
+ scaling = null;
+ clearState();
+ } else if (rotating != null) {
+ rotating.sceneUndo();
+ rotating = null;
}
else if (!wasDraggingR && !wasDownR) { // wasn't dragging and was not down already
// pick on the spot