Hiero: adding formating dict with batch

This commit is contained in:
Jakub Jezek 2022-11-02 20:39:04 +01:00
parent 51a7dea720
commit dbc4b64ca1
No known key found for this signature in database
GPG key ID: 730D7C02726179A7
2 changed files with 2 additions and 2 deletions

View file

@ -45,7 +45,7 @@ class LoadClipBatch(opfapi.ClipLoader):
formating_data["batch"] = self.batch.name.get_value() formating_data["batch"] = self.batch.name.get_value()
clip_name = StringTemplate(self.clip_name_template).format( clip_name = StringTemplate(self.clip_name_template).format(
context["representation"]["context"]) formating_data)
# TODO: settings in imageio # TODO: settings in imageio
# convert colorspace with ocio to flame mapping # convert colorspace with ocio to flame mapping

View file

@ -142,7 +142,7 @@
"exr16fpdwaa" "exr16fpdwaa"
], ],
"reel_name": "OP_LoadedReel", "reel_name": "OP_LoadedReel",
"clip_name_template": "{asset}_{subset}<_{output}>" "clip_name_template": "{batch}_{asset}_{subset}<_{output}>"
} }
} }
} }