@@ -328,7 +328,7 @@ THREE.SVGRenderer = function () {
328328
329329 if ( material instanceof THREE . LineBasicMaterial ) {
330330
331- _svgNode . setAttribute ( 'style' , 'fill: none; stroke: ' + material . color . getContextStyle ( ) + '; stroke-width: ' + material . linewidth + '; stroke-opacity: ' + material . opacity + '; stroke-linecap: ' + material . linecap + '; stroke-linejoin: ' + material . linejoin ) ;
331+ _svgNode . setAttribute ( 'style' , 'fill: none; stroke: ' + material . color . getStyle ( ) + '; stroke-width: ' + material . linewidth + '; stroke-opacity: ' + material . opacity + '; stroke-linecap: ' + material . linecap + '; stroke-linejoin: ' + material . linejoin ) ;
332332
333333 _svg . appendChild ( _svgNode ) ;
334334
@@ -400,11 +400,11 @@ THREE.SVGRenderer = function () {
400400
401401 if ( material . wireframe ) {
402402
403- _svgNode . setAttribute ( 'style' , 'fill: none; stroke: ' + _color . getContextStyle ( ) + '; stroke-width: ' + material . wireframeLinewidth + '; stroke-opacity: ' + material . opacity + '; stroke-linecap: ' + material . wireframeLinecap + '; stroke-linejoin: ' + material . wireframeLinejoin ) ;
403+ _svgNode . setAttribute ( 'style' , 'fill: none; stroke: ' + _color . getStyle ( ) + '; stroke-width: ' + material . wireframeLinewidth + '; stroke-opacity: ' + material . opacity + '; stroke-linecap: ' + material . wireframeLinecap + '; stroke-linejoin: ' + material . wireframeLinejoin ) ;
404404
405405 } else {
406406
407- _svgNode . setAttribute ( 'style' , 'fill: ' + _color . getContextStyle ( ) + '; fill-opacity: ' + material . opacity ) ;
407+ _svgNode . setAttribute ( 'style' , 'fill: ' + _color . getStyle ( ) + '; fill-opacity: ' + material . opacity ) ;
408408
409409 }
410410
@@ -476,11 +476,11 @@ THREE.SVGRenderer = function () {
476476
477477 if ( material . wireframe ) {
478478
479- _svgNode . setAttribute ( 'style' , 'fill: none; stroke: ' + _color . getContextStyle ( ) + '; stroke-width: ' + material . wireframeLinewidth + '; stroke-opacity: ' + material . opacity + '; stroke-linecap: ' + material . wireframeLinecap + '; stroke-linejoin: ' + material . wireframeLinejoin ) ;
479+ _svgNode . setAttribute ( 'style' , 'fill: none; stroke: ' + _color . getStyle ( ) + '; stroke-width: ' + material . wireframeLinewidth + '; stroke-opacity: ' + material . opacity + '; stroke-linecap: ' + material . wireframeLinecap + '; stroke-linejoin: ' + material . wireframeLinejoin ) ;
480480
481481 } else {
482482
483- _svgNode . setAttribute ( 'style' , 'fill: ' + _color . getContextStyle ( ) + '; fill-opacity: ' + material . opacity ) ;
483+ _svgNode . setAttribute ( 'style' , 'fill: ' + _color . getStyle ( ) + '; fill-opacity: ' + material . opacity ) ;
484484
485485 }
486486
0 commit comments