diff options
author | Nivesh Rajbhandari | 2012-07-24 15:10:26 -0700 |
---|---|---|
committer | Nivesh Rajbhandari | 2012-07-24 15:10:26 -0700 |
commit | 793d34c6d0990cd6bafb2679b5c917017ed58cce (patch) | |
tree | d6bbf27ecae520672b7687effd23503f154f3108 /js/helper-classes/3D | |
parent | 98ff98171c1f4a551760a01109ce8f0a80f0c922 (diff) | |
download | ninja-793d34c6d0990cd6bafb2679b5c917017ed58cce.tar.gz |
IKNinja-1974 - Bounding box gets separated from elements when zooming in/out on banner and animation templates.
IN draw-util's element change handler, we need to check for elementModel.pi instead of elementModel.selection now that ninja-content reports its selection as "div" instead of "body".
Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
Diffstat (limited to 'js/helper-classes/3D')
-rwxr-xr-x | js/helper-classes/3D/draw-utils.js | 2 |
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 b59bbf39..11c27b03 100755 --- a/js/helper-classes/3D/draw-utils.js +++ b/js/helper-classes/3D/draw-utils.js | |||
@@ -326,7 +326,7 @@ var DrawUtils = exports.DrawUtils = Montage.create(Component, { | |||
326 | eltModel = elt.elementModel; | 326 | eltModel = elt.elementModel; |
327 | eltModel.setProperty("offsetCache", false); | 327 | eltModel.setProperty("offsetCache", false); |
328 | 328 | ||
329 | if(eltModel.selection !== "body") { | 329 | if(eltModel.pi !== "bodyPi") { |
330 | if(isChanging) { | 330 | if(isChanging) { |
331 | eltModel.props3D.matrix3d = null; | 331 | eltModel.props3D.matrix3d = null; |
332 | } else { | 332 | } else { |