Blender Git Loki

Git Commits -> Revision 1e3057f

Revision 1e3057f by Sebastián Barschkis (master)
September 11, 2020, 16:57 (GMT)
GPUTexture: Return NULL texture if data grid is NULL too

In a recent update to the fluids modifier (rB03c2439d96e8), I introduced a flush call that sets all grids to NULL if the frame is outside of the allowed frame range. This way, the texture creation function must also check if the data grid is NULL before trying to create a texture.

Reviewed By: fclem

Differential Revision: https://developer.blender.org/D8872

Commit Details:

Full Hash: 1e3057f17779eb6c9fc03ba07a06332984a35cd7
Parent Commit: ad70d4b
Lines Changed: +8, -0

1 Modified Path:

/source/blender/draw/intern/draw_fluid.c (+8, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021