From 6ed6741ee35930bf81fad9a5eb6bb17eea168725 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Fri, 4 Dec 2020 10:13:55 +0100 Subject: Point users to new location of "Show Group Colors" option In ad85256e7108 the "Show Group Colors" option was changed from a per-editor option to a user preference. Since so many people wanted to turn this option off, this makes sense. However, this move caused some confusion because the option was just gone from the menu. This commit adds a dummy menu item. It's disabled, and the tooltip explains that the option can now be found in Preferences. T83390 was created to track the removal of these hints. Reviewed by: Severin Differential Revision: https://developer.blender.org/D9735 --- release/scripts/startup/bl_ui/space_graph.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'release/scripts/startup/bl_ui/space_graph.py') diff --git a/release/scripts/startup/bl_ui/space_graph.py b/release/scripts/startup/bl_ui/space_graph.py index 0c37b58a583..6ece6a4c841 100644 --- a/release/scripts/startup/bl_ui/space_graph.py +++ b/release/scripts/startup/bl_ui/space_graph.py @@ -18,6 +18,7 @@ # +import bpy from bpy.types import Header, Menu, Panel from bl_ui.space_dopesheet import ( DopesheetFilterPopoverBase, @@ -119,6 +120,10 @@ class GRAPH_MT_view(Menu): layout.prop(st, "use_realtime_update") layout.prop(st, "show_cursor") layout.prop(st, "show_sliders") + + if bpy.app.version < (2, 93): + layout.operator("anim.show_group_colors_deprecated", icon='CHECKBOX_HLT') + layout.prop(st, "use_auto_merge_keyframes") if st.mode != 'DRIVERS': -- cgit v1.2.3