Arch: Enabled clone icon for spaces

This commit is contained in:
Yorik van Havre
2019-04-18 19:15:39 -03:00
parent ec1830dfb8
commit 9ae362e05e
3 changed files with 742 additions and 0 deletions

View File

@@ -516,6 +516,10 @@ class _ViewProviderSpace(ArchComponent.ViewProviderComponent):
def getIcon(self):
import Arch_rc
if hasattr(self,"Object"):
if hasattr(self.Object,"CloneOf"):
if self.Object.CloneOf:
return ":/icons/Arch_Space_Clone.svg"
return ":/icons/Arch_Space_Tree.svg"
def attach(self,vobj):

View File

@@ -39,6 +39,7 @@
<file>icons/Arch_Fixture.svg</file>
<file>icons/Arch_Space.svg</file>
<file>icons/Arch_Space_Tree.svg</file>
<file>icons/Arch_Space_Clone.svg</file>
<file>icons/Arch_Stairs.svg</file>
<file>icons/Arch_Stairs_Tree.svg</file>
<file>icons/Arch_Rebar.svg</file>

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 34 KiB