diff --git a/source/blender/makesdna/DNA_anim_types.h b/source/blender/makesdna/DNA_anim_types.h index 590179e0a0f..e41ca93bdec 100644 --- a/source/blender/makesdna/DNA_anim_types.h +++ b/source/blender/makesdna/DNA_anim_types.h @@ -54,7 +54,7 @@ typedef struct FModifier { void *data; /* pointer to modifier data */ - char name[64]; /* user-defined description for the modifier */ + char name[64]; /* user-defined description for the modifier - MAX_ID_NAME-2 */ short type; /* type of f-curve modifier */ short flag; /* settings for the modifier */ @@ -271,7 +271,7 @@ typedef struct DriverTarget { char *rna_path; /* RNA path defining the setting to use (for DVAR_TYPE_SINGLE_PROP) */ - char pchan_name[32]; /* name of the posebone to use (for vars where DTAR_FLAG_STRUCT_REF is used) */ + char pchan_name[64]; /* name of the posebone to use (for vars where DTAR_FLAG_STRUCT_REF is used) - MAX_ID_NAME-2 */ short transChan; /* transform channel index (for DVAR_TYPE_TRANSFORM_CHAN)*/ short flag; /* flags for the validity of the target (NOTE: these get reset every time the types change) */ @@ -328,7 +328,7 @@ typedef enum eDriverTarget_TransformChannels { typedef struct DriverVar { struct DriverVar *next, *prev; - char name[64]; /* name of the variable to use in py-expression (must be valid python identifier) */ + char name[64]; /* name of the variable to use in py-expression (must be valid python identifier) - MAX_ID_NAME-2 */ DriverTarget targets[8]; /* MAX_DRIVER_TARGETS, target slots */ short num_targets; /* number of targets actually used by this variable */ @@ -568,7 +568,7 @@ typedef struct NlaStrip { ListBase fcurves; /* F-Curves for controlling this strip's influence and timing */ // TODO: move out? ListBase modifiers; /* F-Curve modifiers to be applied to the entire strip's referenced F-Curves */ - char name[64]; /* User-Visible Identifier for Strip */ + char name[64]; /* User-Visible Identifier for Strip - MAX_ID_NAME-2 */ float influence; /* Influence of strip */ float strip_time; /* Current 'time' within action being used (automatically evaluated, but can be overridden) */ @@ -678,7 +678,7 @@ typedef struct NlaTrack { int flag; /* settings for this track */ int index; /* index of the track in the stack (NOTE: not really useful, but we need a pad var anyways!) */ - char name[64]; /* short user-description of this track */ + char name[64]; /* short user-description of this track - MAX_ID_NAME-2 */ } NlaTrack; /* settings for track */ @@ -714,7 +714,7 @@ typedef struct KS_Path { struct KS_Path *next, *prev; ID *id; /* ID block that keyframes are for */ - char group[64]; /* name of the group to add to */ + char group[64]; /* name of the group to add to - MAX_ID_NAME-2 */ int idtype; /* ID-type that path can be used on */ @@ -765,10 +765,10 @@ typedef struct KeyingSet { ListBase paths; /* (KS_Path) paths to keyframe to */ - char idname[64]; /* unique name (for search, etc.) */ - char name[64]; /* user-viewable name for KeyingSet (for menus, etc.) */ + char idname[64]; /* unique name (for search, etc.) - MAX_ID_NAME-2 */ + char name[64]; /* user-viewable name for KeyingSet (for menus, etc.) - MAX_ID_NAME-2 */ char description[240]; /* (RNA_DYN_DESCR_MAX) short help text. */ - char typeinfo[64]; /* name of the typeinfo data used for the relative paths */ + char typeinfo[64]; /* name of the typeinfo data used for the relative paths - MAX_ID_NAME-2 */ int active_path; /* index of the active path */