aboutsummaryrefslogtreecommitdiff
path: root/js/tools/RotateStage3DTool.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/tools/RotateStage3DTool.js')
-rwxr-xr-x[-rw-r--r--]js/tools/RotateStage3DTool.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/js/tools/RotateStage3DTool.js b/js/tools/RotateStage3DTool.js
index ca2a8bf3..2b312e53 100644..100755
--- a/js/tools/RotateStage3DTool.js
+++ b/js/tools/RotateStage3DTool.js
@@ -131,9 +131,14 @@ exports.RotateStage3DTool = Montage.create(Rotate3DToolBase, {
131 var iMat = Matrix.I(4); 131 var iMat = Matrix.I(4);
132 132
133 ElementsMediator.setMatrix(this.application.ninja.currentDocument.documentRoot, iMat, false); 133 ElementsMediator.setMatrix(this.application.ninja.currentDocument.documentRoot, iMat, false);
134
135 this.application.ninja.currentDocument.documentRoot.elementModel.props3D.m_transformCtr = null; 134 this.application.ninja.currentDocument.documentRoot.elementModel.props3D.m_transformCtr = null;
136 135
136 // let the document and stage manager know about the zoom change
137 this.application.ninja.stage._firstDraw = true;
138 this.application.ninja.documentBar.zoomFactor = 100;
139 this.application.ninja.currentDocument.iframe.style.zoom = 1.0;
140 this.application.ninja.stage._firstDraw = false;
141
137 // TODO - Any updates to the stage should redraw stage's children. Move this to mediator? 142 // TODO - Any updates to the stage should redraw stage's children. Move this to mediator?
138 this.application.ninja.stage.updatedStage = true; 143 this.application.ninja.stage.updatedStage = true;
139 144