Bläddra i källkod

following PR #13787 syntax modification

Nicolas Debeissat 7 år sedan
förälder
incheckning
b4a969b52c
1 ändrade filer med 1 tillägg och 3 borttagningar
  1. 1 3
      examples/js/loaders/SVGLoader.js

+ 1 - 3
examples/js/loaders/SVGLoader.js

@@ -459,9 +459,7 @@ THREE.SVGLoader.prototype = {
 
 		function parseStyle( node, style ) {
 
-			if (node.style.fill != '') {
-				style.fill = node.style.fill;
-			}
+			if (node.style.fill != '') style.fill = node.style.fill
 
 		}