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.h | |
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.h')
-rw-r--r-- | source/blender/collada/collada.h | 33 |
1 files changed, 16 insertions, 17 deletions
diff --git a/source/blender/collada/collada.h b/source/blender/collada/collada.h index 89b0e299408..e38f38b627a 100644 --- a/source/blender/collada/collada.h +++ b/source/blender/collada/collada.h @@ -33,23 +33,22 @@ struct Scene; #ifdef __cplusplus extern "C" { #endif - /* - * both return 1 on success, 0 on error - */ - int collada_import(bContext *C, const char *filepath); - int collada_export( - Scene *sce, - const char *filepath, - int apply_modifiers, - - int selected, - int include_children, - int include_armatures, - int deform_bones_only, - - int use_object_instantiation, - int sort_by_name, - int second_life); +/* + * both return 1 on success, 0 on error + */ +int collada_import(bContext *C, const char *filepath); +int collada_export(Scene *sce, + const char *filepath, + int apply_modifiers, + + int selected, + int include_children, + int include_armatures, + int deform_bones_only, + + int use_object_instantiation, + int sort_by_name, + int second_life); |