mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 09:21:46 +00:00
emits * for derived entities instead of $
Validation service 0.6.4 started giving errors for entities with derived types where $ was used. The correct coding is *.
This commit is contained in:
@@ -1147,7 +1147,10 @@ std::string IfcEntityInstanceData::toString(bool upper) const {
|
||||
ss << ",";
|
||||
}
|
||||
if (attributes_[i] == 0) {
|
||||
ss << "$";
|
||||
if (type_->as_entity()->derived()[i])
|
||||
ss << "*";
|
||||
else
|
||||
ss << "$";
|
||||
} else {
|
||||
ss << attributes_[i]->toString(upper);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user