diff options
author | Valerio Virgillito | 2012-02-27 10:50:17 -0800 |
---|---|---|
committer | Valerio Virgillito | 2012-02-27 10:50:17 -0800 |
commit | a5d635a29de97a7daa93b9036d7a7dce48f07670 (patch) | |
tree | 0199d2ed21ab474b88302abf57cb8b14a200f4fa /js/helper-classes/3D/view-utils.js | |
parent | d392751242f9a4aad4199c941fd416c19c422ee1 (diff) | |
parent | c65eb4b983e8020346cda4dc7bcb050cb1a410e1 (diff) | |
download | ninja-a5d635a29de97a7daa93b9036d7a7dce48f07670.tar.gz |
Merge branch 'FileIO-Build-Candidate' of https://github.com/joseeight/ninja-internal into integration-candidate
Diffstat (limited to 'js/helper-classes/3D/view-utils.js')
-rwxr-xr-x | js/helper-classes/3D/view-utils.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/js/helper-classes/3D/view-utils.js b/js/helper-classes/3D/view-utils.js index a2fac34f..bedda8bf 100755 --- a/js/helper-classes/3D/view-utils.js +++ b/js/helper-classes/3D/view-utils.js | |||
@@ -1226,6 +1226,14 @@ exports.ViewUtils = Montage.create(Component, { | |||
1226 | } | 1226 | } |
1227 | }, | 1227 | }, |
1228 | 1228 | ||
1229 | getCurrentDocument: | ||
1230 | { | ||
1231 | value: function() | ||
1232 | { | ||
1233 | return snapManagerModule.SnapManager.application.ninja.currentDocument; | ||
1234 | } | ||
1235 | }, | ||
1236 | |||
1229 | setStageZoom: { | 1237 | setStageZoom: { |
1230 | value:function( globalPt, zoomFactor ) { | 1238 | value:function( globalPt, zoomFactor ) { |
1231 | var localPt; | 1239 | var localPt; |