Improved a comment
This commit is contained in:
@@ -642,7 +642,8 @@ namespace AzToolsFramework
|
||||
AZ::EntityId firstEntityIdToDelete = entityIds[0];
|
||||
InstanceOptionalReference commonOwningInstance = GetOwnerInstanceByEntityId(firstEntityIdToDelete);
|
||||
|
||||
// If the first entity id is that of an instance, we need to delete that instance from it's parent.
|
||||
// If the first entity id is a container entity id, then we need to mark its parent as the common owning instance because you
|
||||
// cannot detete an instance from itself.
|
||||
if (commonOwningInstance->get().GetContainerEntityId() == firstEntityIdToDelete &&
|
||||
!IsLevelInstanceContainerEntity(firstEntityIdToDelete))
|
||||
{
|
||||
|
||||
@@ -28,9 +28,9 @@ namespace AzToolsFramework
|
||||
|
||||
namespace Prefab
|
||||
{
|
||||
using PrefabOperationResult = AZ::Outcome<void, AZStd::string>;
|
||||
using PrefabRequestResult = AZ::Outcome<bool, AZStd::string>;
|
||||
using PrefabEntityResult = AZ::Outcome<AZ::EntityId, AZStd::string>;
|
||||
typedef AZ::Outcome<void, AZStd::string> PrefabOperationResult;
|
||||
typedef AZ::Outcome<bool, AZStd::string> PrefabOperationResult;
|
||||
typedef AZ::Outcome<AZ::EntityId, AZStd::string> PrefabEntityResult;
|
||||
|
||||
/*!
|
||||
* PrefabPublicInterface
|
||||
|
||||
Reference in New Issue
Block a user