Merge branch '4.1' into 4.2-beta

This commit is contained in:
Mario Zechner 2022-10-14 12:07:13 +02:00
commit 649744640c
2 changed files with 2 additions and 2 deletions

View File

@ -110,7 +110,7 @@ namespace spine {
Vector<Timeline *> &getTimelines();
bool hasTimeline(Vector<PropertyId> ids);
bool hasTimeline(Vector<PropertyId> &ids);
float getDuration();

View File

@ -50,7 +50,7 @@ Animation::Animation(const String &name, Vector<Timeline *> &timelines, float du
}
}
bool Animation::hasTimeline(Vector<PropertyId> ids) {
bool Animation::hasTimeline(Vector<PropertyId> &ids) {
for (size_t i = 0; i < ids.size(); i++) {
if (_timelineIds.containsKey(ids[i])) return true;
}