flame: settings for retimed attributes

This commit is contained in:
Jakub Jezek 2022-09-14 22:18:07 +02:00
parent 790d350d7f
commit be07346849
No known key found for this signature in database
GPG key ID: 730D7C02726179A7
3 changed files with 15 additions and 3 deletions

View file

@ -23,10 +23,10 @@ class CreateShotClip(opfapi.Creator):
# nested dictionary (only one level allowed
# for sections and dict)
for _k, _v in v["value"].items():
if presets.get(_k):
if presets.get(_k, None) is not None:
gui_inputs[k][
"value"][_k]["value"] = presets[_k]
if presets.get(k):
if presets.get(_k, None) is not None:
gui_inputs[k]["value"] = presets[k]
# open widget for plugins inputs