diff options
author | Nivesh Rajbhandari | 2012-04-25 13:34:04 -0700 |
---|---|---|
committer | Nivesh Rajbhandari | 2012-04-25 13:34:04 -0700 |
commit | 32a24988add5ba0ecf80caa31871cdd90e3eea5b (patch) | |
tree | fbf05f2dfc91e57ab9598046ff16798ea0ae1966 /js/tools/RotateObject3DTool.js | |
parent | 60d6346a78fb5257eaf36f17a5fcb764a342c012 (diff) | |
parent | d3a6350163ada5644d34ed8d5c2a00cef4db2afc (diff) | |
download | ninja-32a24988add5ba0ecf80caa31871cdd90e3eea5b.tar.gz |
Merge branch 'refs/heads/ninja-internal' into WebGLMaterials
Diffstat (limited to 'js/tools/RotateObject3DTool.js')
-rwxr-xr-x | js/tools/RotateObject3DTool.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/js/tools/RotateObject3DTool.js b/js/tools/RotateObject3DTool.js index 27352231..ec2fcc0c 100755 --- a/js/tools/RotateObject3DTool.js +++ b/js/tools/RotateObject3DTool.js | |||
@@ -4,7 +4,9 @@ No rights, expressed or implied, whatsoever to this software are provided by Mot | |||
4 | (c) Copyright 2011 Motorola Mobility, Inc. All Rights Reserved. | 4 | (c) Copyright 2011 Motorola Mobility, Inc. All Rights Reserved. |
5 | </copyright> */ | 5 | </copyright> */ |
6 | 6 | ||
7 | var Montage = require("montage/core/core").Montage; | 7 | var Montage = require("montage/core/core").Montage, |
8 | viewUtils = require("js/helper-classes/3D/view-utils").ViewUtils, | ||
9 | snapManager = require("js/helper-classes/3D/snap-manager").SnapManager; | ||
8 | 10 | ||
9 | var Rotate3DToolBase = require("js/tools/Rotate3DToolBase").Rotate3DToolBase; | 11 | var Rotate3DToolBase = require("js/tools/Rotate3DToolBase").Rotate3DToolBase; |
10 | var toolHandleModule = require("js/stage/tool-handle"); | 12 | var toolHandleModule = require("js/stage/tool-handle"); |
@@ -18,6 +20,7 @@ exports.RotateObject3DTool = Montage.create(Rotate3DToolBase, { | |||
18 | 20 | ||
19 | _initializeToolHandles: { | 21 | _initializeToolHandles: { |
20 | value: function() { | 22 | value: function() { |
23 | this.rotateStage = false; | ||
21 | if(!this._handles) | 24 | if(!this._handles) |
22 | { | 25 | { |
23 | this._handles = []; | 26 | this._handles = []; |