Skip to content

Fix Renderers that store their output V-Ray ignores scene's vraySettings.fileNamePrefix; submitter falls back to <Scene>/<Layer> - #453

Open
dzavada wants to merge 12 commits into
aws-deadline:mainlinefrom
dzavada:mainline
Open

Fix Renderers that store their output V-Ray ignores scene's vraySettings.fileNamePrefix; submitter falls back to <Scene>/<Layer>#453
dzavada wants to merge 12 commits into
aws-deadline:mainlinefrom
dzavada:mainline

Conversation

@dzavada

@dzavada dzavada commented Jul 26, 2026

Copy link
Copy Markdown
Contributor

What was the problem/requirement? (What/Why)
V-Ray ignores scene's vraySettings.fileNamePrefix; submitter falls back to / default 443

What was the solution? (How)
Renderers that store their output file name prefix somewhere other than
defaultRenderGlobals.imageFilePrefix. V-Ray's Render Settings Common tab
writes the "File Name Prefix" field to vraySettings.fileNamePrefix and does
not update the legacy defaultRenderGlobals attribute, so reading the default
attribute for a V-Ray scene picks up a stale/empty value and the submitted
job ignores the prefix the user actually configured.
What is the impact of this change?
N/A

How was this change tested?
I submitted jobs through Maya and tested that is in fact was following the correct naming prefix.

Integ test result
delete text starting here
If src/ was modified or a file was added/removed, then update the integ tests and post the test results below. See
DEVELOPMENT.md on additional instructions on running some, or all integ tests.
delete text ending here

Installer test result
ADAPTOR_OUTPUT: STDOUT: Performing action: {"name": "output_file_prefix", "args": {"output_file_prefix": "Mavic/%s/%l/%l_%v"}}

Did you run the "Job Bundle Output Tests"? If not, why not? If so, paste the test results here.
No

Was this change documented?
No

Did you modify schema files?
Yes
[ X] No
If yes, Did you bump the integration_data_interface_version in src/deadline/maya_adaptor/MayaAdaptor/adaptor.py and update the test constants?
See the "Schema Versioning" section in DEVELOPMENT.md for details.

Yes
[ X] No
Is this a breaking change?
No

dzavada added 10 commits July 14, 2026 14:40
…than

# defaultRenderGlobals.imageFilePrefix. V-Ray's Render Settings Common tab
# writes the "File Name Prefix" field to vraySettings.fileNamePrefix and does
# not update the legacy defaultRenderGlobals attribute, so reading the default
# attribute for a V-Ray scene picks up a stale/empty value and the submitted
# job ignores the prefix the user actually configured.
@dzavada
dzavada requested a review from a team as a code owner July 26, 2026 21:11

@dzavada dzavada left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix formatting in renderers.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant