Преглед на файлове

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;
 
 		}