Blender Git Commit Log

Git Commits -> Revision 1864253

Revision 1864253 by Antonis Ryakiotakis (master)
January 11, 2015, 20:29 (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: 1864253db06957ec344e6504b1c33e7f83cdaa99
Parent Commit: 0a5ad65
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