Blender Git Loki
Git Commits -> Revision c08ef9c
Revision c08ef9c by Antonis Ryakiotakis (blender-v2.73-release, fracture_modifier, fracture_modifier-master, temp-fracture-modifier-2.8) January 20, 2015, 09:18 (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: c08ef9c62ad74e2c223831c2cd03f1b67d91a8ff
Parent Commit: ba43ea2
Committed By: Campbell Barton
Lines Changed: +12, -11