Showing the changes to libraries/entities/src/EntityScriptingInterface.cpp (1 of 16 files). Show all
Unified · Split
| @@ -461,7 +461,7 @@ QUuid EntityScriptingInterface::editEntity(QUuid id, const EntityItemProperties& · 460 unmodified lines | |||
| 461 | // if they've changed. | 461 | // if they've changed. |
| 462 | entity->forEachDescendant([&](SpatiallyNestablePointer descendant) { | 462 | entity->forEachDescendant([&](SpatiallyNestablePointer descendant) { |
| 463 | if (descendant->getNestableType() == NestableType::Entity) { | 463 | if (descendant->getNestableType() == NestableType::Entity) { |
| 464 | if (descendant->checkAndMaybeUpdateQueryAACube()) { | 464 | if (descendant->updateQueryAACube()) { |
| 465 | EntityItemPointer entityDescendant = std::static_pointer_cast<EntityItem>(descendant); | 465 | EntityItemPointer entityDescendant = std::static_pointer_cast<EntityItem>(descendant); |
| 466 | EntityItemProperties newQueryCubeProperties; | 466 | EntityItemProperties newQueryCubeProperties; |
| 467 | newQueryCubeProperties.setQueryAACube(descendant->getQueryAACube()); | 467 | newQueryCubeProperties.setQueryAACube(descendant->getQueryAACube()); |
| @@ -1843,4 +1843,4 @@ QString EntityScriptingInterface::computeCertificateID(const QUuid& entityID) { · 1375 unmodified lines | |||
| 1843 | } | 1843 | } |
| 1844 | return result; | 1844 | return result; |
| 1845 | } | 1845 | } |
| 1846 | #endif | 1846 | #endif |