mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-26 05:42:15 +01:00
🦮 hound fixes
This commit is contained in:
parent
021800d1dd
commit
4ec0035ed5
3 changed files with 4 additions and 3 deletions
|
|
@ -172,7 +172,7 @@ class HoudiniCreator(NewCreator):
|
|||
"houdini_cached_instances"):
|
||||
self.collection_shared_data["houdini_cached_instances"] = {}
|
||||
self.log.info("Caching instances for {}".format(self.identifier))
|
||||
self.collection_shared_data["houdini_cached_instances"][self.identifier] = instances # noqa: E401
|
||||
self.collection_shared_data["houdini_cached_instances"][self.identifier] = instances # noqa: E501
|
||||
for instance in instances:
|
||||
created_instance = CreatedInstance.from_existing(
|
||||
read(instance), self
|
||||
|
|
@ -182,7 +182,6 @@ class HoudiniCreator(NewCreator):
|
|||
def update_instances(self, update_list):
|
||||
for created_inst, _changes in update_list:
|
||||
instance_node = hou.node(created_inst.get("instance_node"))
|
||||
current_data = read(instance_node)
|
||||
|
||||
new_values = {
|
||||
key: new_value
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@ class ValidateCopOutputNode(pyblish.api.InstancePlugin):
|
|||
|
||||
try:
|
||||
output_node = instance.data["output_node"]
|
||||
except KeyError as e:
|
||||
except KeyError:
|
||||
six.reraise(
|
||||
PublishValidationError,
|
||||
PublishValidationError(
|
||||
|
|
|
|||
|
|
@ -4,6 +4,8 @@ import pyblish.api
|
|||
import openpype.hosts.houdini.api.usd as hou_usdlib
|
||||
from openpype.pipeline import PublishValidationError
|
||||
|
||||
import hou
|
||||
|
||||
|
||||
class ValidateUSDLayerPathBackslashes(pyblish.api.InstancePlugin):
|
||||
"""Validate USD loaded paths have no backslashes.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue