Remove the Level Inspector from Prefab mode and move behavior to Entity Inspector. (#149)

* Remove Level Inspector from Prefab mode, and integrate the same behavior in the Entity Inspector

* Show prefab name in level entity row of the Outliner. Allow Ui Handlers to prevent renaming.

* Separate setting the prefab's template path and the container entity name.

* Disable reparenting to root level

* Disable the ability to rename the level entity.

* Fixes as per Ram's review
This commit is contained in:
AMZN-daimini
2021-04-20 16:22:34 -07:00
committed by GitHub
parent 23656f0bd3
commit 62bc7a66bb
16 changed files with 171 additions and 53 deletions
@@ -121,6 +121,7 @@ namespace AzToolsFramework
}
newInstance->SetTemplateSourcePath(relativeFilePath);
newInstance->SetContainerEntityName(relativeFilePath.Stem().Native());
TemplateId newTemplateId = CreateTemplateFromInstance(*newInstance);
if (newTemplateId == InvalidTemplateId)