Patch #30050 by Juha Mäki-Kanto (kanttori)

Fixes for Collada exporter.
Adds Second Life compatibility for armatures
Adds objects parentinverse to exported transform if it's non-identity
Fix mismatch between add_inv_bind_mats and add_joints_source accessor counts
Fix bone exports in world space should be local space
This commit is contained in:
2012-02-05 16:19:28 +00:00
parent fa163003c9
commit 2cb3fe3dfd
10 changed files with 109 additions and 17 deletions

View File

@@ -49,11 +49,12 @@ extern "C"
return 0;
}
int collada_export(Scene *sce, const char *filepath, int selected)
int collada_export(Scene *sce, const char *filepath, int selected, int second_life)
{
ExportSettings export_settings;
export_settings.selected = selected != 0;
export_settings.second_life = second_life != 0;
export_settings.filepath = (char *)filepath;
/* annoying, collada crashes if file cant be created! [#27162] */