Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Maya: Fix attribute definitions for CreateYetiCache #5574

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions openpype/hosts/maya/plugins/create/create_yeti_cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ class CreateYetiCache(plugin.MayaCreator):
family = "yeticache"
icon = "pagelines"

def __init__(self, *args, **kwargs):
super(CreateYetiCache, self).__init__(*args, **kwargs)
def get_instance_attr_defs(self):

defs = [
NumberDef("preroll",
Expand All @@ -36,3 +35,5 @@ def __init__(self, *args, **kwargs):
default=3,
decimals=0)
)

return defs
Loading