Cleanup: replace ifdef w/ stub

This commit is contained in:
2018-12-13 12:20:42 +11:00
parent 5d09f5223e
commit 3b95b521fc
2 changed files with 1 additions and 2 deletions

View File

@@ -517,9 +517,7 @@ 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;

View File

@@ -1792,6 +1792,7 @@ void BKE_rigidbody_rebuild_world(Depsgraph *depsgraph, Scene *scene, float ctime
void BKE_rigidbody_do_simulation(Depsgraph *depsgraph, Scene *scene, float ctime) {}
void BKE_rigidbody_objects_collection_validate(Scene *scene, RigidBodyWorld *rbw) {}
void BKE_rigidbody_constraints_collection_validate(Scene *scene, RigidBodyWorld *rbw) {}
void BKE_rigidbody_main_collection_object_add(Main *bmain, Collection *collection, Object *object) {}
#if defined(__GNUC__) || defined(__clang__)
# pragma GCC diagnostic pop