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>2015-04-28 17:19:34 +0300
committerCampbell Barton <ideasman42@gmail.com>2015-04-28 17:29:32 +0300
commitbe228d33f165b10327b06ae77bb21ab1a437a16a (patch)
treed1cac3db2fd6827264c3093d7b969be2ace16d1a /source/blender/editors/render/render_shading.c
parent34abe82205995d6dab316e1c17b81f72358e7341 (diff)
Curves: don't use 'charidx' for regular curves
Code attempted to sync them with materials, but its not needed (and wasn't reliable).
Diffstat (limited to 'source/blender/editors/render/render_shading.c')
-rw-r--r--source/blender/editors/render/render_shading.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/render/render_shading.c b/source/blender/editors/render/render_shading.c
index 617364c7e74..3b8b874a462 100644
--- a/source/blender/editors/render/render_shading.c
+++ b/source/blender/editors/render/render_shading.c
@@ -203,7 +203,7 @@ static int material_slot_assign_exec(bContext *C, wmOperator *UNUSED(op))
if (nurbs) {
for (nu = nurbs->first; nu; nu = nu->next)
if (isNurbsel(nu))
- nu->mat_nr = nu->charidx = ob->actcol - 1;
+ nu->mat_nr = ob->actcol - 1;
}
}
else if (ob->type == OB_FONT) {