Преглед изворни кода

following PR #13787 syntax modification

Nicolas Debeissat пре 7 година
родитељ
комит
693be12514
1 измењених фајлова са 1 додато и 1 уклоњено
  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;
 
 		}