Blender Git Loki

Git Commits -> Revision 152675d

Revision 152675d by Sergey Sharybin (master)
July 12, 2012, 16:08 (GMT)
Fix #31988: VBOs Textured solid : no update of material in 3Dview

Issue was caused by VBOs using CD_TEXTURE_MCOL for faces colors. This
layer was creating on mesh display (from draw_tface_mapped__set_draw)
in cases there's no such a layer.

If material settings are changing, this layer wasn't updated and old
colors were used.

Fixed by performing an update of this layer in cases it's already
exists. This would give some % of slowdown, but don't think it'll
be dramatically bad.

Would be nice to find a nice way to update such a layer in cases
material is actually changes only, or get completely rid of it/

Commit Details:

Full Hash: 152675db1a49646aac0f739c903dbd60145cc28b
SVN Revision: 48867
Parent Commit: ba44250
Lines Changed: +12, -5

1 Modified Path:

/source/blender/editors/space_view3d/drawmesh.c (+12, -5) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021