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>2010-01-01 17:04:39 +0300
committerCampbell Barton <ideasman42@gmail.com>2010-01-01 17:04:39 +0300
commit422335b3a247a719031cb5c8da83df1ae3c5fc03 (patch)
tree6e07b0361d1c9ba46ca39131be3a99acfb357bf1 /source/blender/blenloader
parent053093fb7a3643c2a1843749fb36477d2d165036 (diff)
fix for crash in recent ghost/do_versions
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r--source/blender/blenloader/intern/readfile.c2
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 ---------------- */