Showing the changes to libraries/entities/src/EntityScriptingInterface.cpp (1 of 10 files). Show all
Unified · Split
| @@ -457,7 +457,7 @@ QUuid EntityScriptingInterface::editEntity(QUuid id, const EntityItemProperties& · 456 unmodified lines | |||
| 457 | // if they've changed. | 457 | // if they've changed. |
| 458 | entity->forEachDescendant([&](SpatiallyNestablePointer descendant) { | 458 | entity->forEachDescendant([&](SpatiallyNestablePointer descendant) { |
| 459 | if (descendant->getNestableType() == NestableType::Entity) { | 459 | if (descendant->getNestableType() == NestableType::Entity) { |
| 460 | if (descendant->checkAndMaybeUpdateQueryAACube()) { | 460 | if (descendant->updateQueryAACube()) { |
| 461 | EntityItemPointer entityDescendant = std::static_pointer_cast<EntityItem>(descendant); | 461 | EntityItemPointer entityDescendant = std::static_pointer_cast<EntityItem>(descendant); |
| 462 | EntityItemProperties newQueryCubeProperties; | 462 | EntityItemProperties newQueryCubeProperties; |
| 463 | newQueryCubeProperties.setQueryAACube(descendant->getQueryAACube()); | 463 | newQueryCubeProperties.setQueryAACube(descendant->getQueryAACube()); |
| @@ -1792,4 +1792,4 @@ QString EntityScriptingInterface::computeCertificateID(const QUuid& entityID) { · 1328 unmodified lines | |||
| 1792 | } | 1792 | } |
| 1793 | return result; | 1793 | return result; |
| 1794 | } | 1794 | } |
| 1795 | #endif | 1795 | #endif |