Fixing Save level As template path (#4054)
* Fixing Save level As template path Signed-off-by: Mikhail Naumov <mnaumov@amazon.com> * CR Feedback Signed-off-by: Mikhail Naumov <mnaumov@amazon.com> * CR feedback Signed-off-by: Mikhail Naumov <mnaumov@amazon.com> * PR feedback Signed-off-by: Mikhail Naumov <mnaumov@amazon.com> * remove emplace Signed-off-by: Mikhail Naumov <mnaumov@amazon.com> * more PR feedback Signed-off-by: Mikhail Naumov <mnaumov@amazon.com>
This commit is contained in:
@@ -101,6 +101,13 @@ namespace AzToolsFramework
|
||||
*/
|
||||
TemplateId AddTemplate(const AZ::IO::Path& filePath, PrefabDom prefabDom) override;
|
||||
|
||||
/**
|
||||
* Updates relative filepath location of a prefab (in case of SaveAs operation).
|
||||
* @param templateId An id of a Template to change filepath of.
|
||||
* @param filePath new relative path of the Template.
|
||||
*/
|
||||
void UpdateTemplateFilePath(TemplateId templateId, const AZ::IO::PathView& filePath) override;
|
||||
|
||||
/**
|
||||
* Remove the Template associated with the given id from Prefab System Component.
|
||||
* @param templateId A unique id of a Template.
|
||||
|
||||
Reference in New Issue
Block a user