mirror of
https://github.com/overte-org/overte.git
synced 2025-04-25 20:16:16 +02:00
increase sim priority when flagged for ownership
This commit is contained in:
parent
2579247c34
commit
8510110324
1 changed files with 1 additions and 0 deletions
|
@ -122,6 +122,7 @@ void EntityMotionState::handleEasyChanges(uint32_t flags) {
|
||||||
_candidateForOwnership = true;
|
_candidateForOwnership = true;
|
||||||
_loopsSinceOwnershipBid = uint32_t(-1);
|
_loopsSinceOwnershipBid = uint32_t(-1);
|
||||||
_loopsWithoutOwner = uint32_t(-1);
|
_loopsWithoutOwner = uint32_t(-1);
|
||||||
|
_simulatorPriorityHint = SCRIPT_EDIT_SIMULATOR_PRIORITY;
|
||||||
}
|
}
|
||||||
if ((flags & EntityItem::DIRTY_PHYSICS_ACTIVATION) && !_body->isActive()) {
|
if ((flags & EntityItem::DIRTY_PHYSICS_ACTIVATION) && !_body->isActive()) {
|
||||||
_body->activate();
|
_body->activate();
|
||||||
|
|
Loading…
Reference in a new issue