Skip to content

Commit

Permalink
Fix isUsingLegacyInstancesRenderer attribute not being read (#7210)
Browse files Browse the repository at this point in the history
- only show in dev changelog
  • Loading branch information
D8H authored Nov 29, 2024
1 parent a4f7aa6 commit 689bc01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Core/GDCore/Project/EventsBasedObject.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ void EventsBasedObject::UnserializeFrom(gd::Project& project,
}

initialInstances.UnserializeFrom(element.GetChild("instances"));
if (element.HasAttribute("isUsingLegacyInstancesRenderer")) {
if (element.HasChild("isUsingLegacyInstancesRenderer")) {
isUsingLegacyInstancesRenderer =
element.GetBoolAttribute("isUsingLegacyInstancesRenderer", false);
}
Expand Down

0 comments on commit 689bc01

Please sign in to comment.