[Bf-blender-cvs] [216f191] master: Fix compilation error with bullet disabled

Sergey Sharybin noreply at git.blender.org
Thu Oct 8 18:02:17 CEST 2015


Commit: 216f1916a264025ba902dfe505c9a69072bafcd1
Author: Sergey Sharybin
Date:   Thu Oct 8 21:01:44 2015 +0500
Branches: master
https://developer.blender.org/rB216f1916a264025ba902dfe505c9a69072bafcd1

Fix compilation error with bullet disabled

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

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

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

diff --git a/source/blender/blenkernel/intern/rigidbody.c b/source/blender/blenkernel/intern/rigidbody.c
index 43634c5..0f1f9b4 100644
--- a/source/blender/blenkernel/intern/rigidbody.c
+++ b/source/blender/blenkernel/intern/rigidbody.c
@@ -1612,6 +1612,7 @@ void BKE_rigidbody_calc_center_of_mass(Object *ob, float r_center[3]) { zero_v3(
 struct RigidBodyWorld *BKE_rigidbody_create_world(Scene *scene) { return NULL; }
 struct RigidBodyWorld *BKE_rigidbody_world_copy(RigidBodyWorld *rbw) { return NULL; }
 void BKE_rigidbody_world_groups_relink(struct RigidBodyWorld *rbw) {}
+void BKE_rigidbody_world_id_loop(struct RigidBodyWorld *rbw, RigidbodyWorldIDFunc func, void *userdata) {}
 struct RigidBodyOb *BKE_rigidbody_create_object(Scene *scene, Object *ob, short type) { return NULL; }
 struct RigidBodyCon *BKE_rigidbody_create_constraint(Scene *scene, Object *ob, short type) { return NULL; }
 struct RigidBodyWorld *BKE_rigidbody_get_world(Scene *scene) { return NULL; }




More information about the Bf-blender-cvs mailing list