mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
bugfix the save scene for camera error out when multi camera option turned off
This commit is contained in:
parent
06c0bf3feb
commit
8ca6811098
1 changed files with 5 additions and 0 deletions
|
|
@ -21,6 +21,11 @@ class SaveScenesForCamera(pyblish.api.InstancePlugin):
|
|||
families = ["maxrender"]
|
||||
|
||||
def process(self, instance):
|
||||
if not instance.data.get("multiCamera"):
|
||||
self.log.debug(
|
||||
"Multi Camera disabled. "
|
||||
"Skipping to save scene files for cameras")
|
||||
return
|
||||
current_folder = rt.maxFilePath
|
||||
current_filename = rt.maxFileName
|
||||
current_filepath = os.path.join(current_folder, current_filename)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue