mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-17 10:21:11 +00:00
Avoid virtual call in Animation dtor
This commit is contained in:
parent
b4794e8ca5
commit
8083df4567
@ -633,7 +633,7 @@ namespace MWRender
|
|||||||
|
|
||||||
Animation::~Animation()
|
Animation::~Animation()
|
||||||
{
|
{
|
||||||
setLightEffect(0.f);
|
Animation::setLightEffect(0.f);
|
||||||
|
|
||||||
if (mObjectRoot)
|
if (mObjectRoot)
|
||||||
mInsert->removeChild(mObjectRoot);
|
mInsert->removeChild(mObjectRoot);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user