Fix building w/o bullet

This commit is contained in:
Campbell Barton
2018-12-13 06:38:55 +11:00
parent 9c5d104224
commit 8c08efd1f7

View File

@@ -517,7 +517,9 @@ static bool collection_object_add(Main *bmain, Collection *collection, Object *o
}
if ((flag & LIB_ID_CREATE_NO_MAIN) == 0) {
#ifdef WITH_BULLET
BKE_rigidbody_main_collection_object_add(bmain, collection, ob);
#endif
}
return true;