浏览代码

Restore missing fill-rule (#22511) (#22597)

qeeqez 3 年之前
父节点
当前提交
7de6e2976b
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      examples/jsm/loaders/SVGLoader.js

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

@@ -1007,6 +1007,7 @@ class SVGLoader extends Loader {
 
 			addStyle( 'fill', 'fill' );
 			addStyle( 'fill-opacity', 'fillOpacity', clamp );
+			addStyle( 'fill-rule', 'fillRule' );
 			addStyle( 'opacity', 'opacity', clamp );
 			addStyle( 'stroke', 'stroke' );
 			addStyle( 'stroke-opacity', 'strokeOpacity', clamp );