BIM: Fixed IFC type icon
This commit is contained in:
committed by
Yorik van Havre
parent
d0cf727b7a
commit
f1988bfd0b
@@ -73,6 +73,7 @@ class ifc_vp_object:
|
||||
from PySide import QtCore, QtGui # lazy import
|
||||
|
||||
rclass = self.Object.IfcClass.replace("StandardCase","")
|
||||
rclass = self.Object.IfcClass.replace("Type","")
|
||||
ifcicon = ":/icons/IFC/" + rclass + ".svg"
|
||||
if QtCore.QFile.exists(ifcicon):
|
||||
if getattr(self, "ifcclass", "") != rclass:
|
||||
|
||||
Reference in New Issue
Block a user