mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-11 02:02:22 +00:00
Retain exact attribute counts in rdb as parsed
This commit is contained in:
@@ -96,6 +96,10 @@ void RocksDbSerializer::write_streaming_() {
|
||||
|
||||
IfcParse::InstanceStreamer streamer(input_filename);
|
||||
|
||||
// We do not want to coerce attribute counts here, because we want
|
||||
// to store exactly what is in the file for validation purposes
|
||||
streamer.coerce_attribute_count = false;
|
||||
|
||||
while (streamer) {
|
||||
auto inst = streamer.read_instance();
|
||||
if (inst) {
|
||||
|
||||
Reference in New Issue
Block a user