diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2011-08-09 01:28:51 +0400 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2011-08-09 01:28:51 +0400 |
commit | 97d4240911ef1a4b9aaca1a8e60a2204314be781 (patch) | |
tree | 5d60af06bc5b6b4728fdf81d946589be9c9caa17 /source/blender/modifiers | |
parent | e2c24bac6c56df6a54c37233d43f609f86d868d5 (diff) | |
parent | 85b77c931d2de579671dbe68640341407f91ecb2 (diff) |
Merging r38818 through r39198 from trunk into vgroup_modifiers.
Diffstat (limited to 'source/blender/modifiers')
-rw-r--r-- | source/blender/modifiers/intern/MOD_uvproject.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/modifiers/intern/MOD_uvproject.c b/source/blender/modifiers/intern/MOD_uvproject.c index a5d2e0b38c7..922ae8c1e92 100644 --- a/source/blender/modifiers/intern/MOD_uvproject.c +++ b/source/blender/modifiers/intern/MOD_uvproject.c @@ -42,6 +42,7 @@ #include "DNA_object_types.h" #include "BLI_math.h" +#include "BLI_string.h" #include "BLI_uvproject.h" #include "BLI_utildefines.h" @@ -83,6 +84,7 @@ static void copyData(ModifierData *md, ModifierData *target) tumd->aspecty = umd->aspecty; tumd->scalex = umd->scalex; tumd->scaley = umd->scaley; + BLI_strncpy(tumd->uvlayer_name, umd->uvlayer_name, sizeof(umd->uvlayer_name)); } static CustomDataMask requiredDataMask(Object *UNUSED(ob), ModifierData *UNUSED(md)) |