Fixed error message
Former-commit-id: f07c8fe20e7e11d49da8c114cdf518bf04484855
This commit is contained in:
parent
bdb7703ab2
commit
49ac00f28d
|
|
@ -181,7 +181,6 @@ bool NzMesh::Create(nzAnimationType type)
|
||||||
m_impl->animationType = type;
|
m_impl->animationType = type;
|
||||||
|
|
||||||
NotifyCreated();
|
NotifyCreated();
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -30,7 +30,7 @@ void NzSubMesh::Animate(unsigned int frameA, unsigned int frameB, float interpol
|
||||||
#if NAZARA_UTILITY_SAFE
|
#if NAZARA_UTILITY_SAFE
|
||||||
if (!m_parent->HasAnimation())
|
if (!m_parent->HasAnimation())
|
||||||
{
|
{
|
||||||
NazaraError("SubMesh has no animation");
|
NazaraError("Parent mesh has no animation");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue