Skip to content

Commit

Permalink
Fixes #7026. Do not set opacity to zero for polygon (#7120)
Browse files Browse the repository at this point in the history
  • Loading branch information
adeas31 committed Feb 1, 2021
1 parent f7da54c commit c00b045
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion OMCompiler/Examples/generate_icons.py
Expand Up @@ -773,7 +773,6 @@ def getSvgFromGraphics(dwg, graphics, minX, maxY, includeInvisibleText, transfor
shape.push(x_12, y_12, x_n, y_n, x_n, y_n)
else:
shape = dwg.polygon([getCoordinates([x, y], graphics, minX, maxY, transformation, coordinateSystem) for (x, y) in graphics['points']])
shape.fill('none', opacity=0)
else:
logger.error('Not handled: {0}'.format(graphics))
return None
Expand Down

0 comments on commit c00b045

Please sign in to comment.