Skip to content
This repository was archived by the owner on Mar 1, 2025. It is now read-only.

Commit d6c415e

Browse files
committed
BIM: Fixed IFC type icon
1 parent 57637b6 commit d6c415e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Mod/BIM/nativeifc/ifc_viewproviders.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ def getIcon(self):
7373
from PySide import QtCore, QtGui # lazy import
7474

7575
rclass = self.Object.IfcClass.replace("StandardCase","")
76+
rclass = self.Object.IfcClass.replace("Type","")
7677
ifcicon = ":/icons/IFC/" + rclass + ".svg"
7778
if QtCore.QFile.exists(ifcicon):
7879
if getattr(self, "ifcclass", "") != rclass:

0 commit comments

Comments
 (0)