mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 01:41:57 +00:00
fix warning statement when there are no saved animation color schemes
This commit is contained in:
@@ -556,7 +556,7 @@ class BIM_PT_animation_tools(Panel):
|
||||
|
||||
row = self.layout.row(align=True)
|
||||
row.alignment = "RIGHT"
|
||||
if self.animation_props.saved_color_schemes:
|
||||
if AnimationColorSchemeData.data["saved_color_schemes"]:
|
||||
row.prop(self.animation_props, "saved_color_schemes", text="Color Scheme", icon="SEQUENCE_COLOR_04")
|
||||
else:
|
||||
row.label(text="No Color Scheme Saved", icon="INFO")
|
||||
|
||||
Reference in New Issue
Block a user