mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
don't call 'super' in 'get_instance_attr_defs'
This commit is contained in:
parent
da1bb3fad5
commit
820bb7318e
1 changed files with 2 additions and 6 deletions
|
|
@ -99,9 +99,7 @@ class CreateAnimation(plugin.MayaHiddenCreator):
|
|||
return node_data
|
||||
|
||||
def get_instance_attr_defs(self):
|
||||
defs = list(super().get_instance_attr_defs())
|
||||
defs.extend(_get_animation_attr_defs(self))
|
||||
return defs
|
||||
return _get_animation_attr_defs(self)
|
||||
|
||||
|
||||
class CreatePointCache(plugin.MayaCreator):
|
||||
|
|
@ -123,9 +121,7 @@ class CreatePointCache(plugin.MayaCreator):
|
|||
return node_data
|
||||
|
||||
def get_instance_attr_defs(self):
|
||||
defs = list(super().get_instance_attr_defs())
|
||||
defs.extend(_get_animation_attr_defs(self))
|
||||
return defs
|
||||
return _get_animation_attr_defs(self)
|
||||
|
||||
def create(self, product_name, instance_data, pre_create_data):
|
||||
instance = super(CreatePointCache, self).create(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue