forked from bartvdbraak/blender
Fix for MAX_NAME (== 64) and FILE_MAX (== 1024) in DNA headers.
Suggested by Sergey Sharybin through a code review of the branch.
This commit is contained in:
parent
cde0230a98
commit
1f6c9d18ed
@ -90,7 +90,7 @@ struct FreestyleLineStyle;
|
||||
typedef struct FreestyleLineSet {
|
||||
struct FreestyleLineSet *next, *prev;
|
||||
|
||||
char name[32]; /* line set name */
|
||||
char name[64]; /* line set name, MAX_NAME */
|
||||
int flags;
|
||||
|
||||
int selection; /* selection criteria */
|
||||
@ -107,7 +107,7 @@ typedef struct FreestyleLineSet {
|
||||
typedef struct FreestyleModuleConfig {
|
||||
struct FreestyleModuleConfig *next, *prev;
|
||||
|
||||
char module_path[256];
|
||||
char module_path[1024]; /* FILE_MAX */
|
||||
short is_displayed;
|
||||
short pad[3];
|
||||
} FreestyleModuleConfig;
|
||||
|
@ -37,7 +37,7 @@ struct CurveMapping;
|
||||
typedef struct LineStyleModifier {
|
||||
struct LineStyleModifier *next, *prev;
|
||||
|
||||
char name[32];
|
||||
char name[64]; /* MAX_NAME */
|
||||
int type;
|
||||
float influence;
|
||||
int flags;
|
||||
|
Loading…
Reference in New Issue
Block a user