[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [34452] trunk/blender/source/blender/ blenkernel/intern/softbody.c: Temporary fix for [#25735] Softbody don' t work in linked groups, not generate cache

Janne Karhu jhkarh at gmail.com
Sat Jan 22 15:13:37 CET 2011


Revision: 34452
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=34452
Author:   jhk
Date:     2011-01-22 14:13:36 +0000 (Sat, 22 Jan 2011)
Log Message:
-----------
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.

Modified Paths:
--------------
    trunk/blender/source/blender/blenkernel/intern/softbody.c

Modified: trunk/blender/source/blender/blenkernel/intern/softbody.c
===================================================================
--- trunk/blender/source/blender/blenkernel/intern/softbody.c	2011-01-22 07:15:44 UTC (rev 34451)
+++ trunk/blender/source/blender/blenkernel/intern/softbody.c	2011-01-22 14:13:36 UTC (rev 34452)
@@ -4151,7 +4151,7 @@
 	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;




More information about the Bf-blender-cvs mailing list