Skip to content

Commit c00b045

Browse files
authored
Fixes #7026. Do not set opacity to zero for polygon (#7120)
1 parent f7da54c commit c00b045

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

OMCompiler/Examples/generate_icons.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -773,7 +773,6 @@ def getSvgFromGraphics(dwg, graphics, minX, maxY, includeInvisibleText, transfor
773773
shape.push(x_12, y_12, x_n, y_n, x_n, y_n)
774774
else:
775775
shape = dwg.polygon([getCoordinates([x, y], graphics, minX, maxY, transformation, coordinateSystem) for (x, y) in graphics['points']])
776-
shape.fill('none', opacity=0)
777776
else:
778777
logger.error('Not handled: {0}'.format(graphics))
779778
return None

0 commit comments

Comments
 (0)