mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
fusion: removing redundant validation
This commit is contained in:
parent
e5f6bca5d5
commit
3626d7572b
1 changed files with 1 additions and 6 deletions
|
|
@ -15,12 +15,7 @@ class FusionPreLaunchOCIO(PreLaunchHook):
|
|||
project_settings = self.data["project_settings"]
|
||||
|
||||
# make sure anatomy settings are having flame key
|
||||
imageio_fusion = project_settings.get("fusion", {}).get("imageio")
|
||||
if not imageio_fusion:
|
||||
raise ApplicationLaunchFailed(
|
||||
"Project settings are missing `fusion/imageio` key. "
|
||||
"Please make sure you update your project settings. "
|
||||
)
|
||||
imageio_fusion = project_settings["fusion"]["imageio"]
|
||||
|
||||
ocio = imageio_fusion.get("ocio")
|
||||
enabled = ocio.get("enabled", False)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue