diff options
Diffstat (limited to 'js/stage/stage.reel/stage.js')
-rwxr-xr-x | js/stage/stage.reel/stage.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/js/stage/stage.reel/stage.js b/js/stage/stage.reel/stage.js index 00b72490..3500b6a3 100755 --- a/js/stage/stage.reel/stage.js +++ b/js/stage/stage.reel/stage.js | |||
@@ -560,8 +560,7 @@ exports.Stage = Montage.create(Component, { | |||
560 | elt = this.application.ninja.currentDocument.GetElementFromPoint(point.x + this.scrollLeft,point.y + this.scrollTop); | 560 | elt = this.application.ninja.currentDocument.GetElementFromPoint(point.x + this.scrollLeft,point.y + this.scrollTop); |
561 | 561 | ||
562 | // workaround Chrome 3d bug | 562 | // workaround Chrome 3d bug |
563 | if(this.application.ninja.toolsData.selectedToolInstance._canSnap && this.application.ninja.currentDocument.inExclusion(elt) !== -1) | 563 | if(this.application.ninja.toolsData.selectedToolInstance._canSnap && this.application.ninja.currentDocument.inExclusion(elt) !== -1) { |
564 | { | ||
565 | return this._getElementUsingSnapping(point); | 564 | return this._getElementUsingSnapping(point); |
566 | } else { | 565 | } else { |
567 | return elt; | 566 | return elt; |
@@ -605,7 +604,7 @@ exports.Stage = Montage.create(Component, { | |||
605 | var selArray = new Array(); | 604 | var selArray = new Array(); |
606 | 605 | ||
607 | for(var i = 0; this.application.ninja.selectedElements[i];i++) { | 606 | for(var i = 0; this.application.ninja.selectedElements[i];i++) { |
608 | var curElement = this.application.ninja.selectedElements[i]._element; | 607 | var curElement = this.application.ninja.selectedElements[i]; |
609 | 608 | ||
610 | // Add element to array that is used to calculate 3d-bounding box of all elements | 609 | // Add element to array that is used to calculate 3d-bounding box of all elements |
611 | selArray.push( curElement ); | 610 | selArray.push( curElement ); |