forked from mirror/openmw-tes3mp
Use the correct priority of animation sources in getStartTime (Fixes #4263)
This commit is contained in:
parent
7245b251e8
commit
b8c25e6bff
1 changed files with 2 additions and 2 deletions
|
@ -625,7 +625,7 @@ namespace MWRender
|
||||||
|
|
||||||
float Animation::getStartTime(const std::string &groupname) const
|
float Animation::getStartTime(const std::string &groupname) const
|
||||||
{
|
{
|
||||||
for(AnimSourceList::const_iterator iter(mAnimSources.begin()); iter != mAnimSources.end(); ++iter)
|
for(AnimSourceList::const_reverse_iterator iter(mAnimSources.rbegin()); iter != mAnimSources.rend(); ++iter)
|
||||||
{
|
{
|
||||||
const NifOsg::TextKeyMap &keys = (*iter)->getTextKeys();
|
const NifOsg::TextKeyMap &keys = (*iter)->getTextKeys();
|
||||||
|
|
||||||
|
@ -638,7 +638,7 @@ namespace MWRender
|
||||||
|
|
||||||
float Animation::getTextKeyTime(const std::string &textKey) const
|
float Animation::getTextKeyTime(const std::string &textKey) const
|
||||||
{
|
{
|
||||||
for(AnimSourceList::const_iterator iter(mAnimSources.begin()); iter != mAnimSources.end(); ++iter)
|
for(AnimSourceList::const_reverse_iterator iter(mAnimSources.rbegin()); iter != mAnimSources.rend(); ++iter)
|
||||||
{
|
{
|
||||||
const NifOsg::TextKeyMap &keys = (*iter)->getTextKeys();
|
const NifOsg::TextKeyMap &keys = (*iter)->getTextKeys();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue