From ad5497b6dfffb97bcc55bce1097a1d80728b331a Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 23 Apr 2014 19:22:03 +1000 Subject: Code cleanup: style and use switch () for (un)pack --- source/blender/editors/physics/rigidbody_world.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/editors/physics') 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; } -- cgit v1.2.3