Fix LoadGroupDecorationData data item name for consistency

This commit is contained in:
Andrej730
2025-01-23 13:38:26 +05:00
parent 8f9417a59a
commit 582476cabe
2 changed files with 4 additions and 2 deletions
@@ -39,7 +39,9 @@ class LoadGroupDecorationData:
@classmethod
def load(cls):
cls.data = {"load groups to show": cls.load_groups_to_show()}
cls.data = {
"load_groups_to_show": cls.load_groups_to_show(),
}
cls.is_loaded = True
@classmethod
@@ -43,7 +43,7 @@ from bpy.props import (
def get_load_groups_to_show(self, context):
if not LoadGroupDecorationData.is_loaded:
LoadGroupDecorationData.load()
return LoadGroupDecorationData.data["load groups to show"]
return LoadGroupDecorationData.data["load_groups_to_show"]
def update_activity_type(self, context):