changing collada parameters

Differential Revision: https://developer.blender.org/D3080
This commit is contained in:
2018-02-24 22:15:52 +01:00
parent 0a1434ed86
commit d91f2ac37a
4 changed files with 7 additions and 5 deletions

View File

@@ -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);