From 785d2e601c2399cb328597b97ae60bc0c237d507 Mon Sep 17 00:00:00 2001 From: Thomas Krijnen Date: Wed, 15 Feb 2023 09:52:21 +0100 Subject: [PATCH] Fix after 31cf1127a6f22cc3e1f218bd339191ac67b1ccaf --- src/ifcopenshell-python/ifcopenshell/entity_instance.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ifcopenshell-python/ifcopenshell/entity_instance.py b/src/ifcopenshell-python/ifcopenshell/entity_instance.py index e657f2523e..82b5dcbff2 100644 --- a/src/ifcopenshell-python/ifcopenshell/entity_instance.py +++ b/src/ifcopenshell-python/ifcopenshell/entity_instance.py @@ -476,6 +476,8 @@ class entity_instance(object): continue attr_value = self[i] + to_include = {'v': True} + if recursive or scalar_only: def is_instance(e): @@ -490,8 +492,6 @@ class entity_instance(object): ignore=ignore, ) - to_include = {'v': True} - def do_ignore(inst): to_include['v'] = False return None