Showing the changes to libraries/entities/src/EntityScriptingInterface.cpp (1 of 3 files). Show all
Unified · Split
| @@ -281,7 +281,6 @@ QUuid EntityScriptingInterface::editEntity(QUuid id, const EntityItemProperties& · 280 unmodified lines | |||
| 281 | 281 | ||
| 282 | // if we've moved an entity with children, check/update the queryAACube of all descendents and tell the server | 282 | // if we've moved an entity with children, check/update the queryAACube of all descendents and tell the server |
| 283 | // if they've changed. | 283 | // if they've changed. |
| 284 | // TODO -- ancestors of this entity may also need to expand their queryAACubes. | ||
| 285 | entity->forEachDescendant([&](SpatiallyNestablePointer descendant) { | 284 | entity->forEachDescendant([&](SpatiallyNestablePointer descendant) { |
| 286 | if (descendant->getNestableType() == NestableType::Entity) { | 285 | if (descendant->getNestableType() == NestableType::Entity) { |
| 287 | EntityItemPointer entityDescendant = std::static_pointer_cast<EntityItem>(descendant); | 286 | EntityItemPointer entityDescendant = std::static_pointer_cast<EntityItem>(descendant); |