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:
authorGaia Clary <gaia.clary@machinimatrix.org>2018-02-25 00:15:52 +0300
committerGaia Clary <gaia.clary@machinimatrix.org>2018-02-25 00:51:04 +0300
commitd91f2ac37aa02d96a00d116fa55cdc9f55afd32c (patch)
tree29186cd544de67e20450d9e526fc9c133953db5c /source/blender/collada/collada.cpp
parent0a1434ed86687c3d7cacef0b2a19ef3326808beb (diff)
changing collada parameters
Differential Revision: https://developer.blender.org/D3080
Diffstat (limited to 'source/blender/collada/collada.cpp')
-rw-r--r--source/blender/collada/collada.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/collada/collada.cpp b/source/blender/collada/collada.cpp
index 79f50888150..718ae1d876b 100644
--- a/source/blender/collada/collada.cpp
+++ b/source/blender/collada/collada.cpp
@@ -67,7 +67,7 @@ int collada_import(bContext *C,
return 0;
}
-int collada_export(Scene *sce,
+int collada_export(bContext *C,
const char *filepath,
int apply_modifiers,
@@ -124,6 +124,7 @@ int collada_export(Scene *sce,
if (export_settings.include_children) includeFilter |= OB_REL_CHILDREN_RECURSIVE;
eObjectSet objectSet = (export_settings.selected) ? OB_SET_SELECTED : OB_SET_ALL;
+ Scene *sce = CTX_data_scene(C);
export_settings.export_set = BKE_object_relational_superset(sce, objectSet, (eObRelationTypes)includeFilter);
int export_count = BLI_linklist_count(export_settings.export_set);