Skip to content

Commit

Permalink
Hiero: adding formating dict with batch
Browse files Browse the repository at this point in the history
  • Loading branch information
jakubjezek001 committed Nov 2, 2022
1 parent 51a7dea commit dbc4b64
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion openpype/hosts/flame/plugins/load/load_clip_batch.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def load(self, context, name, namespace, options):
formating_data["batch"] = self.batch.name.get_value()

clip_name = StringTemplate(self.clip_name_template).format(
context["representation"]["context"])
formating_data)

# TODO: settings in imageio
# convert colorspace with ocio to flame mapping
Expand Down
2 changes: 1 addition & 1 deletion openpype/settings/defaults/project_settings/flame.json
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@
"exr16fpdwaa"
],
"reel_name": "OP_LoadedReel",
"clip_name_template": "{asset}_{subset}<_{output}>"
"clip_name_template": "{batch}_{asset}_{subset}<_{output}>"
}
}
}

0 comments on commit dbc4b64

Please sign in to comment.