[Bf-blender-cvs] [96bbbbd] alembic: Follow up fix for bend stiffness curve map versioning.
Lukas Tönne
noreply at git.blender.org
Fri May 8 13:00:40 CEST 2015
Commit: 96bbbbd5ea9c80341108e497def4d2199a8f831b
Author: Lukas Tönne
Date: Fri May 8 12:59:27 2015 +0200
Branches: alembic
https://developer.blender.org/rB96bbbbd5ea9c80341108e497def4d2199a8f831b
Follow up fix for bend stiffness curve map versioning.
The DNA lookup for pointers is a bit weird, it expects "CurveMapping" as
the type name, but then the variable field becomes
"*bend_stiffness_mapping".
===================================================================
M source/blender/blenloader/intern/versioning_270.c
===================================================================
diff --git a/source/blender/blenloader/intern/versioning_270.c b/source/blender/blenloader/intern/versioning_270.c
index 1c9e979..bd0df42 100644
--- a/source/blender/blenloader/intern/versioning_270.c
+++ b/source/blender/blenloader/intern/versioning_270.c
@@ -834,7 +834,7 @@ void blo_do_versions_270(FileData *fd, Library *UNUSED(lib), Main *main)
}
}
- if (!DNA_struct_elem_find(fd->filesdna, "HairSimParams", "CurveMapping", "bend_stiffness_mapping")) {
+ if (!DNA_struct_elem_find(fd->filesdna, "HairSimParams", "CurveMapping", "*bend_stiffness_mapping")) {
CacheLibrary *cachelib;
for (cachelib = main->cache_library.first; cachelib; cachelib = cachelib->id.next) {
CacheModifier *md;
More information about the Bf-blender-cvs
mailing list