mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 00:44:52 +01:00
securing backward compatibility of project locked anatomy settings
This commit is contained in:
parent
005919f45c
commit
f47d74d7b4
1 changed files with 9 additions and 1 deletions
|
|
@ -197,7 +197,15 @@ class ExporterReview(object):
|
|||
def get_imageio_baking_profile(self):
|
||||
from . import lib as opnlib
|
||||
nuke_imageio = opnlib.get_nuke_imageio_settings()
|
||||
return nuke_imageio["baking"]["viewerProcess"]
|
||||
|
||||
# TODO: this is only securing backward compatibility lets remove
|
||||
# this once all projects's anotomy are upated to newer config
|
||||
if "baking" in nuke_imageio.keys():
|
||||
return nuke_imageio["baking"]["viewerProcess"]
|
||||
else:
|
||||
return nuke_imageio["viewer"]["viewerProcess"]
|
||||
|
||||
|
||||
|
||||
|
||||
class ExporterReviewLut(ExporterReview):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue