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
This commit is contained in:
bre..ns 2012-06-07 23:34:14 +00:00
parent 0b7a92cc38
commit 233627de72

View File

@ -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