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

Commit 9efa615

Browse files
yorikvanhavrechennes
authored andcommitted
BIM: Fixed shape loading - fixes FreeCAD#18391
1 parent 1955f28 commit 9efa615

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Mod/BIM/nativeifc/ifc_viewproviders.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ def switchShape(self):
245245
import Part # lazy loading
246246

247247
self.Object.Shape = Part.Shape()
248-
elif self.Object.ShapeMode == "Coin":
248+
else:
249249
self.Object.ShapeMode = "Shape"
250250
self.Object.Document.recompute()
251251
self.Object.ViewObject.DiffuseColor = self.Object.ViewObject.DiffuseColor

0 commit comments

Comments
 (0)