mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-28 00:29:34 +00:00
Merge pull request #490 from Azaezel/alpha40/StaticShapeUnmountFix
connects staticshape::unmount to the parent chain so it can actually do so
This commit is contained in:
commit
db4f4984ca
1 changed files with 2 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue