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>2014-04-23 13:22:03 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-04-23 13:22:03 +0400
commitad5497b6dfffb97bcc55bce1097a1d80728b331a (patch)
tree6f396ecffafd9062a9c086dfecd736e9f44f237e /source/blender/editors/physics
parent6babb4d12b8b7a5154170de88e4c49f0e15fccd5 (diff)
Code cleanup: style and use switch () for (un)pack
Diffstat (limited to 'source/blender/editors/physics')
-rw-r--r--source/blender/editors/physics/rigidbody_world.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/physics/rigidbody_world.c b/source/blender/editors/physics/rigidbody_world.c
index b7430cb8a95..d5056d51a78 100644
--- a/source/blender/editors/physics/rigidbody_world.c
+++ b/source/blender/editors/physics/rigidbody_world.c
@@ -159,7 +159,7 @@ static int rigidbody_world_export_exec(bContext *C, wmOperator *op)
char path[FILE_MAX];
/* sanity checks */
- if ELEM(NULL, scene, rbw) {
+ if (ELEM(NULL, scene, rbw)) {
BKE_report(op->reports, RPT_ERROR, "No Rigid Body World to export");
return OPERATOR_CANCELLED;
}