mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
Add a few tooltips
This commit is contained in:
parent
f1267546d2
commit
d5823ab556
1 changed files with 23 additions and 0 deletions
|
|
@ -55,12 +55,29 @@ class CreateMayaUsd(plugin.MayaCreator):
|
||||||
default="usdc"),
|
default="usdc"),
|
||||||
BoolDef("stripNamespaces",
|
BoolDef("stripNamespaces",
|
||||||
label="Strip Namespaces",
|
label="Strip Namespaces",
|
||||||
|
tooltip=(
|
||||||
|
"Remove namespaces during export. By default, "
|
||||||
|
"namespaces are exported to the USD file in the "
|
||||||
|
"following format: nameSpaceExample_pPlatonic1"
|
||||||
|
),
|
||||||
default=True),
|
default=True),
|
||||||
BoolDef("mergeTransformAndShape",
|
BoolDef("mergeTransformAndShape",
|
||||||
label="Merge Transform and Shape",
|
label="Merge Transform and Shape",
|
||||||
|
tooltip=(
|
||||||
|
"Combine Maya transform and shape into a single USD"
|
||||||
|
"prim that has transform and geometry, for all"
|
||||||
|
" \"geometric primitives\" (gprims).\n"
|
||||||
|
"This results in smaller and faster scenes. Gprims "
|
||||||
|
"will be \"unpacked\" back into transform and shape "
|
||||||
|
"nodes when imported into Maya from USD."
|
||||||
|
),
|
||||||
default=True),
|
default=True),
|
||||||
BoolDef("includeUserDefinedAttributes",
|
BoolDef("includeUserDefinedAttributes",
|
||||||
label="Include User Defined Attributes",
|
label="Include User Defined Attributes",
|
||||||
|
tooltip=(
|
||||||
|
"Whether to include all custom maya attributes found "
|
||||||
|
"on nodes as metadata (userProperties) in USD."
|
||||||
|
),
|
||||||
default=False),
|
default=False),
|
||||||
TextDef("attr",
|
TextDef("attr",
|
||||||
label="Custom Attributes",
|
label="Custom Attributes",
|
||||||
|
|
@ -73,6 +90,12 @@ class CreateMayaUsd(plugin.MayaCreator):
|
||||||
EnumDef("jobContext",
|
EnumDef("jobContext",
|
||||||
label="Job Context",
|
label="Job Context",
|
||||||
items=self.cache["jobContextItems"],
|
items=self.cache["jobContextItems"],
|
||||||
|
tooltip=(
|
||||||
|
"Specifies an additional export context to handle.\n"
|
||||||
|
"These usually contain extra schemas, primitives,\n"
|
||||||
|
"and materials that are to be exported for a "
|
||||||
|
"specific\ntask, a target renderer for example."
|
||||||
|
),
|
||||||
multiselection=True),
|
multiselection=True),
|
||||||
])
|
])
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue