diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-06-16 13:16:24 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-06-16 13:16:24 +0400 |
commit | 664c95d1ebf525b6daf15dc599c85f14ab58155d (patch) | |
tree | 777f806b955e7494fafe6db9265617c41cb822d0 /source/blender/collada/collada.cpp | |
parent | 9f6a66d5f9feb34377cf0e6465020cc80f673d8e (diff) |
code cleanup: collada
- when bubble sorting names - dont convert to str::string just to compare strings
- use BLI_linklist_index() to check if an item is in the list
- quiet some warnings
Diffstat (limited to 'source/blender/collada/collada.cpp')
-rw-r--r-- | source/blender/collada/collada.cpp | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/source/blender/collada/collada.cpp b/source/blender/collada/collada.cpp index 5b970c236a4..74f140e4813 100644 --- a/source/blender/collada/collada.cpp +++ b/source/blender/collada/collada.cpp @@ -49,20 +49,19 @@ int collada_import(bContext *C, const char *filepath) return 0; } -int collada_export( - Scene *sce, - const char *filepath, +int collada_export(Scene *sce, + const char *filepath, - int apply_modifiers, + int apply_modifiers, - int selected, - int include_children, - int include_armatures, - int deform_bones_only, + int selected, + int include_children, + int include_armatures, + int deform_bones_only, - int use_object_instantiation, - int sort_by_name, - int second_life) + int use_object_instantiation, + int sort_by_name, + int second_life) { ExportSettings export_settings; |