forked from bartvdbraak/blender
fix [#26830] Blender crashes when opening this file
was linking NLA fcurve modifiers as fcurves (wrong function call).
This commit is contained in:
parent
6b3f5ecd18
commit
b0d6c0fdee
@ -234,7 +234,7 @@ typedef struct OldNewMap {
|
|||||||
|
|
||||||
/* local prototypes */
|
/* local prototypes */
|
||||||
static void *read_struct(FileData *fd, BHead *bh, const char *blockname);
|
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)
|
static OldNewMap *oldnewmap_new(void)
|
||||||
{
|
{
|
||||||
@ -1894,7 +1894,7 @@ static void direct_link_nladata_strips(FileData *fd, ListBase *list)
|
|||||||
|
|
||||||
/* strip's F-Modifiers */
|
/* strip's F-Modifiers */
|
||||||
link_list(fd, &strip->modifiers);
|
link_list(fd, &strip->modifiers);
|
||||||
direct_link_fcurves(fd, &strip->modifiers);
|
direct_link_modifiers(fd, &strip->modifiers);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user