Showing the changes to libraries/entities/src/EntityScriptingInterface.cpp (1 of 84 files). Show all
Unified · Split
| @@ -183,7 +183,7 @@ QUuid EntityScriptingInterface::addEntity(const EntityItemProperties& properties · 182 unmodified lines | ||
| 183 | 183 | } |
| 184 | 184 | |
| 185 | 185 | if (propertiesWithSimID.getParentID() == AVATAR_SELF_ID) { |
| 186 | − qDebug() << "ERROR: Cannot set entity parent ID to the local-only MyAvatar ID"; | |
| 186 | + qCDebug(entities) << "ERROR: Cannot set entity parent ID to the local-only MyAvatar ID"; | |
| 187 | 187 | propertiesWithSimID.setParentID(QUuid()); |
| 188 | 188 | } |
| 189 | 189 | |
| @@ -364,7 +364,7 @@ QUuid EntityScriptingInterface::editEntity(QUuid id, const EntityItemProperties& · 174 unmodified lines | ||
| 364 | 364 | if (!scriptSideProperties.parentIDChanged()) { |
| 365 | 365 | properties.setParentID(entity->getParentID()); |
| 366 | 366 | } else if (scriptSideProperties.getParentID() == AVATAR_SELF_ID) { |
| 367 | − qDebug() << "ERROR: Cannot set entity parent ID to the local-only MyAvatar ID"; | |
| 367 | + qCDebug(entities) << "ERROR: Cannot set entity parent ID to the local-only MyAvatar ID"; | |
| 368 | 368 | properties.setParentID(QUuid()); |
| 369 | 369 | } |
| 370 | 370 | if (!scriptSideProperties.parentJointIndexChanged()) { |
| @@ -925,12 +925,12 @@ bool EntityScriptingInterface::actionWorker(const QUuid& entityID, · 554 unmodified lines | ||
| 925 | 925 | EntitySimulationPointer simulation = _entityTree->getSimulation(); |
| 926 | 926 | entity = _entityTree->findEntityByEntityItemID(entityID); |
| 927 | 927 | if (!entity) { |
| 928 | − qDebug() << "actionWorker -- unknown entity" << entityID; | |
| 928 | + qCDebug(entities) << "actionWorker -- unknown entity" << entityID; | |
| 929 | 929 | return; |
| 930 | 930 | } |
| 931 | 931 | |
| 932 | 932 | if (!simulation) { |
| 933 | − qDebug() << "actionWorker -- no simulation" << entityID; | |
| 933 | + qCDebug(entities) << "actionWorker -- no simulation" << entityID; | |
| 934 | 934 | return; |
| 935 | 935 | } |
| 936 | 936 | |
| @@ -1045,7 +1045,7 @@ EntityItemPointer EntityScriptingInterface::checkForTreeEntityAndTypeMatch(const · 108 unmodified lines | ||
| 1045 | 1045 | |
| 1046 | 1046 | EntityItemPointer entity = _entityTree->findEntityByEntityItemID(entityID); |
| 1047 | 1047 | if (!entity) { |
| 1048 | − qDebug() << "EntityScriptingInterface::checkForTreeEntityAndTypeMatch - no entity with ID" << entityID; | |
| 1048 | + qCDebug(entities) << "EntityScriptingInterface::checkForTreeEntityAndTypeMatch - no entity with ID" << entityID; | |
| 1049 | 1049 | return entity; |
| 1050 | 1050 | } |
| 1051 | 1051 | |
| @@ -1305,7 +1305,7 @@ QVector<QUuid> EntityScriptingInterface::getChildrenIDs(const QUuid& parentID) { · 253 unmodified lines | ||
| 1305 | 1305 | |
| 1306 | 1306 | EntityItemPointer entity = _entityTree->findEntityByEntityItemID(parentID); |
| 1307 | 1307 | if (!entity) { |
| 1308 | − qDebug() << "EntityScriptingInterface::getChildrenIDs - no entity with ID" << parentID; | |
| 1308 | + qCDebug(entities) << "EntityScriptingInterface::getChildrenIDs - no entity with ID" << parentID; | |
| 1309 | 1309 | return result; |
| 1310 | 1310 | } |
| 1311 | 1311 | |