diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2014-09-30 16:22:20 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2014-10-03 17:09:29 +0400 |
commit | 725e8ba47ebb9240be3b7dcc5cfcdfff14f1d929 (patch) | |
tree | c79e0803028d822ac80a413a648a33398f94cda3 | |
parent | 19d4d059f1816111b2d7bb89a2b2665c097d8959 (diff) |
Fix compilation on GCC (good old mixed declaration and code).
-rw-r--r-- | source/blender/editors/io/io_collada.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source/blender/editors/io/io_collada.c b/source/blender/editors/io/io_collada.c index bc23c2db433..4045a9beedd 100644 --- a/source/blender/editors/io/io_collada.c +++ b/source/blender/editors/io/io_collada.c @@ -96,7 +96,9 @@ static int wm_collada_export_exec(bContext *C, wmOperator *op) int use_object_instantiation; int sort_by_name; int export_transformation_type; - int open_sim; + int open_sim; + + int export_count; if (!RNA_struct_property_is_set(op->ptr, "filepath")) { BKE_report(op->reports, RPT_ERROR, "No filename given"); @@ -148,7 +150,7 @@ static int wm_collada_export_exec(bContext *C, wmOperator *op) ED_object_editmode_load(CTX_data_edit_object(C)); - int export_count = collada_export(CTX_data_scene(C), + export_count = collada_export(CTX_data_scene(C), filepath, apply_modifiers, export_mesh_type, |