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:
authorNathan Letwory <nathan@letworyinteractive.com>2011-07-04 12:59:28 +0400
committerNathan Letwory <nathan@letworyinteractive.com>2011-07-04 12:59:28 +0400
commitcf43e48fc781611c0850e09dae6f6fa1c95cc28b (patch)
treed6a786c92891eae9482da7b80724b15ca2fa831c /source/blender/collada/collada.cpp
parentaa1668c6f8a70e41b97b67f31647dbec382e19f7 (diff)
Apply patch 4636051. COLLADA: Export selection.
Original patch by Jan Diederich, adapted by Pelle Johnsen. Review assistance by Daniel Tavares. This patch adds an option to export only the selection.
Diffstat (limited to 'source/blender/collada/collada.cpp')
-rw-r--r--source/blender/collada/collada.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/collada/collada.cpp b/source/blender/collada/collada.cpp
index 51caf62f6e7..c15e608c360 100644
--- a/source/blender/collada/collada.cpp
+++ b/source/blender/collada/collada.cpp
@@ -51,7 +51,7 @@ extern "C"
return 1;
}
- int collada_export(Scene *sce, const char *filepath)
+ int collada_export(Scene *sce, const char *filepath, int selected)
{
DocumentExporter exp;
@@ -64,7 +64,7 @@ extern "C"
}
/* end! */
- exp.exportCurrentScene(sce, filepath);
+ exp.exportCurrentScene(sce, filepath, selected);
return 1;
}