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:
authorBastien Montagne <montagne29@wanadoo.fr>2014-09-30 16:22:20 +0400
committerBastien Montagne <montagne29@wanadoo.fr>2014-09-30 16:22:20 +0400
commitaaa2f7f3ec1c9d70b3c11f167f7bf775f234b673 (patch)
tree62194e426475729bd7326a0090a1ae3fb186bf42 /source/blender/editors/io
parent202831fc4f5c3cbf606ce1bffcd62a869161d061 (diff)
Fix compilation on GCC (good old mixed declaration and code).
Diffstat (limited to 'source/blender/editors/io')
-rw-r--r--source/blender/editors/io/io_collada.c6
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,