aboutsummaryrefslogtreecommitdiff
path: root/js/helper-classes/3D/view-utils.js
diff options
context:
space:
mode:
authorValerio Virgillito2012-02-29 12:10:57 -0800
committerValerio Virgillito2012-02-29 12:10:57 -0800
commit98d491f7e57ff5a9b091e332d7d1e81061e39efa (patch)
tree0ac2442f42d7709186306e464e072b8fd1e789ef /js/helper-classes/3D/view-utils.js
parent052d9805a6f0a3a90d6849eb94eabffb7ec26962 (diff)
parentd417b3315f1aa6dd52fea10cbf5f17a213ef8726 (diff)
downloadninja-98d491f7e57ff5a9b091e332d7d1e81061e39efa.tar.gz
Merge branch 'SnapManagerFixes' of https://github.com/mqg734/ninja-internal into integration-candidate
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)