Ver Fonte

Add visibility SVG attribute

Maciek Jurczyk há 6 anos atrás
pai
commit
908f0edf00
1 ficheiros alterados com 1 adições e 0 exclusões
  1. 1 0
      examples/js/loaders/SVGLoader.js

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

@@ -884,6 +884,7 @@ THREE.SVGLoader.prototype = Object.assign( Object.create( THREE.Loader.prototype
 			addStyle( 'stroke-linejoin', 'strokeLineJoin' );
 			addStyle( 'stroke-linecap', 'strokeLineCap' );
 			addStyle( 'stroke-miterlimit', 'strokeMiterLimit', positive );
+			addStyle( 'visibility', 'visibility' );
 
 			return style;
 

粤ICP备19079148号