Showing the changes to libraries/entities/src/EntityScriptingInterface.cpp (1 of 6 files). Show all
Unified · Split
| @@ -1778,18 +1778,3 @@ bool EntityScriptingInterface::verifyStaticCertificateProperties(const QUuid& en · 1777 unmodified lines | |||
| 1778 | } | 1778 | } |
| 1779 | return result; | 1779 | return result; |
| 1780 | } | 1780 | } |
| 1781 | |||
| 1782 | #ifdef DEBUG_CERT | ||
| 1783 | QString EntityScriptingInterface::computeCertificateID(const QUuid& entityID) { | ||
| 1784 | QString result { "" }; | ||
| 1785 | if (_entityTree) { | ||
| 1786 | _entityTree->withReadLock([&] { | ||
| 1787 | EntityItemPointer entity = _entityTree->findEntityByEntityItemID(EntityItemID(entityID)); | ||
| 1788 | if (entity) { | ||
| 1789 | result = entity->computeCertificateID(); | ||
| 1790 | } | ||
| 1791 | }); | ||
| 1792 | } | ||
| 1793 | return result; | ||
| 1794 | } | ||
| 1795 | #endif | ||