aboutsummaryrefslogtreecommitdiff
path: root/js/stage/stage.reel/stage.js
diff options
context:
space:
mode:
authorValerio Virgillito2012-05-31 14:34:36 -0700
committerValerio Virgillito2012-05-31 14:34:36 -0700
commitfdc49789aaf892126f80cb17cca7f3d3b3b080bb (patch)
treefd87f765fd93aa43ff62ac1c5a68559cc753d722 /js/stage/stage.reel/stage.js
parent19e3d87a8428a44c9edf3df47998c3bfe93b3c90 (diff)
parent0b830a8c6415e9cc255d1593a05ae3fa9d94c5e2 (diff)
downloadninja-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-xjs/stage/stage.reel/stage.js4
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();