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.
This commit is contained in:
Sergey Sharybin 2014-05-02 11:26:59 +02:00
parent 6416979b45
commit f65dcfc6d9
Notes: blender-bot 2023-02-14 10:42:38 +01:00
Referenced by issue #39989, Dupli group's objects in Particles are not displayed properly in 3D View
1 changed files with 1 additions and 0 deletions

View File

@ -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);
}