diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-04-23 13:22:03 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-04-23 13:22:03 +0400 |
commit | ad5497b6dfffb97bcc55bce1097a1d80728b331a (patch) | |
tree | 6f396ecffafd9062a9c086dfecd736e9f44f237e /source/blender/editors/physics/rigidbody_world.c | |
parent | 6babb4d12b8b7a5154170de88e4c49f0e15fccd5 (diff) |
Code cleanup: style and use switch () for (un)pack
Diffstat (limited to 'source/blender/editors/physics/rigidbody_world.c')
-rw-r--r-- | source/blender/editors/physics/rigidbody_world.c | 2 |
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; } |