From f65dcfc6d9ac241ab15c383558d14390127249b1 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Fri, 2 May 2014 11:26:59 +0200 Subject: Fix T39989: Dupli group's objects in Particles are not displayed properly in 3D View It was broken in 7544961 and the proper way is to make sure proper obmat is being copied to object before the draw. Doing obmat copy in advance doesn't really work because object might appear multiple times in the duplilist. --- source/blender/editors/space_view3d/view3d_draw.c | 1 + 1 file changed, 1 insertion(+) diff --git a/source/blender/editors/space_view3d/view3d_draw.c b/source/blender/editors/space_view3d/view3d_draw.c index bcde630e270..89bdf4df5ac 100644 --- a/source/blender/editors/space_view3d/view3d_draw.c +++ b/source/blender/editors/space_view3d/view3d_draw.c @@ -2076,6 +2076,7 @@ static void draw_dupli_objects_color(Scene *scene, ARegion *ar, View3D *v3d, Bas } } else { + copy_m4_m4(dob->ob->obmat, dob->mat); draw_object(scene, ar, v3d, &tbase, DRAW_CONSTCOLOR); } -- cgit v1.2.3