{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:
@@ -25,7 +25,8 @@
|
||||
<string>&Edit</string>
|
||||
</property>
|
||||
<addaction name="m_actionResetSettings"/>
|
||||
</widget>
|
||||
<addaction name="m_actionAssignScript"/>
|
||||
</widget>
|
||||
<widget class="QMenu" name="helpMenu">
|
||||
<property name="title">
|
||||
<string>&Help</string>
|
||||
@@ -49,7 +50,7 @@
|
||||
<enum>QLayout::SetMaximumSize</enum>
|
||||
</property>
|
||||
|
||||
<!-- When an fbx is loaded -->
|
||||
<!-- When a source scene file (i.e. FBX) is loaded -->
|
||||
<item>
|
||||
<widget class="QWidget" name="m_mainArea">
|
||||
<property name="sizePolicy">
|
||||
@@ -175,7 +176,16 @@
|
||||
<string>Reset the settings for this file (note: you will have to update to commit)</string>
|
||||
</property>
|
||||
</action>
|
||||
|
||||
|
||||
<action name="m_actionAssignScript">
|
||||
<property name="text">
|
||||
<string>Assign Build Script...</string>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Assign a Python build script that will override the scene's build rules</string>
|
||||
</property>
|
||||
</action>
|
||||
|
||||
<action name="actionOpenDocumentation">
|
||||
<property name="text">
|
||||
<string>Documentation</string>
|
||||
@@ -204,6 +214,12 @@
|
||||
<receiver>AssetImporterWindow</receiver>
|
||||
<slot>OnSceneResetRequested()</slot>
|
||||
</connection>
|
||||
<connection>
|
||||
<sender>m_actionAssignScript</sender>
|
||||
<signal>triggered()</signal>
|
||||
<receiver>AssetImporterWindow</receiver>
|
||||
<slot>OnAssignScript()</slot>
|
||||
</connection>
|
||||
<connection>
|
||||
<sender>m_actionInspect</sender>
|
||||
<signal>triggered()</signal>
|
||||
|
||||
Reference in New Issue
Block a user