diff options
Diffstat (limited to 'js/stage/layout.js')
-rwxr-xr-x | js/stage/layout.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/js/stage/layout.js b/js/stage/layout.js index 71959f86..460c8b4a 100755 --- a/js/stage/layout.js +++ b/js/stage/layout.js | |||
@@ -62,7 +62,7 @@ exports.Layout = Montage.create(Component, { | |||
62 | value: function() { | 62 | value: function() { |
63 | // Initial elements to draw are the childrens of the root element | 63 | // Initial elements to draw are the childrens of the root element |
64 | if(this.application.ninja.documentController.activeDocument.currentView === "design") { | 64 | if(this.application.ninja.documentController.activeDocument.currentView === "design") { |
65 | this.elementsToDraw = this.application.ninja.documentController.activeDocument.documentRoot.childNodes; | 65 | this.elementsToDraw = this.application.ninja.documentController.activeDocument.model.documentRoot.childNodes; |
66 | } | 66 | } |
67 | } | 67 | } |
68 | }, | 68 | }, |
@@ -237,7 +237,7 @@ exports.Layout = Montage.create(Component, { | |||
237 | value: function() { | 237 | value: function() { |
238 | if(this.application.ninja.currentDocument) { | 238 | if(this.application.ninja.currentDocument) { |
239 | this.clearCanvas(); | 239 | this.clearCanvas(); |
240 | this.WalkDOM(this.application.ninja.currentDocument.documentRoot); | 240 | this.WalkDOM(this.application.ninja.currentDocument.model.documentRoot); |
241 | 241 | ||
242 | //drawUtils.updatePlanes(); | 242 | //drawUtils.updatePlanes(); |
243 | //if(this.application.ninja.currentDocument.draw3DGrid) drawUtils.drawWorkingPlane(); | 243 | //if(this.application.ninja.currentDocument.draw3DGrid) drawUtils.drawWorkingPlane(); |
@@ -249,7 +249,7 @@ exports.Layout = Montage.create(Component, { | |||
249 | drawElementsOutline: { | 249 | drawElementsOutline: { |
250 | value: function(elements) { | 250 | value: function(elements) { |
251 | this.clearCanvas(); | 251 | this.clearCanvas(); |
252 | this.WalkDOM(this.application.ninja.currentDocument.documentRoot, elements); | 252 | this.WalkDOM(this.application.ninja.currentDocument.model.documentRoot, elements); |
253 | } | 253 | } |
254 | }, | 254 | }, |
255 | 255 | ||