Bug: Maya - Publishing camera from renderlayer creates untitled collections #6091
Labels
Good first issue
Simpler issues that are easy to understand and implement
host: Maya
type: bug
Something isn't working
Is there an existing issue for this?
Current Behavior:
When publishing a camera instance whilst currently in a render setup layer and having the default setting enabled for Enable untitled collections when new objects are created the baked camera (only used for the export) gets added into an untitled collection.
The maya setting is documented here.
Expected Behavior:
Context manager
We could use a context manager to ensure the setting is disabled.
Either setting the option var, or the environment variable.
Not preferred:
Since The environment variable takes precedence over the preference I'd say we should use the environment variable instead.
Preferred:
Version
3.18.2-nightly.4
What platform you are running OpenPype on?
Windows
Steps To Reproduce:
There will now be a trailing (invalid) collection generated from the publish.
Are there any labels you wish to add?
Relevant log output:
No response
Additional context:
No response
[cuID:OP-7982]
The text was updated successfully, but these errors were encountered: