浏览代码

Add visibility SVG attribute

Maciek Jurczyk 5 年之前
父节点
当前提交
908f0edf00
共有 1 个文件被更改,包括 1 次插入0 次删除
  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;