Made mesh animating/skinning constant
Since it doesn't change any of the mesh proprieties Former-commit-id: 47eb21f234570d6ffe3af542029f2086744944b0
This commit is contained in:
@@ -221,7 +221,7 @@ bool NzSkeletalMesh::IsValid() const
|
||||
return m_impl != nullptr;
|
||||
}
|
||||
|
||||
void NzSkeletalMesh::Skin()
|
||||
void NzSkeletalMesh::Skin() const
|
||||
{
|
||||
#if NAZARA_UTILITY_SAFE
|
||||
if (!m_impl)
|
||||
@@ -234,7 +234,7 @@ void NzSkeletalMesh::Skin()
|
||||
Skin(m_parent->GetSkeleton());
|
||||
}
|
||||
|
||||
void NzSkeletalMesh::Skin(const NzSkeleton* skeleton)
|
||||
void NzSkeletalMesh::Skin(const NzSkeleton* skeleton) const
|
||||
{
|
||||
#if NAZARA_UTILITY_SAFE
|
||||
if (!m_impl)
|
||||
|
||||
Reference in New Issue
Block a user