mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-05-02 08:49:20 -05:00
Allowing PropertyOwners to have an empty name (pulling their properties and subowners into the owners namespace
This commit is contained in:
@@ -75,7 +75,8 @@ std::string Property::fullyQualifiedIdentifier() const {
|
||||
PropertyOwner* currentOwner = owner();
|
||||
while (currentOwner) {
|
||||
std::string ownerId = currentOwner->name();
|
||||
identifier = ownerId + "." + identifier;
|
||||
if (!ownerId.empty())
|
||||
identifier = ownerId + "." + identifier;
|
||||
currentOwner = currentOwner->owner();
|
||||
}
|
||||
return identifier;
|
||||
|
||||
Reference in New Issue
Block a user