From dfec8171cc72f75ab01ac027411eff093e73f41d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lukas=20T=C3=B6nne?= Date: Thu, 8 Feb 2024 12:34:27 +0100 Subject: [PATCH] Modifiers: Increase the length of name strings in ModifierTypeInfo These name fields run out of space for some of the new Grease Pencil modifiers, like "GreasePencilEnvelopeModifierData". Only one of these strings is stored for each modifier type, so this should have almost no impact on size. Pull Request: https://projects.blender.org/blender/blender/pulls/117980 --- source/blender/blenkernel/BKE_modifier.hh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/blender/blenkernel/BKE_modifier.hh b/source/blender/blenkernel/BKE_modifier.hh index 18b76155bdf..b31d5caa89b 100644 --- a/source/blender/blenkernel/BKE_modifier.hh +++ b/source/blender/blenkernel/BKE_modifier.hh @@ -165,15 +165,15 @@ struct ModifierEvalContext { struct ModifierTypeInfo { /* A unique identifier for this modifier. Used to generate the panel id type name. * See #BKE_modifier_type_panel_id. */ - char idname[32]; + char idname[64]; /* The user visible name for this modifier */ - char name[32]; + char name[64]; /* The DNA struct name for the modifier data type, used to * write the DNA data out. */ - char struct_name[32]; + char struct_name[64]; /* The size of the modifier data type, used by allocation. */ int struct_size;