Commit: edfdb0f1aeb2f7ea8ff21c46115515553aca6152
Author: Bastien Montagne
Date:   Tue Jun 21 12:06:54 2016 +0200
Branches: id-remap
https://developer.blender.org/rBedfdb0f1aeb2f7ea8ff21c46115515553aca6152

Add missing object->soft->effector_weights->group to libquery ID looper.

Found by angarilov, thanks!

===================================================================

M       source/blender/blenkernel/intern/library_query.c

===================================================================

diff --git a/source/blender/blenkernel/intern/library_query.c 
b/source/blender/blenkernel/intern/library_query.c
index 8688b00..be3dde2 100644
--- a/source/blender/blenkernel/intern/library_query.c
+++ b/source/blender/blenkernel/intern/library_query.c
@@ -474,6 +474,10 @@ void BKE_library_foreach_ID_link(ID *id, 
LibraryIDLinkCallback callback, void *u
                                        BKE_particlesystem_id_loop(psys, 
library_foreach_particlesystemsObjectLooper, &data);
                                }
 
+                               if (object->soft && 
object->soft->effector_weights) {
+                                       
CALLBACK_INVOKE(object->soft->effector_weights->group, IDWALK_NOP);
+                               }
+
                                BKE_sca_sensors_id_loop(&object->sensors, 
library_foreach_sensorsObjectLooper, &data);
                                
BKE_sca_controllers_id_loop(&object->controllers, 
library_foreach_controllersObjectLooper, &data);
                                BKE_sca_actuators_id_loop(&object->actuators, 
library_foreach_actuatorsObjectLooper, &data);

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to