Repository navigation
SG-45592 Enable Scene Builder in Maya - #154
Draft
carlos-villavicencio-adsk wants to merge 1 commit into
Draft
carlos-villavicencio-adsk wants to merge 1 commit into
carlos-villavicencio-adsk wants to merge 1 commit into
Conversation
5 tasks done
There was a problem hiding this comment.
🟡 Changes recommended
The pinned Scene Builder release cannot resolve upstream-step placeholders, and the new presets lack non-null status filters needed to exclude retired publishes.
2 open issues
What changed in this PR
Enables Scene Builder in the basic configuration’s Maya asset and shot task environments, with presets matching tk-config-default2.
Changes:
- Adds Scene Builder and its required Scene Breakdown app.
- Defines asset Reference/Import presets and shot upstream-publish presets.
- Adds Scene Builder to Maya’s menu favorites.
| File | Description |
|---|---|
env/includes/maya/shot_step.yml |
Enables both apps and the menu favorite for shot tasks. |
env/includes/maya/asset_step.yml |
Enables both apps and the menu favorite for asset tasks. |
env/includes/maya/apps.yml |
Defines Breakdown settings and Scene Builder presets. |
env/includes/common/apps.yml |
Adds shared app descriptors and version pins. |
Review effort: Balanced
| - context: | ||
| - [entity, is, '{context.entity}'] | ||
| - [task.Task.downstream_tasks.Task.content, is, '{context.task.name}'] | ||
| - [task.Task.downstream_tasks.Task.step, is, '{context.step}'] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
Enables Scene Builder in the Maya asset and shot step environments of the basic configuration, with the same presets as tk-config-default2 (shotgunsoftware/tk-config-default2#212). Scene Builder requires Scene Breakdown in the same environment, so tk-multi-breakdown2 is added to those environments as well, and Scene Builder is added to the Maya menu favorites.
Limitations
Whether the basic configuration should ship Scene Builder is still under discussion, so this PR may not be merged. The main limitation is that the basic configuration defines no storage roots, so its publishes have no
path_cache. Scene Breakdown resolves the files loaded in the scene to publishes throughpath_cache, so it lists no items for them, and Scene Builder, which relies on the same scan, cannot tell which files are already loaded or out of date: built items keep showing as "Ready to Build", and building again would reference the same files a second time. Fixing this would need Scene Breakdown to fall back to matching publishes by their local path, which is out of scope here.As in the advanced configuration, "Upstream Assets" only finds assets linked to the shot through the Shot's Assets field, and "Upstream Shot Tasks" needs task dependencies on the shot.
Testing
Tested in Maya using a dev descriptor for tk-multi-scenebuilder:
TODO