[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [55432] branches/soc-2008-mxcurioni/source /blender/makesdna: Fix for MAX_NAME (== 64) and FILE_MAX (== 1024) in DNA headers.
Tamito Kajiyama
rd6t-kjym at asahi-net.or.jp
Wed Mar 20 02:05:39 CET 2013
Revision: 55432
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=55432
Author: kjym3
Date: 2013-03-20 01:05:37 +0000 (Wed, 20 Mar 2013)
Log Message:
-----------
Fix for MAX_NAME (== 64) and FILE_MAX (== 1024) in DNA headers.
Suggested by Sergey Sharybin through a code review of the branch.
Modified Paths:
--------------
branches/soc-2008-mxcurioni/source/blender/makesdna/DNA_freestyle_types.h
branches/soc-2008-mxcurioni/source/blender/makesdna/DNA_linestyle_types.h
Modified: branches/soc-2008-mxcurioni/source/blender/makesdna/DNA_freestyle_types.h
===================================================================
--- branches/soc-2008-mxcurioni/source/blender/makesdna/DNA_freestyle_types.h 2013-03-20 00:08:42 UTC (rev 55431)
+++ branches/soc-2008-mxcurioni/source/blender/makesdna/DNA_freestyle_types.h 2013-03-20 01:05:37 UTC (rev 55432)
@@ -90,7 +90,7 @@
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 FreestyleModuleConfig {
struct FreestyleModuleConfig *next, *prev;
- char module_path[256];
+ char module_path[1024]; /* FILE_MAX */
short is_displayed;
short pad[3];
} FreestyleModuleConfig;
Modified: branches/soc-2008-mxcurioni/source/blender/makesdna/DNA_linestyle_types.h
===================================================================
--- branches/soc-2008-mxcurioni/source/blender/makesdna/DNA_linestyle_types.h 2013-03-20 00:08:42 UTC (rev 55431)
+++ branches/soc-2008-mxcurioni/source/blender/makesdna/DNA_linestyle_types.h 2013-03-20 01:05:37 UTC (rev 55432)
@@ -37,7 +37,7 @@
typedef struct LineStyleModifier {
struct LineStyleModifier *next, *prev;
- char name[32];
+ char name[64]; /* MAX_NAME */
int type;
float influence;
int flags;
More information about the Bf-blender-cvs
mailing list