mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 00:44:52 +01:00
add tooltips for use render version & fix the bug during loading ox rig
This commit is contained in:
parent
12755dbeab
commit
6d7123f8a4
3 changed files with 5 additions and 2 deletions
|
|
@ -1733,7 +1733,7 @@ def is_valid_reference_node(reference_node):
|
|||
"""
|
||||
# maya 2022 is missing `isValidReference` so the check needs to be
|
||||
# done in different way.
|
||||
if cmds.about(version=True) < 2023:
|
||||
if int(cmds.about(version=True)) < 2023:
|
||||
try:
|
||||
cmds.referenceQuery(reference_node, filename=True)
|
||||
return True
|
||||
|
|
|
|||
|
|
@ -23,6 +23,10 @@ class CreateOxCache(plugin.MayaCreator):
|
|||
[
|
||||
BoolDef("renderVersion",
|
||||
label="Use Render Version",
|
||||
tooltip="When on, hair in the scene will be "
|
||||
"switched to render mode and dense hair "
|
||||
"strands will be exported. Otherwise, what "
|
||||
"is seen in the viewport will be exported.",
|
||||
default=True),
|
||||
BoolDef("upDirection",
|
||||
label="Up Direction",
|
||||
|
|
|
|||
|
|
@ -34,5 +34,4 @@ class CollectOxCache(plugin.MayaInstancePlugin):
|
|||
}
|
||||
if shape_data["cbId"]:
|
||||
settings["nodes"].append(shape_data)
|
||||
self.log.debug(settings)
|
||||
instance.data["cachesettings"] = settings
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue