diff options
author | Valerio Virgillito | 2012-05-30 23:02:46 -0700 |
---|---|---|
committer | Valerio Virgillito | 2012-05-30 23:02:46 -0700 |
commit | 66632a6e0de0998ff6d36abdaa8c3a546eada0f5 (patch) | |
tree | 1f53b248cbc81cb7e7a84dd009975ecb379f741e /js/panels/properties.reel/sections | |
parent | 0a769756547acb93346d8e1b4126931a78845255 (diff) | |
download | ninja-66632a6e0de0998ff6d36abdaa8c3a546eada0f5.tar.gz |
fixing the closing of documents
Signed-off-by: Valerio Virgillito <valerio@motorola.com>
Diffstat (limited to 'js/panels/properties.reel/sections')
-rwxr-xr-x | js/panels/properties.reel/sections/three-d-view.reel/three-d-view.js | 2 |
1 files changed, 1 insertions, 1 deletions
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 49907c9d..104d474d 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 | |||
@@ -213,7 +213,7 @@ exports.ThreeD = Montage.create(Component, { | |||
213 | 213 | ||
214 | this._currentDocument = value; | 214 | this._currentDocument = value; |
215 | 215 | ||
216 | if(this._currentDocument.currentView === "design") { | 216 | if(this._currentDocument && this._currentDocument.currentView === "design") { |
217 | // Save a reference of the pi inside the document view to be able to clear | 217 | // Save a reference of the pi inside the document view to be able to clear |
218 | Object.defineBinding(this, "item", { | 218 | Object.defineBinding(this, "item", { |
219 | boundObject: this, | 219 | boundObject: this, |