mirror of
https://github.com/lubosz/overte.git
synced 2025-04-09 13:12:57 +02:00
Merge pull request #13585 from thoys/fix/animationFPSChanging
MS14979: Fix Animation FPS changeability
This commit is contained in:
commit
a8c2f9c861
1 changed files with 4 additions and 1 deletions
|
@ -22,13 +22,14 @@ const float AnimationPropertyGroup::MAXIMUM_POSSIBLE_FRAME = 100000.0f;
|
|||
|
||||
bool operator==(const AnimationPropertyGroup& a, const AnimationPropertyGroup& b) {
|
||||
return
|
||||
|
||||
(a._currentFrame == b._currentFrame) &&
|
||||
(a._running == b._running) &&
|
||||
(a._loop == b._loop) &&
|
||||
(a._hold == b._hold) &&
|
||||
(a._firstFrame == b._firstFrame) &&
|
||||
(a._lastFrame == b._lastFrame) &&
|
||||
(a._fps == b._fps) &&
|
||||
(a._allowTranslation == b._allowTranslation) &&
|
||||
(a._url == b._url);
|
||||
}
|
||||
|
||||
|
@ -40,6 +41,8 @@ bool operator!=(const AnimationPropertyGroup& a, const AnimationPropertyGroup& b
|
|||
(a._hold != b._hold) ||
|
||||
(a._firstFrame != b._firstFrame) ||
|
||||
(a._lastFrame != b._lastFrame) ||
|
||||
(a._fps != b._fps) ||
|
||||
(a._allowTranslation != b._allowTranslation) ||
|
||||
(a._url != b._url);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue