diff options
author | Nivesh Rajbhandari | 2012-05-11 10:59:59 -0700 |
---|---|---|
committer | Nivesh Rajbhandari | 2012-05-11 10:59:59 -0700 |
commit | 6abfeed78ddae26f04531cddbcb560451891c412 (patch) | |
tree | b68b4fa144b740fd4890de2447c463fd7d9eb812 | |
parent | 597fd83bf02d36240538a239d36ae77efdaf83bb (diff) | |
download | ninja-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-x | js/helper-classes/3D/view-utils.js | 2 |
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 | ///////////////////////////////////////////////////////// |