From 62d9dabc7db4e241df9fc0edfc571b929493c331 Mon Sep 17 00:00:00 2001 From: Aaron Carlisle Date: Fri, 9 Jul 2021 19:23:08 -0400 Subject: UI: Clip: Fix checkbox wrongly greying out entire column The Pattern and Search display options in the Clip Editor display settings are independent and should not be grayed out since those options remain relevant even with path display turned off. Alternative solution were propoesed in D11630 and D11715 but each of those patches had downsides. This solution is the simplest and does not break muscle memory. --- release/scripts/startup/bl_ui/space_clip.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'release') diff --git a/release/scripts/startup/bl_ui/space_clip.py b/release/scripts/startup/bl_ui/space_clip.py index ca7f9cdc100..afbc3abf302 100644 --- a/release/scripts/startup/bl_ui/space_clip.py +++ b/release/scripts/startup/bl_ui/space_clip.py @@ -72,8 +72,9 @@ class CLIP_PT_marker_display(Panel): col.prop(view, "show_marker_pattern", text="Pattern") col.prop(view, "show_marker_search", text="Search") - col.active = view.show_track_path col.prop(view, "show_track_path", text="Path") + col = col.column() + col.active = view.show_track_path col.prop(view, "path_length", text="Length") col = row.column() -- cgit v1.2.3