From d7d7a6ef97b80e2eb6408b646f065b8bcb360cdf Mon Sep 17 00:00:00 2001 From: Pratik Borhade Date: Mon, 18 Nov 2024 12:44:38 +0100 Subject: [PATCH] Fix: GPv3: Hide channel color for layers in dopesheet This is not implemented yet so remove the callback function which draws channel color for GPv3 layers. Also `acf_gpl_channel_color` is a legacy function, it may lead to different channel color as explained in #130370. Pull Request: https://projects.blender.org/blender/blender/pulls/130445 --- source/blender/editors/animation/anim_channels_defines.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/blender/editors/animation/anim_channels_defines.cc b/source/blender/editors/animation/anim_channels_defines.cc index 9f23cae665e..498c362578a 100644 --- a/source/blender/editors/animation/anim_channels_defines.cc +++ b/source/blender/editors/animation/anim_channels_defines.cc @@ -3973,7 +3973,7 @@ static bAnimChannelType ACF_GPL = { /*channel_role*/ ACHANNEL_ROLE_CHANNEL, /*get_backdrop_color*/ acf_generic_channel_color, - /*get_channel_color*/ acf_gpl_channel_color, + /*get_channel_color*/ nullptr, /*draw_backdrop*/ acf_generic_channel_backdrop, /*get_indent_level*/ acf_generic_indentation_flexible, /*get_offset*/ greasepencil::layer_offset,