mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 18:50:00 +02:00
fix for entity-server kinematic simulation
This commit is contained in:
parent
cc5f2ee451
commit
411bf1a35c
1 changed files with 1 additions and 0 deletions
|
@ -57,6 +57,7 @@ void SimpleEntitySimulation::removeEntityInternal(EntityItem* entity) {
|
||||||
const int SIMPLE_SIMULATION_DIRTY_FLAGS = EntityItem::DIRTY_VELOCITIES | EntityItem::DIRTY_MOTION_TYPE;
|
const int SIMPLE_SIMULATION_DIRTY_FLAGS = EntityItem::DIRTY_VELOCITIES | EntityItem::DIRTY_MOTION_TYPE;
|
||||||
|
|
||||||
void SimpleEntitySimulation::changeEntityInternal(EntityItem* entity) {
|
void SimpleEntitySimulation::changeEntityInternal(EntityItem* entity) {
|
||||||
|
EntitySimulation::changeEntityInternal(entity);
|
||||||
if (!entity->getSimulatorID().isNull()) {
|
if (!entity->getSimulatorID().isNull()) {
|
||||||
_hasSimulationOwnerEntities.insert(entity);
|
_hasSimulationOwnerEntities.insert(entity);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue