Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

General: Hero version representations have full context #3638

Merged
merged 1 commit into from
Aug 12, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 3 additions & 7 deletions openpype/plugins/publish/integrate_hero_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -313,13 +313,9 @@ def integrate_instance(
}
repre_context = template_filled.used_values
for key in self.db_representation_context_keys:
if (
key in repre_context or
key not in anatomy_data
):
continue

repre_context[key] = anatomy_data[key]
value = anatomy_data.get(key)
if value is not None:
repre_context[key] = value

# Prepare new repre
repre = copy.deepcopy(repre_info["representation"])
Expand Down