diff options
author | Janne Karhu <jhkarh@gmail.com> | 2011-01-22 17:13:36 +0300 |
---|---|---|
committer | Janne Karhu <jhkarh@gmail.com> | 2011-01-22 17:13:36 +0300 |
commit | 11491201451fbb5e1510979df8d7335ed0ee790f (patch) | |
tree | d9d2662d7cf7363f3b3729232bea65d41099af61 /source/blender/blenkernel/intern/softbody.c | |
parent | 3d635c07331530d41f87e576896bbfbebdaf8c6c (diff) |
Temporary fix for [#25735] Softbody don't work in linked groups, not generate cache
* The whole case of lib linking and pointcaches is not very well defined currently, but this fix sets the behavior of sb to the same as other physics currently.
* A proper fix will be easy to implement after a good physics baking ui is added.
Diffstat (limited to 'source/blender/blenkernel/intern/softbody.c')
-rw-r--r-- | source/blender/blenkernel/intern/softbody.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/softbody.c b/source/blender/blenkernel/intern/softbody.c index e38f1bb545c..3ba18fee615 100644 --- a/source/blender/blenkernel/intern/softbody.c +++ b/source/blender/blenkernel/intern/softbody.c @@ -4151,7 +4151,7 @@ void sbObjectStep(Scene *scene, Object *ob, float cfra, float (*vertexCos)[3], i else if(cache_result==PTCACHE_READ_OLD) { ; /* do nothing */ } - else if(ob->id.lib || (cache->flag & PTCACHE_BAKED)) { + else if(/*ob->id.lib || */(cache->flag & PTCACHE_BAKED)) { /* "library linking & pointcaches" has to be solved properly at some point */ /* if baked and nothing in cache, do nothing */ BKE_ptcache_invalidate(cache); return; |