Browse Source

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

qeeqez 3 years ago
parent
commit
7de6e2976b
1 changed files with 1 additions and 0 deletions
  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', 'fill' );
 			addStyle( 'fill-opacity', 'fillOpacity', clamp );
 			addStyle( 'fill-opacity', 'fillOpacity', clamp );
+			addStyle( 'fill-rule', 'fillRule' );
 			addStyle( 'opacity', 'opacity', clamp );
 			addStyle( 'opacity', 'opacity', clamp );
 			addStyle( 'stroke', 'stroke' );
 			addStyle( 'stroke', 'stroke' );
 			addStyle( 'stroke-opacity', 'strokeOpacity', clamp );
 			addStyle( 'stroke-opacity', 'strokeOpacity', clamp );