Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2013-01-23 11:26:39 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-01-23 11:26:39 +0400
commit69ddc5eb99d36c7d2cf86a7537a3784d3c72777e (patch)
tree2346cd60891c2015fc59a30576d0c99b072712cc /source/blender/editors/physics/rigidbody_world.c
parent4544c234f5baf386eae9ffd98994f9905a285aaa (diff)
make bullet optional again
Diffstat (limited to 'source/blender/editors/physics/rigidbody_world.c')
-rw-r--r--source/blender/editors/physics/rigidbody_world.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/source/blender/editors/physics/rigidbody_world.c b/source/blender/editors/physics/rigidbody_world.c
index 068f8decef5..5ab8e7697c5 100644
--- a/source/blender/editors/physics/rigidbody_world.c
+++ b/source/blender/editors/physics/rigidbody_world.c
@@ -40,7 +40,9 @@
#include "BLI_blenlib.h"
#include "BLI_math.h"
-#include "RBI_api.h"
+#ifdef WITH_BULLET
+# include "RBI_api.h"
+#endif
#include "BKE_context.h"
#include "BKE_depsgraph.h"
@@ -170,8 +172,9 @@ static int rigidbody_world_export_exec(bContext *C, wmOperator *op)
}
RNA_string_get(op->ptr, "filepath", path);
+#ifdef WITH_BULLET
RB_dworld_export(rbw->physics_world, path);
-
+#endif
return OPERATOR_FINISHED;
}