Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Eisel <julian@blender.org>2020-05-25 17:26:22 +0300
committerJulian Eisel <julian@blender.org>2020-05-25 17:49:18 +0300
commit2ba3214a214418606222624c76dff94fbf10faac (patch)
tree92a2d28ace547cbd3191ea724b0db24ab7eded41 /source/blender/blenkernel/intern/rigidbody.c
parent7a51eb53408a8561d03ada8d4b1a260b308f5b79 (diff)
UI/Physics: Show error enabling Rigid Body if compiled without Bullet
Would just silently fail, which is confusing. Should only impact custom builds.
Diffstat (limited to 'source/blender/blenkernel/intern/rigidbody.c')
-rw-r--r--source/blender/blenkernel/intern/rigidbody.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/rigidbody.c b/source/blender/blenkernel/intern/rigidbody.c
index 4d37c2ea931..c9911d2cf85 100644
--- a/source/blender/blenkernel/intern/rigidbody.c
+++ b/source/blender/blenkernel/intern/rigidbody.c
@@ -2116,6 +2116,7 @@ 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)
{
+ BKE_report(reports, RPT_ERROR, "Compiled without Bullet physics engine");
return false;
}