Fixed bounding volume not being updated
Former-commit-id: 809faf0ed66916b1598cca11f749b31961f2e184
This commit is contained in:
parent
6cd6bc8ab8
commit
433c36f176
|
|
@ -474,6 +474,7 @@ void NzModel::SetMesh(NzMesh* mesh)
|
||||||
|
|
||||||
if (m_mesh)
|
if (m_mesh)
|
||||||
{
|
{
|
||||||
|
m_boundingVolume.MakeNull();
|
||||||
m_boundingVolumeUpdated = false;
|
m_boundingVolumeUpdated = false;
|
||||||
|
|
||||||
if (m_mesh->GetAnimationType() == nzAnimationType_Skeletal)
|
if (m_mesh->GetAnimationType() == nzAnimationType_Skeletal)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue