mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 03:24:00 +02:00
function name change
This commit is contained in:
parent
ff7c11d48c
commit
9c4ae9df5a
2 changed files with 4 additions and 4 deletions
|
@ -438,7 +438,7 @@ void EntityTree::deleteEntity(const EntityItemID& entityID, bool force, bool ign
|
|||
return;
|
||||
}
|
||||
|
||||
checkEntity(entityID);
|
||||
IsAvatarParentOfEntity(entityID);
|
||||
emit deletingEntity(entityID);
|
||||
|
||||
// NOTE: callers must lock the tree before using this method
|
||||
|
@ -448,7 +448,7 @@ void EntityTree::deleteEntity(const EntityItemID& entityID, bool force, bool ign
|
|||
_isDirty = true;
|
||||
}
|
||||
|
||||
void EntityTree::checkEntity(const EntityItemID entityID) {
|
||||
void EntityTree::IsAvatarParentOfEntity(const EntityItemID entityID) {
|
||||
|
||||
EntityItemPointer entity = findEntityByEntityItemID(entityID);
|
||||
|
||||
|
@ -488,7 +488,7 @@ void EntityTree::deleteEntities(QSet<EntityItemID> entityIDs, bool force, bool i
|
|||
}
|
||||
|
||||
// tell our delete operator about this entityID
|
||||
checkEntity(entityID);
|
||||
IsAvatarParentOfEntity(entityID);
|
||||
theOperator.addEntityIDToDeleteList(entityID);
|
||||
emit deletingEntity(entityID);
|
||||
}
|
||||
|
|
|
@ -122,7 +122,7 @@ public:
|
|||
bool updateEntity(EntityItemPointer entity, const EntityItemProperties& properties, const SharedNodePointer& senderNode = SharedNodePointer(nullptr));
|
||||
|
||||
// check if the avatar is a child of this entity, If so set the avatar parentID to null
|
||||
void checkEntity(const EntityItemID entityID);
|
||||
void IsAvatarParentOfEntity(const EntityItemID entityID);
|
||||
void deleteEntity(const EntityItemID& entityID, bool force = false, bool ignoreWarnings = true);
|
||||
void deleteEntities(QSet<EntityItemID> entityIDs, bool force = false, bool ignoreWarnings = true);
|
||||
|
||||
|
|
Loading…
Reference in a new issue