diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-01-01 17:04:39 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-01-01 17:04:39 +0300 |
commit | 422335b3a247a719031cb5c8da83df1ae3c5fc03 (patch) | |
tree | 6e07b0361d1c9ba46ca39131be3a99acfb357bf1 /source/blender/blenloader | |
parent | 053093fb7a3643c2a1843749fb36477d2d165036 (diff) |
fix for crash in recent ghost/do_versions
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r-- | source/blender/blenloader/intern/readfile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c index 8f127fc65cf..6717bb2b89c 100644 --- a/source/blender/blenloader/intern/readfile.c +++ b/source/blender/blenloader/intern/readfile.c @@ -10341,7 +10341,7 @@ static void do_versions(FileData *fd, Library *lib, Main *main) /* if armature, copy settings for pose from armature data */ if (ob->pose && ob->data) { - bArmature *arm= (bArmature *)ob->data; + bArmature *arm= newlibadr(fd, lib, ob->data); bAnimVizSettings *avs= &ob->pose->avs; /* ghosting settings ---------------- */ |