{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:
@@ -44,6 +44,11 @@ AZ::SceneAPI::UI::ManifestWidget* ImporterRootDisplay::GetManifestWidget()
|
||||
return m_manifestWidget.data();
|
||||
}
|
||||
|
||||
void ImporterRootDisplay::SetSceneHeaderText(const QString& headerText)
|
||||
{
|
||||
ui->m_filePathText->setText(headerText);
|
||||
}
|
||||
|
||||
void ImporterRootDisplay::SetSceneDisplay(const QString& headerText, const AZStd::shared_ptr<AZ::SceneAPI::Containers::Scene>& scene)
|
||||
{
|
||||
AZ_PROFILE_FUNCTION(Editor);
|
||||
@@ -53,7 +58,7 @@ void ImporterRootDisplay::SetSceneDisplay(const QString& headerText, const AZStd
|
||||
return;
|
||||
}
|
||||
|
||||
ui->m_filePathText->setText(headerText);
|
||||
SetSceneHeaderText(headerText);
|
||||
|
||||
HandleSceneWasReset(scene);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user