diff options
author | Jose Antonio Marquez Russo | 2012-02-23 15:28:23 -0800 |
---|---|---|
committer | Jose Antonio Marquez Russo | 2012-02-23 15:28:23 -0800 |
commit | 9a757cbbb19bba27a86060fd2d550a81f5ec71b4 (patch) | |
tree | f18c1eed05e296a1a5b7cbf57ebd2499f11529d8 /js/helper-classes/3D | |
parent | ad7ae032bc55198e16a02dc75aa15303c033ea58 (diff) | |
parent | 26bb2894c29d4608e843de01829d352dd3d00823 (diff) | |
download | ninja-9a757cbbb19bba27a86060fd2d550a81f5ec71b4.tar.gz |
Merge pull request #17 from ericmueller/integration
Integration
Diffstat (limited to 'js/helper-classes/3D')
-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; |