mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-09 13:52:23 +00:00
Fix LoadGroupDecorationData data item name for consistency
This commit is contained in:
@@ -39,7 +39,9 @@ class LoadGroupDecorationData:
|
|||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def load(cls):
|
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
|
cls.is_loaded = True
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ from bpy.props import (
|
|||||||
def get_load_groups_to_show(self, context):
|
def get_load_groups_to_show(self, context):
|
||||||
if not LoadGroupDecorationData.is_loaded:
|
if not LoadGroupDecorationData.is_loaded:
|
||||||
LoadGroupDecorationData.load()
|
LoadGroupDecorationData.load()
|
||||||
return LoadGroupDecorationData.data["load groups to show"]
|
return LoadGroupDecorationData.data["load_groups_to_show"]
|
||||||
|
|
||||||
|
|
||||||
def update_activity_type(self, context):
|
def update_activity_type(self, context):
|
||||||
|
|||||||
Reference in New Issue
Block a user