Bläddra i källkod

Update SVGLoader.js

BTEVC 6 år sedan
förälder
incheckning
dfdf924253
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      examples/js/loaders/SVGLoader.js

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

@@ -701,7 +701,7 @@ THREE.SVGLoader.prototype = {
 			if ( node.style.fill !== '' ) style.fill = node.style.fill;
 			if ( node.style.fill !== '' ) style.fill = node.style.fill;
 
 
 			if ( node.hasAttribute( 'fill-opacity' ) ) style.fillOpacity = node.getAttribute( 'fill-opacity' );
 			if ( node.hasAttribute( 'fill-opacity' ) ) style.fillOpacity = node.getAttribute( 'fill-opacity' );
-      if ( node.style.fillOpacity !== '' ) style.fillOpacity = node.style.fillOpacity;
+			if ( node.style.fillOpacity !== '' ) style.fillOpacity = node.style.fillOpacity;
 
 
 			return style;
 			return style;