Skip to content

Commit

Permalink
Draft: new ShapeString icon for the tree view
Browse files Browse the repository at this point in the history
  • Loading branch information
vocx-fc authored and yorikvanhavre committed Apr 13, 2020
1 parent 4045b2f commit 7562313
Show file tree
Hide file tree
Showing 3 changed files with 273 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Mod/Draft/Draft.py
Expand Up @@ -3299,6 +3299,8 @@ def getIcon(self):
return ":/icons/Draft_N-Polygon.svg"
elif tp in ('Circle', 'Ellipse', 'BSpline', 'BezCurve', 'Fillet'):
return ":/icons/Draft_N-Curve.svg"
elif tp in ("ShapeString"):
return ":/icons/Draft_ShapeString_tree.svg"
else:
return ":/icons/Draft_Draft.svg"

Expand Down
1 change: 1 addition & 0 deletions src/Mod/Draft/Resources/Draft.qrc
Expand Up @@ -66,6 +66,7 @@
<file>icons/Draft_SelectGroup.svg</file>
<file>icons/Draft_SelectPlane.svg</file>
<file>icons/Draft_ShapeString.svg</file>
<file>icons/Draft_ShapeString_tree.svg</file>
<file>icons/Draft_Slope.svg</file>
<file>icons/Draft_Snap.svg</file>
<file>icons/Draft_Split.svg</file>
Expand Down
270 changes: 270 additions & 0 deletions src/Mod/Draft/Resources/icons/Draft_ShapeString_tree.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 7562313

Please sign in to comment.