Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2013-01-04 12:17:09 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-01-04 12:17:09 +0400
commitb94a5d59bffc75e67498ec542fa1ca9394a10c0a (patch)
tree829bdcc4a2fd7b534ff60af14e0dcf4979f62098 /source/blender/modifiers
parent25d9fa95f9ed9f6e680e46948ab7a1e7c392f417 (diff)
fix [#33742] Solidify - Material index problem
missed copying material offset values.
Diffstat (limited to 'source/blender/modifiers')
-rw-r--r--source/blender/modifiers/intern/MOD_solidify.c2
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));
}