Explorar el Código

following PR #13787 syntax modification

Nicolas Debeissat hace 7 años
padre
commit
ce698a5714
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      examples/js/loaders/SVGLoader.js

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

@@ -459,7 +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;
 
 		}