Arch: different icon for cloned windows
This commit is contained in:
@@ -811,6 +811,10 @@ class _ViewProviderWindow(ArchComponent.ViewProviderComponent):
|
||||
|
||||
def getIcon(self):
|
||||
import Arch_rc
|
||||
if hasattr(self,"Object"):
|
||||
if hasattr(self.Object,"CloneOf"):
|
||||
if self.Object.CloneOf:
|
||||
return ":/icons/Arch_Window_Clone.svg"
|
||||
return ":/icons/Arch_Window_Tree.svg"
|
||||
|
||||
def updateData(self,obj,prop):
|
||||
|
||||
@@ -23,6 +23,7 @@
|
||||
<file>icons/Arch_Structure_Tree.svg</file>
|
||||
<file>icons/Arch_Structure_Clone.svg</file>
|
||||
<file>icons/Arch_Window_Tree.svg</file>
|
||||
<file>icons/Arch_Window_Clone.svg</file>
|
||||
<file>icons/Arch_Axis.svg</file>
|
||||
<file>icons/Arch_Axis_Tree.svg</file>
|
||||
<file>icons/Arch_Roof.svg</file>
|
||||
|
||||
579
src/Mod/Arch/Resources/icons/Arch_Window_Clone.svg
Normal file
579
src/Mod/Arch/Resources/icons/Arch_Window_Clone.svg
Normal file
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 27 KiB |
Reference in New Issue
Block a user