Blender Git Commit Log

Git Commits -> Revision a757283

January 11, 2015, 20:28 (GMT)
Fix T43208 material flickering in edit mode.

Happens because material setting now occurs in the derived mesh drawing
routine as it should. However that means that it also happens during
selection and that influenced the drawing state somehow.

In 2.72 this did not occur because material setting happened during draw
setting (skip or draw) instead of after the draw setting passed (so
selection would skip it by use another draw setting function). Of course
this violated design but worked.

Made it now so backbuffer selection does not enable materials (it's
redundant in those cases anyway).

This could be ported to a possible 'a' release but as is classic with
display code there may be some other places that it could backfire.

Tested fix with texture/vertex painting and selection which use
backbuffer for both subsurf and regular meshes and it seems to work OK.

Commit Details:

Full Hash: a75728341bebd06375fb366de0250f95760efb6f
Parent Commit: da94a70
Lines Changed: +12, -11

2 Modified Paths:

/source/blender/blenkernel/intern/editderivedmesh.c (+8, -7) (Diff)
/source/blender/editors/space_view3d/drawobject.c (+4, -4) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021