diff options
author | Julian Eisel <julian@blender.org> | 2020-05-25 17:26:22 +0300 |
---|---|---|
committer | Julian Eisel <julian@blender.org> | 2020-05-25 17:49:18 +0300 |
commit | 2ba3214a214418606222624c76dff94fbf10faac (patch) | |
tree | 92a2d28ace547cbd3191ea724b0db24ab7eded41 /source/blender/blenkernel | |
parent | 7a51eb53408a8561d03ada8d4b1a260b308f5b79 (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')
-rw-r--r-- | source/blender/blenkernel/intern/rigidbody.c | 1 |
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; } |