Merge branch 'blender-v4.4-release'

This commit is contained in:
Philipp Oeser
2025-03-07 08:35:36 +01:00
3 changed files with 5 additions and 4 deletions

View File

@@ -102,7 +102,7 @@ using namespace blender;
/* Draw Backdrop ---------------------------------- */
/* get backdrop color for top-level widgets (Scene and Object only) */
/* get backdrop color for top-level widgets (Scene, Object and ActionSlot only) */
static void acf_generic_root_color(bAnimContext * /*ac*/,
bAnimListElem * /*ale*/,
float r_color[3])
@@ -1504,9 +1504,9 @@ static bAnimChannelType ACF_ACTION_SLOT = {
/*channel_type_name*/ "Action Slot",
/*channel_role*/ ACHANNEL_ROLE_EXPANDER,
/*get_backdrop_color*/ acf_generic_dataexpand_color,
/*get_backdrop_color*/ acf_generic_root_color,
/*get_channel_color*/ nullptr,
/*draw_backdrop*/ nullptr,
/*draw_backdrop*/ acf_generic_root_backdrop,
/*get_indent_level*/ acf_generic_indentation_0,
/*get_offset*/ acf_generic_group_offset,

View File

@@ -365,7 +365,7 @@ void animviz_motionpath_compute_range(Object *ob, Scene *scene)
const bool has_action = ob->adt && ob->adt->action;
if (avs->path_range == MOTIONPATH_RANGE_SCENE || !has_action ||
BLI_listbase_is_empty(&ob->adt->action->curves))
!blender::animrig::legacy::assigned_action_has_keyframes(ob->adt))
{
/* Default to the scene (preview) range if there is no animation data to
* find selected keys in. */

View File

@@ -220,6 +220,7 @@ static void draw_backdrops(bAnimContext *ac, ListBase &anim_data, View2D *v2d, u
immUniformThemeColor(TH_ANIM_ACTIVE);
break;
}
case ANIMTYPE_ACTION_SLOT:
case ANIMTYPE_SCENE:
case ANIMTYPE_OBJECT: {
immUniformColor3ubvAlpha(col1b, sel ? col1[3] : col1b[3]);