aboutsummaryrefslogtreecommitdiff
path: root/js/helper-classes/3D/view-utils.js
diff options
context:
space:
mode:
authorAnanya Sen2012-02-29 14:53:13 -0800
committerAnanya Sen2012-02-29 14:53:13 -0800
commit5d4f1aad01737695238582c704e6d4f2c3a2f317 (patch)
treebf202a3432e3cfa928a57ee80d54af91b9e2509a /js/helper-classes/3D/view-utils.js
parentccedeef38d6eb2e55d1782b82401828f3c99dd9c (diff)
parent551e1f2be11e9e6ab7af17816396b88aafd57dff (diff)
downloadninja-5d4f1aad01737695238582c704e6d4f2c3a2f317.tar.gz
Merge branch 'refs/heads/ninja-internal-master' into FileIO
Diffstat (limited to 'js/helper-classes/3D/view-utils.js')
-rwxr-xr-xjs/helper-classes/3D/view-utils.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/js/helper-classes/3D/view-utils.js b/js/helper-classes/3D/view-utils.js
index bedda8bf..c1f59397 100755
--- a/js/helper-classes/3D/view-utils.js
+++ b/js/helper-classes/3D/view-utils.js
@@ -580,7 +580,8 @@ exports.ViewUtils = Montage.create(Component, {
580 if (elt.style.height) h = MathUtils.styleToNumber(elt.style.height); 580 if (elt.style.height) h = MathUtils.styleToNumber(elt.style.height);
581 } 581 }
582 582
583 if (elt instanceof SVGSVGElement) { 583// if (elt instanceof SVGSVGElement) {
584 if(elt.nodeName.toLowerCase() === "svg") {
584 if(w instanceof SVGAnimatedLength) 585 if(w instanceof SVGAnimatedLength)
585 w = w.animVal.value; 586 w = w.animVal.value;
586 if(h instanceof SVGAnimatedLength) 587 if(h instanceof SVGAnimatedLength)