mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-06 07:14:55 +08:00
Merge branch '4.1' into 4.2-beta
This commit is contained in:
commit
649744640c
@ -110,7 +110,7 @@ namespace spine {
|
||||
|
||||
Vector<Timeline *> &getTimelines();
|
||||
|
||||
bool hasTimeline(Vector<PropertyId> ids);
|
||||
bool hasTimeline(Vector<PropertyId> &ids);
|
||||
|
||||
float getDuration();
|
||||
|
||||
|
||||
@ -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;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user