mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-09 14:33:48 +02:00
flag entity as changed when changing simulatorID
This commit is contained in:
parent
91a2f86482
commit
959f924b1d
1 changed files with 1 additions and 0 deletions
|
@ -652,6 +652,7 @@ int EntityItem::readEntityDataFromBuffer(const unsigned char* data, int bytesLef
|
|||
}
|
||||
if (_simulationOwner.set(newSimOwner)) {
|
||||
_dirtyFlags |= Simulation::DIRTY_SIMULATOR_ID;
|
||||
somethingChanged = true;
|
||||
}
|
||||
}
|
||||
{ // When we own the simulation we don't accept updates to the entity's transform/velocities
|
||||
|
|
Loading…
Reference in a new issue