mirror of
https://github.com/lubosz/overte.git
synced 2025-08-12 15:37:06 +02:00
fix spacing
This commit is contained in:
parent
fb9505b880
commit
fe61d7efc7
1 changed files with 6 additions and 6 deletions
|
@ -2076,12 +2076,12 @@ bool EntityItem::removeActionInternal(const QUuid& actionID, EntitySimulationPoi
|
||||||
_dirtyFlags &= ~Simulation::NO_BOOTSTRAPPING;
|
_dirtyFlags &= ~Simulation::NO_BOOTSTRAPPING;
|
||||||
_dirtyFlags |= Simulation::DIRTY_COLLISION_GROUP; // may need to not collide with own avatar
|
_dirtyFlags |= Simulation::DIRTY_COLLISION_GROUP; // may need to not collide with own avatar
|
||||||
forEachDescendant([&](SpatiallyNestablePointer child) {
|
forEachDescendant([&](SpatiallyNestablePointer child) {
|
||||||
if (child->getNestableType() == NestableType::Entity) {
|
if (child->getNestableType() == NestableType::Entity) {
|
||||||
EntityItemPointer entity = std::static_pointer_cast<EntityItem>(child);
|
EntityItemPointer entity = std::static_pointer_cast<EntityItem>(child);
|
||||||
entity->markDirtyFlags(Simulation::DIRTY_COLLISION_GROUP);
|
entity->markDirtyFlags(Simulation::DIRTY_COLLISION_GROUP);
|
||||||
entity->clearDirtyFlags(Simulation::NO_BOOTSTRAPPING);
|
entity->clearDirtyFlags(Simulation::NO_BOOTSTRAPPING);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
// NO-OP: we assume NO_BOOTSTRAPPING bits and collision group are correct
|
// NO-OP: we assume NO_BOOTSTRAPPING bits and collision group are correct
|
||||||
// because they should have been set correctly when the action was added
|
// because they should have been set correctly when the action was added
|
||||||
|
|
Loading…
Reference in a new issue