updated SDK manipulation to escape a transformation when right-click

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9461 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
bre..ns 13 years ago
parent 0b7a92cc38
commit 233627de72
  1. 8
      sdk/jme3-scenecomposer/src/com/jme3/gde/scenecomposer/tools/SelectTool.java

@ -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;
clearState();
}
else if (!wasDraggingR && !wasDownR) { // wasn't dragging and was not down already
// pick on the spot

Loading…
Cancel
Save