change action name to Select ROP

This commit is contained in:
Mustafa-Zarkash 2023-07-04 13:27:31 +03:00
parent 6983503468
commit 73ecfe88e8

View file

@ -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"])