We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 02145fe + 693be12 commit 09c96d3Copy full SHA for 09c96d3
examples/js/loaders/SVGLoader.js
@@ -149,7 +149,7 @@ THREE.SVGLoader.prototype = {
149
numbers[ 2 ],
150
numbers[ 3 ],
151
numbers[ 4 ],
152
- numbers[ 5 ],
+ numbers[ 5 ]
153
);
154
control.x = numbers[ 2 ];
155
control.y = numbers[ 3 ];
@@ -249,7 +249,7 @@ THREE.SVGLoader.prototype = {
249
point.x + numbers[ 2 ],
250
point.y + numbers[ 3 ],
251
point.x + numbers[ 4 ],
252
- point.y + numbers[ 5 ],
+ point.y + numbers[ 5 ]
253
254
point.x += numbers[ 4 ];
255
point.y += numbers[ 5 ];
@@ -459,7 +459,7 @@ THREE.SVGLoader.prototype = {
459
460
function parseStyle( node, style ) {
461
462
- style.fill = node.style.fill;
+ if ( node.style.fill !== '' ) style.fill = node.style.fill;
463
464
}
465
0 commit comments