mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-14 15:40:18 +00:00
Do not automatically loop animations
There are 0 length idle animations that break this
This commit is contained in:
parent
8fa1b56efc
commit
8720433fa9
@ -107,11 +107,6 @@ void CharacterController::markerEvent(const std::string &evt)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
|
||||||
{
|
|
||||||
if(evt.compare(ms, evt.length()-ms, "loop stop") == 0 || evt.compare(ms, evt.length()-ms, "stop") == 0)
|
|
||||||
mAnimation->play(mCurrentGroup, "loop start");
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user