Pārlūkot izejas kodu

following PR #13787 syntax modification

Nicolas Debeissat 7 gadi atpakaļ
vecāks
revīzija
ce698a5714
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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;
 
 		}