Creates empty info if there is no properties
Subjective opinion that it makes it easier when all properties are filled 100% of a time, even if it means empty list. To check if after this change it actually creates "info": {} :)
This commit is contained in:
parent
c3a98096f2
commit
99797e6b09
@ -93,8 +93,7 @@ export class ExporterBim extends ExporterBase
|
||||
info[property.name] = PropertyToString (property);
|
||||
}
|
||||
}
|
||||
if (Object.keys (info).length !== 0) {
|
||||
targetObject.info = info;
|
||||
}
|
||||
|
||||
targetObject.info = info;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user