From 260da0cd9159bc2ea685f4cf03f131dc24e37db6 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Thu, 30 Jun 2016 14:20:20 +0500 Subject: [PATCH] Fix T48728, part 2: Vertex colors not shown in texture mode --- source/blender/editors/space_view3d/drawmesh.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source/blender/editors/space_view3d/drawmesh.c b/source/blender/editors/space_view3d/drawmesh.c index a8df5c02881..e0cba8d9a48 100644 --- a/source/blender/editors/space_view3d/drawmesh.c +++ b/source/blender/editors/space_view3d/drawmesh.c @@ -986,6 +986,10 @@ static void draw_mesh_textured_old(Scene *scene, View3D *v3d, RegionView3D *rv3d else if ((ob->mode & OB_MODE_TEXTURE_PAINT) == 0) { dm_draw_flag |= DM_DRAW_USE_COLORS; } + } else { + if ((ob->mode & OB_MODE_TEXTURE_PAINT) == 0) { + dm_draw_flag |= DM_DRAW_USE_COLORS; + } }