aboutsummaryrefslogtreecommitdiff
path: root/js/panels
diff options
context:
space:
mode:
authorNivesh Rajbhandari2012-05-30 13:38:39 -0700
committerNivesh Rajbhandari2012-05-30 13:38:39 -0700
commit752f76fa464e2c9e48b4a0e5429a5b8062c00b39 (patch)
treeb0f9349c6d3a6b1ce6ea7a913f0a632789257001 /js/panels
parentdd8a94c4ef0ccf19c332dd0a0c56fb8249aea63b (diff)
downloadninja-752f76fa464e2c9e48b4a0e5429a5b8062c00b39.tar.gz
PI's 3d section was not binding correctly to the current document.
Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
Diffstat (limited to 'js/panels')
-rwxr-xr-xjs/panels/properties.reel/properties.html5
-rwxr-xr-xjs/panels/properties.reel/sections/three-d-view.reel/three-d-view.js4
2 files changed, 8 insertions, 1 deletions
diff --git a/js/panels/properties.reel/properties.html b/js/panels/properties.reel/properties.html
index ac0dab5a..b9aa206b 100755
--- a/js/panels/properties.reel/properties.html
+++ b/js/panels/properties.reel/properties.html
@@ -56,7 +56,10 @@
56 } 56 }
57 }, 57 },
58 "threeDProperties": { 58 "threeDProperties": {
59 "prototype": "js/panels/properties.reel/sections/three-d-view.reel[ThreeD]" 59 "prototype": "js/panels/properties.reel/sections/three-d-view.reel[ThreeD]",
60 "bindings": {
61 "currentDocument": {"<-": "@owner.currentDocument"}
62 }
60 }, 63 },
61 64
62 "CustomSections": { 65 "CustomSections": {
diff --git a/js/panels/properties.reel/sections/three-d-view.reel/three-d-view.js b/js/panels/properties.reel/sections/three-d-view.reel/three-d-view.js
index 0320c327..49907c9d 100755
--- a/js/panels/properties.reel/sections/three-d-view.reel/three-d-view.js
+++ b/js/panels/properties.reel/sections/three-d-view.reel/three-d-view.js
@@ -198,6 +198,10 @@ exports.ThreeD = Montage.create(Component, {
198 } 198 }
199 }, 199 },
200 200
201 _currentDocument: {
202 value : null
203 },
204
201 currentDocument : { 205 currentDocument : {
202 get : function() { 206 get : function() {
203 return this._currentDocument; 207 return this._currentDocument;