From 942ad6d9cda2439622875a7a748649a0e3451d0b Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sun, 10 Feb 2013 17:06:05 +0000 Subject: style cleanup --- source/blender/editors/io/io_collada.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'source/blender/editors/io') diff --git a/source/blender/editors/io/io_collada.c b/source/blender/editors/io/io_collada.c index 2004b18adf6..d8bb372b936 100644 --- a/source/blender/editors/io/io_collada.c +++ b/source/blender/editors/io/io_collada.c @@ -319,14 +319,13 @@ static int wm_collada_import_exec(bContext *C, wmOperator *op) import_units = RNA_boolean_get(op->ptr, "import_units"); RNA_string_get(op->ptr, "filepath", filename); - if (collada_import( C, - filename, - import_units)) { - return OPERATOR_FINISHED; + if (collada_import(C, filename, import_units)) { + return OPERATOR_FINISHED; } else { - BKE_report(op->reports, RPT_ERROR, "Errors found during parsing COLLADA document (see console for details)"); - return OPERATOR_CANCELLED; + BKE_report(op->reports, RPT_ERROR, + "Errors found during parsing COLLADA document (see console for details)"); + return OPERATOR_CANCELLED; } } -- cgit v1.2.3