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-12-02 12:30:03 +0300
committerCampbell Barton <ideasman42@gmail.com>2014-12-02 12:30:29 +0300
commita5cd6a029ffc9d3e26f55ecf82da3ba5db2f63b8 (patch)
tree49f4bf8694a30e66f833f27adb57ffe185ae65eb /source/blender/editors/io
parentf86fd544c1023a17e32693c7d8481d74c19e54d1 (diff)
Cleanup: style & de-duplicate
Diffstat (limited to 'source/blender/editors/io')
-rw-r--r--source/blender/editors/io/io_collada.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/source/blender/editors/io/io_collada.c b/source/blender/editors/io/io_collada.c
index b4b892963fa..3ea2fba1f3b 100644
--- a/source/blender/editors/io/io_collada.c
+++ b/source/blender/editors/io/io_collada.c
@@ -381,11 +381,13 @@ static int wm_collada_import_exec(bContext *C, wmOperator *op)
min_chain_length = RNA_int_get(op->ptr, "min_chain_length");
RNA_string_get(op->ptr, "filepath", filename);
- if (collada_import(C, filename,
- import_units,
- find_chains,
- fix_orientation,
- min_chain_length)) {
+ if (collada_import(
+ C, filename,
+ import_units,
+ find_chains,
+ fix_orientation,
+ min_chain_length))
+ {
return OPERATOR_FINISHED;
}
else {