diff options
author | Nivesh Rajbhandari | 2012-05-31 14:31:00 -0700 |
---|---|---|
committer | Nivesh Rajbhandari | 2012-05-31 14:31:00 -0700 |
commit | 0b830a8c6415e9cc255d1593a05ae3fa9d94c5e2 (patch) | |
tree | a34473b87b2de47cd6f09620b2f7009588d5f5d2 /js/stage | |
parent | d1e5450d771b95909641bfe8436ced35fa0156b5 (diff) | |
download | ninja-0b830a8c6415e9cc255d1593a05ae3fa9d94c5e2.tar.gz |
Adding back the stage references in the 3d classes.
Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
Diffstat (limited to 'js/stage')
-rwxr-xr-x | js/stage/stage.reel/stage.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/js/stage/stage.reel/stage.js b/js/stage/stage.reel/stage.js index 4505ff66..dc00eac2 100755 --- a/js/stage/stage.reel/stage.js +++ b/js/stage/stage.reel/stage.js | |||
@@ -1090,7 +1090,11 @@ exports.Stage = Montage.create(Component, { | |||
1090 | 1090 | ||
1091 | workingPlane = [0,0,1,0]; | 1091 | workingPlane = [0,0,1,0]; |
1092 | 1092 | ||
1093 | this.viewUtils.setStageElement(this.application.ninja.currentDocument.model.documentRoot); | ||
1094 | this.viewUtils.setRootElement(this.application.ninja.currentDocument.model.documentRoot.parentNode); | ||
1095 | |||
1093 | this.snapManager._isCacheInvalid = true; | 1096 | this.snapManager._isCacheInvalid = true; |
1097 | this.snapManager.currentStage = this.application.ninja.currentDocument.model.documentRoot; | ||
1094 | this.snapManager.setupDragPlaneFromPlane (workingPlane); | 1098 | this.snapManager.setupDragPlaneFromPlane (workingPlane); |
1095 | 1099 | ||
1096 | this.drawUtils.initializeFromDocument(); | 1100 | this.drawUtils.initializeFromDocument(); |