diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-12-14 17:42:46 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-12-14 17:42:46 +0300 |
commit | d88c776614fb7ac0b391ca34713e69d2b9ed4665 (patch) | |
tree | 7145fa9554b2bcf3f87a90e4bbc60c8797255cc7 /source | |
parent | 91215df5c2c685d5a9bb219a59901c090c74671e (diff) |
edits to the bone copy metarig type from Cessen, pointcache warning fix
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/physics/physics_pointcache.c | 2 | ||||
-rw-r--r-- | source/blender/makesrna/intern/rna_ID.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/physics/physics_pointcache.c b/source/blender/editors/physics/physics_pointcache.c index 858ff3637b1..0cd4c2e6ce8 100644 --- a/source/blender/editors/physics/physics_pointcache.c +++ b/source/blender/editors/physics/physics_pointcache.c @@ -86,7 +86,7 @@ void bake_console_progress(void *arg, int nr) fflush(stdout); } -void bake_console_progress_end(void *arg, int nr) +void bake_console_progress_end(void *arg) { printf("\n"); } diff --git a/source/blender/makesrna/intern/rna_ID.c b/source/blender/makesrna/intern/rna_ID.c index 32b6de40a03..2aeb600bc42 100644 --- a/source/blender/makesrna/intern/rna_ID.c +++ b/source/blender/makesrna/intern/rna_ID.c @@ -246,7 +246,7 @@ static void rna_IDPropertyGroup_name_get(PointerRNA *ptr, char *str) if(idprop && idprop->type == IDP_STRING) strcpy(str, idprop->data.pointer); else - strcpy(str, ""); + str[0]= '\0'; } void rna_IDPropertyGroup_name_set(PointerRNA *ptr, const char *value) |