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:
-rw-r--r--source/blender/blenloader/intern/readfile.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c
index 0387e260915..18b461eb31d 100644
--- a/source/blender/blenloader/intern/readfile.c
+++ b/source/blender/blenloader/intern/readfile.c
@@ -11752,7 +11752,8 @@ static void do_versions(FileData *fd, Library *lib, Main *main)
aa->end = ia->end;
strcpy(aa->name, ia->name);
strcpy(aa->frameProp, ia->frameProp);
- aa->act = ob->adt->action;
+ if (ob->adt)
+ aa->act = ob->adt->action;
// Get rid of the old actuator
MEM_freeN(ia);