{lyn8578} adding UX for assinging a Python scene builder (#7551)

* {lyn8578} adding UX for assinging a Python scene builder

Signed-off-by: Allen Jackson <23512001+jackalbe@users.noreply.github.com>

* improved the Reset and Assign script logic

Signed-off-by: Allen Jackson <23512001+jackalbe@users.noreply.github.com>

* GUI updates to highlight the scene script


Signed-off-by: Allen Jackson <23512001+jackalbe@users.noreply.github.com>

* save off the script file name instead of holding onto the rule
update the header display name separate from setting the scene

Signed-off-by: Allen Jackson <23512001+jackalbe@users.noreply.github.com>
This commit is contained in:
Allen Jackson
2022-02-15 15:01:43 -06:00
committed by GitHub
parent 7fbcab9f13
commit de97ad6ade
8 changed files with 151 additions and 23 deletions
@@ -28,14 +28,20 @@ namespace AZ
~ScriptProcessorRule() override = default;
const AZStd::string& GetScriptFilename() const override;
inline const AZStd::string& GetScriptFilename() const override
{
return m_scriptFilename;
}
inline void SetScriptFilename(AZStd::string scriptFilename)
{
m_scriptFilename = AZStd::move(scriptFilename);
}
DataTypes::ScriptProcessorFallbackLogic GetScriptProcessorFallbackLogic() const override;
inline DataTypes::ScriptProcessorFallbackLogic GetScriptProcessorFallbackLogic() const override
{
return m_fallbackLogic;
}
static void Reflect(ReflectContext* context);