mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 00:44:52 +01:00
resolve houn
This commit is contained in:
parent
1289390680
commit
c73d76ef15
2 changed files with 13 additions and 12 deletions
|
|
@ -74,12 +74,13 @@ class CreateUnrealStaticMesh(plugin.HoudiniCreator):
|
|||
|
||||
attrs = super().get_pre_create_attr_defs()
|
||||
createsubnetroot = BoolDef("createsubnetroot",
|
||||
tooltip="Create an extra root for the Export node "
|
||||
"when it’s a subnetwork. This causes the "
|
||||
"exporting subnetwork node to be "
|
||||
"represented in the FBX file.",
|
||||
default=False,
|
||||
label="Create Root for Subnet")
|
||||
tooltip="Create an extra root for the "
|
||||
"Export node when it’s a "
|
||||
"subnetwork. This causes the "
|
||||
"exporting subnetwork node to be "
|
||||
"represented in the FBX file.",
|
||||
default=False,
|
||||
label="Create Root for Subnet")
|
||||
vcformat = EnumDef("vcformat",
|
||||
items={
|
||||
0: "Maya Compatible (MC)",
|
||||
|
|
|
|||
|
|
@ -74,8 +74,8 @@ class ValidateUnrealStaticMeshName(pyblish.api.InstancePlugin,
|
|||
invalid.append(child)
|
||||
cls.log.error(
|
||||
"Invalid name: Child node '%s' in '%s' "
|
||||
"has a collision prefix '%s'"
|
||||
, child.name(), output_node.path(), prefix
|
||||
"has a collision prefix '%s'",
|
||||
child.name(), output_node.path(), prefix
|
||||
)
|
||||
break
|
||||
else:
|
||||
|
|
@ -85,8 +85,8 @@ class ValidateUnrealStaticMeshName(pyblish.api.InstancePlugin,
|
|||
invalid.append(output_node)
|
||||
cls.log.error(
|
||||
"Invalid name: output node '%s' "
|
||||
"has a collision prefix '%s'"
|
||||
, output_node.name(), prefix
|
||||
"has a collision prefix '%s'",
|
||||
output_node.name(), prefix
|
||||
)
|
||||
|
||||
# Check subset name
|
||||
|
|
@ -99,8 +99,8 @@ class ValidateUnrealStaticMeshName(pyblish.api.InstancePlugin,
|
|||
if instance.data.get("subset") != subset_name:
|
||||
invalid.append(rop_node)
|
||||
cls.log.error(
|
||||
"Invalid subset name on rop node '%s' should be '%s'."
|
||||
, rop_node.path(), subset_name
|
||||
"Invalid subset name on rop node '%s' should be '%s'.",
|
||||
rop_node.path(), subset_name
|
||||
)
|
||||
|
||||
return invalid
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue