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:
parent
0b7a92cc38
commit
233627de72
@ -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…
x
Reference in New Issue
Block a user