From be228d33f165b10327b06ae77bb21ab1a437a16a Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 29 Apr 2015 00:19:34 +1000 Subject: Curves: don't use 'charidx' for regular curves Code attempted to sync them with materials, but its not needed (and wasn't reliable). --- source/blender/editors/render/render_shading.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/editors/render/render_shading.c') 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) { -- cgit v1.2.3