Selecting entities when duplicating prefabs (#2995)
* Selecting entitie when duplicating prefabs Signed-off-by: mnaumov <mnaumov@amazon.com> * PR feedback Signed-off-by: mnaumov <mnaumov@amazon.com>
This commit is contained in:
@@ -1727,6 +1727,7 @@ namespace AzToolsFramework
|
||||
|
||||
AliasPath absoluteInstancePath = commonOwningInstance.GetAbsoluteInstanceAliasPath();
|
||||
absoluteInstancePath.Append(newInstanceAlias);
|
||||
absoluteInstancePath.Append(PrefabDomUtils::ContainerEntityName);
|
||||
|
||||
AZ::EntityId newEntityId = InstanceEntityIdMapper::GenerateEntityIdForAliasPath(absoluteInstancePath);
|
||||
duplicatedEntityIds.push_back(newEntityId);
|
||||
|
||||
Reference in New Issue
Block a user