diff --git a/scripts/system/edit.js b/scripts/system/edit.js index 894ea2b696..bc38dc8fde 100644 --- a/scripts/system/edit.js +++ b/scripts/system/edit.js @@ -1620,7 +1620,7 @@ function recursiveDelete(entities, childrenList, deletedIDs, entityHostType) { if (entityHostTypes[i].entityHostType !== entityHostType) { if (wantDebug) { console.log("Skipping deletion of entity " + entityID + " with conflicting entityHostType: " + - entityHostTypes[i].entityHostType); + entityHostTypes[i].entityHostType + ", expected: " + entityHostType); } continue; } diff --git a/scripts/system/libraries/entitySelectionTool.js b/scripts/system/libraries/entitySelectionTool.js index 064dafec06..d777bf222c 100644 --- a/scripts/system/libraries/entitySelectionTool.js +++ b/scripts/system/libraries/entitySelectionTool.js @@ -206,7 +206,7 @@ SelectionManager = (function() { if (entityHostTypes[i].entityHostType !== entityHostType) { if (wantDebug) { console.log("Skipping addition of entity " + childID + " with conflicting entityHostType: " + - entityHostTypes[i].entityHostType); + entityHostTypes[i].entityHostType + ", expected: " + entityHostType); } continue; } @@ -398,15 +398,15 @@ SelectionManager = (function() { if (entityHostTypes[i].entityHostType !== entityHostType) { if (wantDebug) { - console.warn("Skipping deletion of entity " + id + " with conflicting entityHostType: " + - entityHostTypes[i].entityHostType); + console.warn("Skipping addition of entity " + id + " with conflicting entityHostType: " + + entityHostTypes[i].entityHostType + ", expected: " + entityHostType); } continue; } if (!(id in entities)) { entities[id] = Entities.getEntityProperties(id); - appendChildren(id, entities); + appendChildren(id, entities, entityHostType); } } }