From 8e97203f7d1101d8069b22f0f9a5666812704e22 Mon Sep 17 00:00:00 2001 From: Joshua Leung Date: Thu, 24 May 2012 01:25:31 +0000 Subject: Restoring Group Colours for Animation Channels - Part 1 This commit restores the group colours support for F-Curves and F-Curve Groups in the DopeSheet and Graph Editors. Currently the relevant settings for groups are only exposed via RNA, but a followup commit will add support for automatically setting these colours. By default, DopeSheet and Graph Editors are set to display these colours if/when they are available. This functionality used to be in 2.48, and is a useful mechanism for visually distinguishing between channels for different controls when animating (if group colours are used on the rigs too). --- release/scripts/startup/bl_ui/space_dopesheet.py | 1 + release/scripts/startup/bl_ui/space_graph.py | 1 + 2 files changed, 2 insertions(+) (limited to 'release') diff --git a/release/scripts/startup/bl_ui/space_dopesheet.py b/release/scripts/startup/bl_ui/space_dopesheet.py index e39ed4ec326..8e955338480 100644 --- a/release/scripts/startup/bl_ui/space_dopesheet.py +++ b/release/scripts/startup/bl_ui/space_dopesheet.py @@ -149,6 +149,7 @@ class DOPESHEET_MT_view(Menu): layout.prop(st, "use_realtime_update") layout.prop(st, "show_frame_indicator") layout.prop(st, "show_sliders") + layout.prop(st, "show_group_colors") layout.prop(st, "use_auto_merge_keyframes") layout.prop(st, "use_marker_sync") diff --git a/release/scripts/startup/bl_ui/space_graph.py b/release/scripts/startup/bl_ui/space_graph.py index 8c28835fa99..972b4ebe721 100644 --- a/release/scripts/startup/bl_ui/space_graph.py +++ b/release/scripts/startup/bl_ui/space_graph.py @@ -75,6 +75,7 @@ class GRAPH_MT_view(Menu): layout.prop(st, "show_frame_indicator") layout.prop(st, "show_cursor") layout.prop(st, "show_sliders") + layout.prop(st, "show_group_colors") layout.prop(st, "use_auto_merge_keyframes") layout.separator() -- cgit v1.2.3