Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Carlisle <carlisle.b3d@gmail.com>2021-07-10 02:23:08 +0300
committerAaron Carlisle <carlisle.b3d@gmail.com>2021-07-10 02:23:08 +0300
commit62d9dabc7db4e241df9fc0edfc571b929493c331 (patch)
treeb07839c6c628286e353ade25ac9eb1d75553a14d /release/scripts/startup/bl_ui/space_clip.py
parentd5e91ae883283e3ec51db7b7b635491e1a02f1b5 (diff)
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.
Diffstat (limited to 'release/scripts/startup/bl_ui/space_clip.py')
-rw-r--r--release/scripts/startup/bl_ui/space_clip.py3
1 files changed, 2 insertions, 1 deletions
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()