From cd965fd4a991132407e7665ff23806e244ed306e Mon Sep 17 00:00:00 2001 From: Thomas Krijnen Date: Sun, 3 Oct 2021 09:00:59 +0200 Subject: [PATCH] todo note re #1769 --- src/ifcparse/IfcParse.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ifcparse/IfcParse.cpp b/src/ifcparse/IfcParse.cpp index 107849f0ea..f64ebeaccb 100644 --- a/src/ifcparse/IfcParse.cpp +++ b/src/ifcparse/IfcParse.cpp @@ -2034,6 +2034,7 @@ void IfcFile::process_deletion_() { IfcWrite::IfcWriteArgument* copy = new IfcWrite::IfcWriteArgument(); instance_list->remove(entity); if (!instance_list->size() && related_instance->declaration().as_entity()->attribute_by_index(i)->optional()) { + // @todo we can also check the lower bound of the attribute type before setting to null. copy->set(boost::blank()); } else { copy->set(instance_list);