Files
test2/source
Sergey Sharybin a08fdf1f2a Fix #30874: Single texture display in Edit Mode
It was a regression since 2.62 caused by how texface is passing to drawParamsMapped
Previously it was used from CD layer but now it's getting copied from MexPoly
into a variable allocated in stack for function void emDM_drawFacesTex_common.

To set texture needed to draw particular face function set_draw_settings_cached
is used, which tries to not to copy texture into GPU when it's not needed (for
example, when drawing bunch of faces with the same texture) and one of condition
if texture should be updated in GPU was comparing address of texface passed to
this function and cached texface. But this address are exactly the sane and
points to a memory inside stack of emDM_drawFacesTex_common.

Fixed by cacheing texface content, not it's address.
2012-04-10 16:28:26 +00:00
..
2012-04-04 10:55:55 +00:00
2011-05-09 08:15:38 +00:00
2012-03-18 07:38:51 +00:00