diff options
author | Gaia Clary <gaia.clary@machinimatrix.org> | 2012-06-14 14:38:39 +0400 |
---|---|---|
committer | Gaia Clary <gaia.clary@machinimatrix.org> | 2012-06-14 14:38:39 +0400 |
commit | 05a1a3169336380b51947451ebdabdf5455fe38f (patch) | |
tree | 8b5dcfdd1bb0bbee0028d2561f300c631a4e95fe /source/blender/makesrna/intern | |
parent | 68386ef23a2b48f4a0ece2da1d8e5f66e0ef4bf6 (diff) |
Collada: Added export Option 'sort by object name' to fix an issue with Second Life import
Diffstat (limited to 'source/blender/makesrna/intern')
-rw-r--r-- | source/blender/makesrna/intern/rna_scene_api.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_scene_api.c b/source/blender/makesrna/intern/rna_scene_api.c index 76fe5a656b6..76366efe0d1 100644 --- a/source/blender/makesrna/intern/rna_scene_api.c +++ b/source/blender/makesrna/intern/rna_scene_api.c @@ -93,11 +93,12 @@ static void rna_Scene_collada_export( int include_armatures, int include_children, int use_object_instantiation, + int sort_by_name, int second_life) { collada_export(scene, filepath, selected, apply_modifiers, include_armatures, include_children, - use_object_instantiation, second_life); + use_object_instantiation, sort_by_name, second_life); } #endif @@ -130,6 +131,7 @@ void RNA_api_scene(StructRNA *srna) parm = RNA_def_boolean(func, "include_armatures", 0, "Include Armatures", "Include armature(s) used by the exported objects"); parm = RNA_def_boolean(func, "include_children", 0, "Include Children", "Include all children even if not selected"); parm = RNA_def_boolean(func, "use_object_instantiation", 1, "Use Object Instantiation", "Instantiate multiple Objects from same Data"); + parm = RNA_def_boolean(func, "sort_by_name", 0, "Sort by Object name", "Sort exported data by Object name"); parm = RNA_def_boolean(func, "second_life", 0, "Export for Second Life", "Compatibility mode for Second Life"); RNA_def_function_ui_description(func, "Export to collada file"); #endif |