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".
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user