From aaa2f7f3ec1c9d70b3c11f167f7bf775f234b673 Mon Sep 17 00:00:00 2001 From: Bastien Montagne Date: Tue, 30 Sep 2014 14:22:20 +0200 Subject: Fix compilation on GCC (good old mixed declaration and code). --- source/blender/editors/io/io_collada.c | 6 ++++-- 1 file 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, -- cgit v1.2.3