Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Maya: Scene patching 🩹on submission to Deadline #1923

Merged
merged 3 commits into from
Aug 12, 2021

Conversation

antirotor
Copy link
Member

Enhancement

This PR is adding possibility to configure and apply Maya Ascii scene patches directly before submission to Deadline.

This is useful to fix some specific renderer glitches and advanced hacking of Maya Scene files. Patch name is label for patch for easier orientation. Patch regex is regex used to find line in file, after Patch line string is inserted. Note that you need to add line ending.

maya-admin_submit_maya_job_to_deadline

Patching is done on published scene in submission script.

@antirotor antirotor added type: enhancement Enhancements to existing functionality host: Maya type: documentation module: Deadline AWS Deadline related features labels Aug 11, 2021
@antirotor antirotor self-assigned this Aug 11, 2021
@antirotor antirotor merged commit 050883b into develop Aug 12, 2021
@mkolar mkolar added type: feature Larger, user affecting changes and completely new things and removed type: documentation type: enhancement Enhancements to existing functionality labels Sep 17, 2021
@mkolar mkolar deleted the enhancement/maya-deadline-scene-patching branch September 17, 2021 22:13
@BigRoy
Copy link
Collaborator

BigRoy commented Aug 24, 2022

@antirotor Just to confirm - should this ONLY happen when use_publish is enabled? Seems confusing since it explicitly mentions it patches a workfile?

I'm working on refactoring the maya submitter so was wondering how to deal with this patch code best.

@antirotor
Copy link
Member Author

Yeah this is patching only published maya ascii files and it'll serves as pretty ugly way to deal with maya inconsistent way of saving files that can lead to crashes on farm. I don't think this is needed anywhere else and even in maya it is really total edge case.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
host: Maya module: Deadline AWS Deadline related features type: feature Larger, user affecting changes and completely new things
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants