UI/Physics: Show error enabling Rigid Body if compiled without Bullet

Would just silently fail, which is confusing.
Should only impact custom builds.
This commit is contained in:
Julian Eisel 2020-05-25 16:26:22 +02:00
parent 7a51eb5340
commit 2ba3214a21
1 changed files with 1 additions and 0 deletions

View File

@ -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;
}