Browse Source

Add visibility SVG attribute

Maciek Jurczyk 5 years ago
parent
commit
908f0edf00
1 changed files with 1 additions and 0 deletions
  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-linejoin', 'strokeLineJoin' );
 			addStyle( 'stroke-linecap', 'strokeLineCap' );
 			addStyle( 'stroke-linecap', 'strokeLineCap' );
 			addStyle( 'stroke-miterlimit', 'strokeMiterLimit', positive );
 			addStyle( 'stroke-miterlimit', 'strokeMiterLimit', positive );
+			addStyle( 'visibility', 'visibility' );
 
 
 			return style;
 			return style;