diff options
author | Pushkar Joshi | 2012-02-24 12:08:49 -0800 |
---|---|---|
committer | Pushkar Joshi | 2012-02-24 12:08:49 -0800 |
commit | 03ca7a5ed13c25faaa9100bb666e062fd15335e6 (patch) | |
tree | c51112223ceb9121cd595a60335eb2795215590f /js/tools/RotateStage3DTool.js | |
parent | fcb12cc09eb3cd3b42bd215877ba18f449275b75 (diff) | |
parent | 053fc63a2950c7a5ee4ebf98033b64d474a3c46e (diff) | |
download | ninja-03ca7a5ed13c25faaa9100bb666e062fd15335e6.tar.gz |
Merge branch 'pentool' into brushtool
Conflicts:
imports/codemirror/mode/scheme/scheme.js
js/tools/BrushTool.js
Diffstat (limited to 'js/tools/RotateStage3DTool.js')
-rwxr-xr-x[-rw-r--r--] | 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 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 | ||