mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
use cmds.setattr instead of self._get_attr()
This commit is contained in:
parent
3fdd55c84a
commit
368444a7f2
1 changed files with 4 additions and 2 deletions
|
|
@ -1133,9 +1133,11 @@ class RenderProductsRedshift(ARenderProducts):
|
|||
aovs = list(set(aovs) - set(ref_aovs))
|
||||
|
||||
products = []
|
||||
# global_aov_enabled = bool(
|
||||
# self._get_attr("redshiftOptions.aovGlobalEnableMode")
|
||||
# )
|
||||
global_aov_enabled = bool(
|
||||
self._get_attr("redshiftOptions.aovGlobalEnableMode")
|
||||
)
|
||||
cmds.getAttr("redshiftOptions.aovGlobalEnableMode"))
|
||||
colorspace = lib.get_color_management_output_transform()
|
||||
if not global_aov_enabled:
|
||||
# only beauty output
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue