mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 01:41:57 +00:00
Correct setting attributes on lazily loaded instances
This commit is contained in:
@@ -41,6 +41,8 @@ HeaderEntity::HeaderEntity(const char * const datatype, IfcFile* file)
|
||||
if (file) {
|
||||
offset_in_file_ = file->stream->Tell();
|
||||
load_();
|
||||
} else {
|
||||
initialized_ = true;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user