From dc75023f6ff54d1b7c99360260fa3e70a4e42005 Mon Sep 17 00:00:00 2001 From: Janne Karhu Date: Sun, 2 Aug 2009 19:39:33 +0000 Subject: 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". --- source/blender/editors/mesh/editmesh.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/editors/mesh/editmesh.c') 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 */ -- cgit v1.2.3