Core/Node: Make destructor lighter
This commit is contained in:
parent
e4c339293b
commit
66e3734942
|
|
@ -19,7 +19,8 @@ namespace Nz
|
||||||
child->OnParenting(nullptr);
|
child->OnParenting(nullptr);
|
||||||
}
|
}
|
||||||
|
|
||||||
SetParent(nullptr);
|
if (m_parent)
|
||||||
|
m_parent->RemoveChild(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
Node& Node::Interpolate(const Node& nodeA, const Node& nodeB, float interpolation, CoordSys coordSys, Invalidation invalidation)
|
Node& Node::Interpolate(const Node& nodeA, const Node& nodeB, float interpolation, CoordSys coordSys, Invalidation invalidation)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue