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:
authorLukas Tönne <lukas.toenne@gmail.com>2015-05-04 13:54:29 +0300
committerLukas Tönne <lukas.toenne@gmail.com>2015-05-04 13:54:29 +0300
commit809d5d92d35b1a8ccbc948e125f94beff15e2b00 (patch)
treedb0be0df9cc0e97fbc44c66e182f81b9737e1890 /source/blender/blenloader/intern
parent247de3f9db4813425b9def862d123219c9916a8b (diff)
Fix for lib_link of cache shape keys, avoid discarding this, they are
expected to stay alive.
Diffstat (limited to 'source/blender/blenloader/intern')
-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 1057f840d22..1e22f2e5626 100644
--- a/source/blender/blenloader/intern/readfile.c
+++ b/source/blender/blenloader/intern/readfile.c
@@ -2011,7 +2011,7 @@ static void lib_link_cache_modifiers(FileData *fd, CacheLibrary *cachelib)
case eCacheModifierType_StrandsKey: {
StrandsKeyCacheModifier *skmd = (StrandsKeyCacheModifier *)md;
/* Key is a local ID block, not handled by foreachIDLink */
- skmd->key = newlibadr(fd, cachelib->id.lib, skmd->key);
+ skmd->key = newlibadr_us(fd, cachelib->id.lib, skmd->key);
break;
}
}