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
This commit is contained in:
Pratik Borhade
2024-11-18 12:44:38 +01:00
committed by Falk David
parent 7911f8e6b3
commit d7d7a6ef97

View File

@@ -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,