Merge pull request #4005 from pypeclub/feature/houdini_action_import

Houdini: Change import of RepairAction
This commit is contained in:
Ondřej Samohel 2022-10-19 17:07:42 +02:00 committed by GitHub
commit 4df9772072
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,8 +1,9 @@
# -*- coding: utf-8 -*-
import openpype.api
import pyblish.api
import hou
from openpype.pipeline.publish import RepairAction
class ValidateWorkfilePaths(pyblish.api.InstancePlugin):
"""Validate workfile paths so they are absolute."""
@ -11,7 +12,7 @@ class ValidateWorkfilePaths(pyblish.api.InstancePlugin):
families = ["workfile"]
hosts = ["houdini"]
label = "Validate Workfile Paths"
actions = [openpype.api.RepairAction]
actions = [RepairAction]
optional = True
node_types = ["file", "alembic"]