aboutsummaryrefslogtreecommitdiff
path: root/js/helper-classes/3D
diff options
context:
space:
mode:
Diffstat (limited to 'js/helper-classes/3D')
-rwxr-xr-xjs/helper-classes/3D/draw-utils.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/helper-classes/3D/draw-utils.js b/js/helper-classes/3D/draw-utils.js
index 75aa308c..9e9a2241 100755
--- a/js/helper-classes/3D/draw-utils.js
+++ b/js/helper-classes/3D/draw-utils.js
@@ -627,11 +627,11 @@ var DrawUtils = exports.DrawUtils = Montage.create(Component, {
627 { 627 {
628 value: function () 628 value: function ()
629 { 629 {
630 this.application.ninja.stage.clearGridCanvas();
630 if (!this.isDrawingGrid()) return; 631 if (!this.isDrawingGrid()) return;
631 632
632 var saveContext = this.getDrawingSurfaceElement(); 633 var saveContext = this.getDrawingSurfaceElement();
633 this.setDrawingSurfaceElement(this.application.ninja.stage.gridCanvas); 634 this.setDrawingSurfaceElement(this.application.ninja.stage.gridCanvas);
634 this.clear();
635 635
636 // 3 coordinate axes for the plane 636 // 3 coordinate axes for the plane
637 var zAxis = [this._workingPlane[0], this._workingPlane[1], this._workingPlane[2]]; 637 var zAxis = [this._workingPlane[0], this._workingPlane[1], this._workingPlane[2]];