Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2010-01-05 17:56:48 +0300
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2010-01-05 17:56:48 +0300
commit9a3362c84f11b357121c43dd371e335096341f06 (patch)
tree4de066f8600693a45112498761d20dc31c9dd55f /source/blender/makesdna/DNA_anim_types.h
parent88485f7c03723f67d423141c926ce9845d5881bf (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.h2
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) */