diff options
author | Valerio Virgillito | 2012-05-31 14:34:36 -0700 |
---|---|---|
committer | Valerio Virgillito | 2012-05-31 14:34:36 -0700 |
commit | fdc49789aaf892126f80cb17cca7f3d3b3b080bb (patch) | |
tree | fd87f765fd93aa43ff62ac1c5a68559cc753d722 /js/stage/stage.reel/stage.js | |
parent | 19e3d87a8428a44c9edf3df47998c3bfe93b3c90 (diff) | |
parent | 0b830a8c6415e9cc255d1593a05ae3fa9d94c5e2 (diff) | |
download | ninja-fdc49789aaf892126f80cb17cca7f3d3b3b080bb.tar.gz |
Merge pull request #4 from mqg734/dom-architecture-pentool
Adding back the stage references in the 3d classes and fixing styles lookup for the stage.
Diffstat (limited to 'js/stage/stage.reel/stage.js')
-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(); |