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:
authorCampbell Barton <ideasman42@gmail.com>2011-04-08 06:21:43 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-04-08 06:21:43 +0400
commitb0d6c0fdeec78da1d541b3b74ad417b07f7e0e69 (patch)
tree377cc78fcfe8feabe651426aa19b1d4a3bfc16c0 /source/blender/blenloader
parent6b3f5ecd18e0b780607941708347ba48663f2a42 (diff)
fix [#26830] Blender crashes when opening this file
was linking NLA fcurve modifiers as fcurves (wrong function call).
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r--source/blender/blenloader/intern/readfile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c
index 779e08e8ba0..1f4c8a51f4b 100644
--- a/source/blender/blenloader/intern/readfile.c
+++ b/source/blender/blenloader/intern/readfile.c
@@ -234,7 +234,7 @@ typedef struct OldNewMap {
/* local prototypes */
static void *read_struct(FileData *fd, BHead *bh, const char *blockname);
-
+static void direct_link_modifiers(FileData *fd, ListBase *lb);
static OldNewMap *oldnewmap_new(void)
{
@@ -1894,7 +1894,7 @@ static void direct_link_nladata_strips(FileData *fd, ListBase *list)
/* strip's F-Modifiers */
link_list(fd, &strip->modifiers);
- direct_link_fcurves(fd, &strip->modifiers);
+ direct_link_modifiers(fd, &strip->modifiers);
}
}