mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
change action name to Select ROP
This commit is contained in:
parent
6983503468
commit
73ecfe88e8
1 changed files with 6 additions and 6 deletions
|
|
@ -6,8 +6,8 @@ from openpype.pipeline.publish import RepairAction
|
||||||
import hou
|
import hou
|
||||||
|
|
||||||
|
|
||||||
class SelectInvalidAction(RepairAction):
|
class SelectROPAction(RepairAction):
|
||||||
label = "Select Invalid ROP"
|
label = "Select ROP"
|
||||||
icon = "mdi.cursor-default-click"
|
icon = "mdi.cursor-default-click"
|
||||||
|
|
||||||
class ValidateSopOutputNode(pyblish.api.InstancePlugin):
|
class ValidateSopOutputNode(pyblish.api.InstancePlugin):
|
||||||
|
|
@ -26,7 +26,7 @@ class ValidateSopOutputNode(pyblish.api.InstancePlugin):
|
||||||
families = ["pointcache", "vdbcache"]
|
families = ["pointcache", "vdbcache"]
|
||||||
hosts = ["houdini"]
|
hosts = ["houdini"]
|
||||||
label = "Validate Output Node"
|
label = "Validate Output Node"
|
||||||
actions = [SelectInvalidAction]
|
actions = [SelectROPAction]
|
||||||
|
|
||||||
def process(self, instance):
|
def process(self, instance):
|
||||||
|
|
||||||
|
|
@ -89,10 +89,10 @@ class ValidateSopOutputNode(pyblish.api.InstancePlugin):
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def repair(cls, instance):
|
def repair(cls, instance):
|
||||||
"""Select Invalid ROP.
|
"""Select ROP.
|
||||||
|
|
||||||
It's used to select invalid ROP which tells the
|
It's used to select the associated ROP for the selected instance
|
||||||
artist which ROP node need to be fixed!
|
which tells the artist which ROP node need to be fixed!
|
||||||
"""
|
"""
|
||||||
|
|
||||||
rop_node = hou.node(instance.data["instance_node"])
|
rop_node = hou.node(instance.data["instance_node"])
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue