mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-17 14:02:27 +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 = self.layout.row(align=True)
|
||||||
row.alignment = "RIGHT"
|
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")
|
row.prop(self.animation_props, "saved_color_schemes", text="Color Scheme", icon="SEQUENCE_COLOR_04")
|
||||||
else:
|
else:
|
||||||
row.label(text="No Color Scheme Saved", icon="INFO")
|
row.label(text="No Color Scheme Saved", icon="INFO")
|
||||||
|
|||||||
Reference in New Issue
Block a user