소스 검색

following PR #13787 syntax modification

Nicolas Debeissat 7 년 전
부모
커밋
b4a969b52c
1개의 변경된 파일1개의 추가작업 그리고 3개의 파일을 삭제
  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
 
 		}