mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
pointcache does not append attr definitions to base list but to new list
This commit is contained in:
parent
74d039feb9
commit
da1bb3fad5
1 changed files with 4 additions and 4 deletions
|
|
@ -99,8 +99,8 @@ class CreateAnimation(plugin.MayaHiddenCreator):
|
|||
return node_data
|
||||
|
||||
def get_instance_attr_defs(self):
|
||||
defs = super(CreateAnimation, self).get_instance_attr_defs()
|
||||
defs += _get_animation_attr_defs(self)
|
||||
defs = list(super().get_instance_attr_defs())
|
||||
defs.extend(_get_animation_attr_defs(self))
|
||||
return defs
|
||||
|
||||
|
||||
|
|
@ -123,8 +123,8 @@ class CreatePointCache(plugin.MayaCreator):
|
|||
return node_data
|
||||
|
||||
def get_instance_attr_defs(self):
|
||||
defs = super(CreatePointCache, self).get_instance_attr_defs()
|
||||
defs += _get_animation_attr_defs(self)
|
||||
defs = list(super().get_instance_attr_defs())
|
||||
defs.extend(_get_animation_attr_defs(self))
|
||||
return defs
|
||||
|
||||
def create(self, product_name, instance_data, pre_create_data):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue