Skip to content

Commit

Permalink
Preserve VDB frame numbers on Integrating
Browse files Browse the repository at this point in the history
  • Loading branch information
BigRoy committed Jan 14, 2022
1 parent bc55371 commit 09fe8b3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions openpype/hosts/houdini/plugins/publish/collect_instances.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,9 @@ def process(self, context):

instance = context.create_instance(label)

# Include `families` using `family` data
instance.data["families"] = [instance.data["family"]]

instance[:] = [node]
instance.data.update(data)

Expand Down
2 changes: 2 additions & 0 deletions openpype/hosts/houdini/plugins/publish/extract_vdb_cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,7 @@ def process(self, instance):
"ext": "vdb",
"files": output,
"stagingDir": staging_dir,
"frameStart": instance.data["frameStart"],
"frameEnd": instance.data["frameEnd"],
}
instance.data["representations"].append(representation)

0 comments on commit 09fe8b3

Please sign in to comment.