[Bf-blender-cvs] [4d42f4b9444] master: Fix building without bullet enabled

Campbell Barton noreply at git.blender.org
Tue Jun 25 03:29:37 CEST 2019


Commit: 4d42f4b9444e6a652715954b0f66029dd4523cde
Author: Campbell Barton
Date:   Tue Jun 25 11:27:25 2019 +1000
Branches: master
https://developer.blender.org/rB4d42f4b9444e6a652715954b0f66029dd4523cde

Fix building without bullet enabled

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

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

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

diff --git a/source/blender/blenkernel/intern/rigidbody.c b/source/blender/blenkernel/intern/rigidbody.c
index 012f5f18910..a3a0ebd6cb3 100644
--- a/source/blender/blenkernel/intern/rigidbody.c
+++ b/source/blender/blenkernel/intern/rigidbody.c
@@ -2032,6 +2032,16 @@ struct RigidBodyWorld *BKE_rigidbody_get_world(Scene *scene)
 {
   return NULL;
 }
+
+void BKE_rigidbody_ensure_local_object(Main *bmain, Object *ob)
+{
+}
+
+bool BKE_rigidbody_add_object(Main *bmain, Scene *scene, Object *ob, int type, ReportList *reports)
+{
+  return false;
+}
+
 void BKE_rigidbody_remove_object(struct Main *bmain, Scene *scene, Object *ob)
 {
 }



More information about the Bf-blender-cvs mailing list