resolve houn

This commit is contained in:
Mustafa-Zarkash 2023-09-01 17:33:54 +03:00
parent 1289390680
commit c73d76ef15
2 changed files with 13 additions and 12 deletions

View file

@ -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 its 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 its 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)",

View file

@ -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