Skip to content

Commit

Permalink
Arch: ArchCommands, change the color of the vertices of the subcompon…
Browse files Browse the repository at this point in the history
…ent when using Arch Remove, just like the line color and shape color are changed.
  • Loading branch information
vocx-fc authored and yorikvanhavre committed Oct 7, 2019
1 parent 834f977 commit 2f06dec
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Mod/Arch/ArchCommands.py
Expand Up @@ -275,6 +275,8 @@ def setAsSubcomponent(obj):
color = getDefaultColor("Construction")
if hasattr(obj.ViewObject,"LineColor"):
obj.ViewObject.LineColor = color
if hasattr(obj.ViewObject, "PointColor"):
obj.ViewObject.PointColor = color
if hasattr(obj.ViewObject,"ShapeColor"):
obj.ViewObject.ShapeColor = color
if hasattr(obj.ViewObject,"Transparency"):
Expand Down

0 comments on commit 2f06dec

Please sign in to comment.