Skip to content

Commit

Permalink
Fixed Object::resolvedProperties
Browse files Browse the repository at this point in the history
By accident it was only returning the inherited properties.
  • Loading branch information
bjorn committed Jan 16, 2025
1 parent ca72768 commit d7497ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libtiled/object.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ QVariant Object::resolvedProperty(const QString &name) const

QVariantMap Object::resolvedProperties() const
{
QVariantMap allProperties;
Tiled::mergeProperties(allProperties, inheritedProperties());
QVariantMap allProperties(inheritedProperties());
Tiled::mergeProperties(allProperties, properties());
return allProperties;
}

Expand Down

0 comments on commit d7497ae

Please sign in to comment.