From e3e2de7f7b8149d6e0f0c460229fda734e7f63b0 Mon Sep 17 00:00:00 2001 From: AzaezelX Date: Mon, 7 Jun 2021 15:03:23 -0500 Subject: [PATCH] connects staticshape::unmount to the parent chain so it can actually do so --- Engine/source/T3D/staticShape.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Engine/source/T3D/staticShape.cpp b/Engine/source/T3D/staticShape.cpp index 7e926157c..f23e67ee3 100644 --- a/Engine/source/T3D/staticShape.cpp +++ b/Engine/source/T3D/staticShape.cpp @@ -260,8 +260,9 @@ void StaticShape::setTransform(const MatrixF& mat) setMaskBits(PositionMask); } -void StaticShape::onUnmount(SceneObject*,S32) +void StaticShape::onUnmount(SceneObject* obj, S32 node) { + Parent::onUnmount(obj, node); // Make sure the client get's the final server pos. setMaskBits(PositionMask); }