diff options
author | Jose Antonio Marquez | 2012-02-23 10:37:04 -0800 |
---|---|---|
committer | Jose Antonio Marquez | 2012-02-23 10:37:04 -0800 |
commit | 287a0bad5b774a380ec6c8b3ddf24dc03234e248 (patch) | |
tree | edffa1dd9df53f26da4135068686997ccfbdf083 /js/tools/RotateStage3DTool.js | |
parent | 14a8f4c4e373db213b3d42d30edaea8354ae57e3 (diff) | |
parent | cc295dd0fb873505eed01c232bd987cf6e2dcdd9 (diff) | |
download | ninja-287a0bad5b774a380ec6c8b3ddf24dc03234e248.tar.gz |
Merge branch 'refs/heads/NinjaInternal' into FileIO
Diffstat (limited to 'js/tools/RotateStage3DTool.js')
-rwxr-xr-x | js/tools/RotateStage3DTool.js | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/js/tools/RotateStage3DTool.js b/js/tools/RotateStage3DTool.js index ca2a8bf3..2b312e53 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 | ||