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
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user