diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-01-04 12:17:09 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-01-04 12:17:09 +0400 |
commit | b94a5d59bffc75e67498ec542fa1ca9394a10c0a (patch) | |
tree | 829bdcc4a2fd7b534ff60af14e0dcf4979f62098 /source/blender/modifiers/intern/MOD_solidify.c | |
parent | 25d9fa95f9ed9f6e680e46948ab7a1e7c392f417 (diff) |
fix [#33742] Solidify - Material index problem
missed copying material offset values.
Diffstat (limited to 'source/blender/modifiers/intern/MOD_solidify.c')
-rw-r--r-- | source/blender/modifiers/intern/MOD_solidify.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/modifiers/intern/MOD_solidify.c b/source/blender/modifiers/intern/MOD_solidify.c index 75e54d77b15..038fb4913ec 100644 --- a/source/blender/modifiers/intern/MOD_solidify.c +++ b/source/blender/modifiers/intern/MOD_solidify.c @@ -185,6 +185,8 @@ static void copyData(ModifierData *md, ModifierData *target) tsmd->crease_outer = smd->crease_outer; tsmd->crease_rim = smd->crease_rim; tsmd->flag = smd->flag; + tsmd->mat_ofs = smd->mat_ofs; + tsmd->mat_ofs_rim = smd->mat_ofs_rim; BLI_strncpy(tsmd->defgrp_name, smd->defgrp_name, sizeof(tsmd->defgrp_name)); } |