mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-05-09 03:57:51 +03:00
Avoid virtual call in Animation dtor
This commit is contained in:
parent
b4794e8ca5
commit
8083df4567
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue