The calls used a parameter type of QUuid instead of EntityItemID. This resulted in the following warnings in the log: [04/01 18:16:11.012] [WARNING] [default] [53296] QMetaObject::invokeMethod: No such method EntityScriptingInterface::addingWearable(QUuid) [04/01 18:16:11.012] [WARNING] [default] [53296] Candidates are: [04/01 18:16:11.012] [WARNING] [default] [53296] addingWearable(EntityItemID)
Showing the changes to libraries/entities/src/EntityScriptingInterface.cpp (1 of 1 file). Show all
Unified · Split
| @@ -1101,13 +1101,13 @@ void EntityScriptingInterface::handleEntityScriptCallMethodPacket(QSharedPointer · 1100 unmodified lines | ||
| 1101 | 1101 | |
| 1102 | 1102 | void EntityScriptingInterface::onAddingEntity(EntityItem* entity) { |
| 1103 | 1103 | if (entity->isWearable()) { |
| 1104 | − QMetaObject::invokeMethod(this, "addingWearable", Q_ARG(QUuid, entity->getEntityItemID())); | |
| 1104 | + QMetaObject::invokeMethod(this, "addingWearable", Q_ARG(EntityItemID, entity->getEntityItemID())); | |
| 1105 | 1105 | } |
| 1106 | 1106 | } |
| 1107 | 1107 | |
| 1108 | 1108 | void EntityScriptingInterface::onDeletingEntity(EntityItem* entity) { |
| 1109 | 1109 | if (entity->isWearable()) { |
| 1110 | − QMetaObject::invokeMethod(this, "deletingWearable", Q_ARG(QUuid, entity->getEntityItemID())); | |
| 1110 | + QMetaObject::invokeMethod(this, "deletingWearable", Q_ARG(EntityItemID, entity->getEntityItemID())); | |
| 1111 | 1111 | } |
| 1112 | 1112 | } |
| 1113 | 1113 | |