mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
add an include parent hierarchy option in animation creator plugin of maya
This commit is contained in:
parent
58d2c25247
commit
f050a024aa
3 changed files with 9 additions and 1 deletions
|
|
@ -13,6 +13,7 @@ class CreateAnimation(plugin.Creator):
|
|||
icon = "male"
|
||||
write_color_sets = False
|
||||
write_face_sets = False
|
||||
include_parent_hierarchy = False
|
||||
include_user_defined_attributes = False
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
|
|
@ -37,7 +38,8 @@ class CreateAnimation(plugin.Creator):
|
|||
self.data["visibleOnly"] = False
|
||||
|
||||
# Include the groups above the out_SET content
|
||||
self.data["includeParentHierarchy"] = False # Include parent groups
|
||||
# Include parent groups
|
||||
self.data["includeParentHierarchy"] = self.include_parent_hierarchy
|
||||
|
||||
# Default to exporting world-space
|
||||
self.data["worldSpace"] = True
|
||||
|
|
|
|||
|
|
@ -147,6 +147,7 @@
|
|||
"enabled": true,
|
||||
"write_color_sets": false,
|
||||
"write_face_sets": false,
|
||||
"include_parent_hierarchy": false,
|
||||
"include_user_defined_attributes": false,
|
||||
"defaults": [
|
||||
"Main"
|
||||
|
|
|
|||
|
|
@ -132,6 +132,11 @@
|
|||
"key": "write_face_sets",
|
||||
"label": "Write Face Sets"
|
||||
},
|
||||
{
|
||||
"type": "boolean",
|
||||
"key": "include_parent_hierarchy",
|
||||
"label": "Include Parent Hierarchy"
|
||||
},
|
||||
{
|
||||
"type": "boolean",
|
||||
"key": "include_user_defined_attributes",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue