diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2010-01-05 17:56:48 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2010-01-05 17:56:48 +0300 |
commit | 9a3362c84f11b357121c43dd371e335096341f06 (patch) | |
tree | 4de066f8600693a45112498761d20dc31c9dd55f /source/blender/makesdna/DNA_anim_types.h | |
parent | 88485f7c03723f67d423141c926ce9845d5881bf (diff) |
BUGFIX: revision 25736 (about 3 hours ago) introduced a problem in SDNA
for drivers, which will cause files that include drivers and saved since
then to crash on load, and loading existing files to crash as well. This
commit fixes that problem. So, don't use builds from revision 25736-25743.
The problem is this line, SDNA does not support parsing #defines:
DriverTarget targets[MAX_DRIVER_TARGETS];
Diffstat (limited to 'source/blender/makesdna/DNA_anim_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_anim_types.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_anim_types.h b/source/blender/makesdna/DNA_anim_types.h index dda9073aa63..5b0dfbdd574 100644 --- a/source/blender/makesdna/DNA_anim_types.h +++ b/source/blender/makesdna/DNA_anim_types.h @@ -293,7 +293,7 @@ typedef struct DriverVar { char name[64]; /* name of the variable to use in py-expression (must be valid python identifier) */ - DriverTarget targets[MAX_DRIVER_TARGETS]; /* target slots */ + DriverTarget targets[8]; /* MAX_DRIVER_TARGETS, target slots */ int num_targets; /* number of targets actually used by this variable */ int type; /* type of driver target (eDriverTarget_Types) */ |