From 6a0a5f6e7dec5e8ced6e228e7bbfcc1181f46c26 Mon Sep 17 00:00:00 2001 From: Nivesh Rajbhandari Date: Wed, 20 Jun 2012 11:55:55 -0700 Subject: Fix for error when using ZoomTool. Signed-off-by: Nivesh Rajbhandari --- js/helper-classes/3D/draw-utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js/helper-classes') diff --git a/js/helper-classes/3D/draw-utils.js b/js/helper-classes/3D/draw-utils.js index 177c844f..8ddd0d52 100755 --- a/js/helper-classes/3D/draw-utils.js +++ b/js/helper-classes/3D/draw-utils.js @@ -309,7 +309,7 @@ var DrawUtils = exports.DrawUtils = Montage.create(Component, { } // TODO - Remove this once all stage drawing is consolidated into a single draw cycle - if(!isChanging) { + if(!isChanging && this.application.ninja.toolsData.selectedToolInstance.captureSelectionDrawn) { this.application.ninja.toolsData.selectedToolInstance.captureSelectionDrawn(null); } } -- cgit v1.2.3