diff options
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(); |