Commit: 8c08efd1f7fe63129d11f3cd29ac029fbefd81a2 Author: Campbell Barton Date: Thu Dec 13 06:38:55 2018 +1100 Branches: blender2.8 https://developer.blender.org/rB8c08efd1f7fe63129d11f3cd29ac029fbefd81a2
Fix building w/o bullet =================================================================== M source/blender/blenkernel/intern/collection.c =================================================================== diff --git a/source/blender/blenkernel/intern/collection.c b/source/blender/blenkernel/intern/collection.c index 33287d5a2f8..c13cdb0ca0c 100644 --- a/source/blender/blenkernel/intern/collection.c +++ b/source/blender/blenkernel/intern/collection.c @@ -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; _______________________________________________ Bf-blender-cvs mailing list Bf-blender-cvs@blender.org https://lists.blender.org/mailman/listinfo/bf-blender-cvs