aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNivesh Rajbhandari2012-05-11 10:59:59 -0700
committerNivesh Rajbhandari2012-05-11 10:59:59 -0700
commit6abfeed78ddae26f04531cddbcb560451891c412 (patch)
treeb68b4fa144b740fd4890de2447c463fd7d9eb812
parent597fd83bf02d36240538a239d36ae77efdaf83bb (diff)
downloadninja-6abfeed78ddae26f04531cddbcb560451891c412.tar.gz
Checked/Unchecked 'Use WebGL' checkbox in PI throws error in view-utils..
Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
-rwxr-xr-xjs/helper-classes/3D/view-utils.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/js/helper-classes/3D/view-utils.js b/js/helper-classes/3D/view-utils.js
index 5dc099ee..6da6de0e 100755
--- a/js/helper-classes/3D/view-utils.js
+++ b/js/helper-classes/3D/view-utils.js
@@ -359,11 +359,9 @@ exports.ViewUtils = Montage.create(Component, {
359 { 359 {
360 pt = this.childToParent( pt, child ); 360 pt = this.childToParent( pt, child );
361 361
362// if (parent === this._rootElement) break;
363 if (child === this._stageElement) break; 362 if (child === this._stageElement) break;
364 363
365 child = parent; 364 child = parent;
366 parent = parent.offsetParent;
367 } 365 }
368 366
369 ///////////////////////////////////////////////////////// 367 /////////////////////////////////////////////////////////