do not pass self to the function

This commit is contained in:
Jakub Trllo 2024-06-12 13:48:52 +02:00
parent 820bb7318e
commit 5a74d5c986

View file

@ -8,7 +8,7 @@ from ayon_core.lib import (
)
def _get_animation_attr_defs(cls):
def _get_animation_attr_defs():
"""Get Animation generic definitions."""
defs = lib.collect_animation_defs()
defs.extend(
@ -99,7 +99,7 @@ class CreateAnimation(plugin.MayaHiddenCreator):
return node_data
def get_instance_attr_defs(self):
return _get_animation_attr_defs(self)
return _get_animation_attr_defs()
class CreatePointCache(plugin.MayaCreator):
@ -121,7 +121,7 @@ class CreatePointCache(plugin.MayaCreator):
return node_data
def get_instance_attr_defs(self):
return _get_animation_attr_defs(self)
return _get_animation_attr_defs()
def create(self, product_name, instance_data, pre_create_data):
instance = super(CreatePointCache, self).create(