We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f921b65 commit 882e0a4Copy full SHA for 882e0a4
1 file changed
src/ifcgeom/mapping/bind_convert_impl.i
@@ -8,7 +8,9 @@
8
try { \
9
item = map_impl(inst->as<IfcSchema::T>()); \
10
if (item != nullptr) { \
11
- item->instance = inst; \
+ if (!(item->instance && inst->as<IfcSchema::IfcMaterial>())) { \
12
+ item->instance = inst; \
13
+ } \
14
15
if (inst->as<IfcSchema::IfcRepresentationItem>() && !inst->as<IfcSchema::IfcStyledItem>() && \
16
/* @todo */ \
0 commit comments