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:
authorJanne Karhu <jhkarh@gmail.com>2009-08-02 23:39:33 +0400
committerJanne Karhu <jhkarh@gmail.com>2009-08-02 23:39:33 +0400
commitdc75023f6ff54d1b7c99360260fa3e70a4e42005 (patch)
treed445af308df4ad8612d0cdd352b48d98b0705a47 /source/blender/editors/mesh/editmesh.c
parent7b123ff13c21984c36a44962b5e48d8ae8b69c6e (diff)
Softbody now uses the new pointcache code.
Note: Rna access to softbody point cache is through softbody modifier although the point cache is in softbody settings. This is to make it similar to cloth. Bugfix: Softbody rna was trying to get "ob->soft->softflag" instead of the correct "ob->softflag".
Diffstat (limited to 'source/blender/editors/mesh/editmesh.c')
-rw-r--r--source/blender/editors/mesh/editmesh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/mesh/editmesh.c b/source/blender/editors/mesh/editmesh.c
index 6c66ae468fa..e32dd0e8ac7 100644
--- a/source/blender/editors/mesh/editmesh.c
+++ b/source/blender/editors/mesh/editmesh.c
@@ -1160,7 +1160,7 @@ void load_editMesh(Scene *scene, Object *ob)
if(pid.type == PTCACHE_TYPE_CLOTH)
cloth_write_cache(ob, pid.data, pid.cache->editframe);
else if(pid.type == PTCACHE_TYPE_SOFTBODY)
- sbWriteCache(ob, pid.cache->editframe);
+ softbody_write_cache(ob, pid.data, pid.cache->editframe);
}
/* the edges */