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

Commit

Permalink
Merge pull request #2535 from BigRoy/houdini_vdb_preserve_frame_numbers
Browse files Browse the repository at this point in the history
Houdini: vdbcache family preserve frame numbers on publish integration + enable validate version for Houdini
  • Loading branch information
antirotor authored Jan 21, 2022
2 parents 8674523 + 9a3a709 commit 77eeee4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
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)
2 changes: 1 addition & 1 deletion openpype/plugins/publish/validate_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class ValidateVersion(pyblish.api.InstancePlugin):
order = pyblish.api.ValidatorOrder

label = "Validate Version"
hosts = ["nuke", "maya", "blender", "standalonepublisher"]
hosts = ["nuke", "maya", "houdini", "blender", "standalonepublisher"]

optional = False
active = True
Expand Down

0 comments on commit 77eeee4

Please sign in to comment.