Quellcode durchsuchen

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

qeeqez vor 4 Jahren
Ursprung
Commit
7de6e2976b
1 geänderte Dateien mit 1 neuen und 0 gelöschten Zeilen
  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 );