mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-19 20:24:49 +00:00
Mount Process Order Fix 2
Added a check to SceneObject::setProcessTick() to prevent objects that have mounts from being removed from the process list so the processAfter chain of the mounted objects is not broken.
This commit is contained in:
parent
8250e4728d
commit
172e62a8f1
|
|
@ -945,7 +945,8 @@ void SceneObject::setProcessTick( bool t )
|
|||
|
||||
if ( mProcessTick )
|
||||
{
|
||||
plUnlink();
|
||||
if ( !getMountedObjectCount() )
|
||||
plUnlink(); // Only unlink if there is nothing mounted to us
|
||||
mProcessTick = false;
|
||||
}
|
||||
else
|
||||
|
|
|
|||
Loading…
Reference in a new issue