From 759a5a6b86d291c6242fedd83f299fed18a1d66b Mon Sep 17 00:00:00 2001 From: Dion Moult Date: Tue, 11 Apr 2023 21:50:06 +1000 Subject: [PATCH] Fix bug where invalidly mapped representations shouldn't be edited. --- src/blenderbim/blenderbim/tool/geometry.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/blenderbim/blenderbim/tool/geometry.py b/src/blenderbim/blenderbim/tool/geometry.py index 306684ee5f..6aeee4d942 100644 --- a/src/blenderbim/blenderbim/tool/geometry.py +++ b/src/blenderbim/blenderbim/tool/geometry.py @@ -274,7 +274,7 @@ class Geometry(blenderbim.core.tool.Geometry): @classmethod def is_meshlike(cls, representation): - if representation.RepresentationType in ( + if ifcopenshell.util.representation.resolve_representation(representation).RepresentationType in ( "AdvancedBrep", "Annotation2D", "BoundingBox",