From 9a6d95600d0aacb8c7e17de62e62d821ec39150a Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 24 Jul 2025 22:17:43 +1000 Subject: [PATCH] Cleanup: use define for action group name size --- source/blender/editors/animation/anim_filter.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/blender/editors/animation/anim_filter.cc b/source/blender/editors/animation/anim_filter.cc index 168c6a2f5a9..815eae948c3 100644 --- a/source/blender/editors/animation/anim_filter.cc +++ b/source/blender/editors/animation/anim_filter.cc @@ -1126,7 +1126,7 @@ static bool skip_fcurve_with_name( /* get type info for channel */ acf = ANIM_channel_get_typeinfo(&ale_dummy); if (acf && acf->name) { - char name[256]; /* hopefully this will be enough! */ + char name[ANIM_CHAN_NAME_SIZE]; /* get name */ acf->name(&ale_dummy, name);