diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-09-27 07:12:31 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-09-27 07:12:31 +0400 |
commit | effea8c29b9862e2526f2cf64811952a2971f5d6 (patch) | |
tree | 72eb6486b146967e6533e8a18bc3735607f4ac16 /source/blender/modifiers/intern/MOD_cast.c | |
parent | 4d1e122d7becb573fea254474b349021e5293910 (diff) | |
parent | f4dec97cef4b320c6f3ffd2ddc39d429da4fd4d5 (diff) |
svn merge ^/trunk/blender -r40511:40587
Diffstat (limited to 'source/blender/modifiers/intern/MOD_cast.c')
-rw-r--r-- | source/blender/modifiers/intern/MOD_cast.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/modifiers/intern/MOD_cast.c b/source/blender/modifiers/intern/MOD_cast.c index d504445109c..4cdbf850a73 100644 --- a/source/blender/modifiers/intern/MOD_cast.c +++ b/source/blender/modifiers/intern/MOD_cast.c @@ -40,6 +40,7 @@ #include "BLI_math.h" #include "BLI_utildefines.h" +#include "BLI_string.h" #include "BKE_deform.h" @@ -77,7 +78,7 @@ static void copyData(ModifierData *md, ModifierData *target) tcmd->flag = cmd->flag; tcmd->type = cmd->type; tcmd->object = cmd->object; - strncpy(tcmd->defgrp_name, cmd->defgrp_name, 32); + BLI_strncpy(tcmd->defgrp_name, cmd->defgrp_name, 32); } static int isDisabled(ModifierData *md, int UNUSED(useRenderParams)) |