mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-30 12:09:51 +00:00
Update IfcParse.cpp #4998
This commit is contained in:
@@ -1147,10 +1147,11 @@ std::string IfcEntityInstanceData::toString(bool upper) const {
|
|||||||
ss << ",";
|
ss << ",";
|
||||||
}
|
}
|
||||||
if (attributes_[i] == 0) {
|
if (attributes_[i] == 0) {
|
||||||
if (type_->as_entity()->derived()[i])
|
if (type_->as_entity() != nullptr && type_->as_entity()->derived()[i]) {
|
||||||
ss << "*";
|
ss << "*";
|
||||||
else
|
} else {
|
||||||
ss << "$";
|
ss << "$";
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
ss << attributes_[i]->toString(upper);
|
ss << attributes_[i]->toString(upper);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user