mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 00:44:52 +01:00
Update openpype/hosts/maya/api/lib.py
Simplify key test. Co-authored-by: Ondřej Samohel <33513211+antirotor@users.noreply.github.com>
This commit is contained in:
parent
bb339e0bbd
commit
f2ef34c1a2
1 changed files with 1 additions and 5 deletions
|
|
@ -2548,11 +2548,7 @@ def load_capture_preset(data=None):
|
|||
temp_options['headsUpDisplay'] = True
|
||||
|
||||
if key == 'hwFogEnable':
|
||||
if preset[id][key] is True:
|
||||
temp_options2['hwFogEnable'] = True
|
||||
|
||||
else:
|
||||
temp_options2['hwFogEnable'] = False
|
||||
temp_options2['hwFogEnable'] = preset[id][key] or False
|
||||
|
||||
if key == 'hwFogStart':
|
||||
temp_options2['hwFogStart'] = preset[id][key]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue