Page MenuHome

GPUTexture: Return NULL texture if data grid is NULL too

Authored by Sebastián Barschkis (sebbas) on Sep 11 2020, 4:46 PM.



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.

Diff Detail

rB Blender

Event Timeline

Sebastián Barschkis (sebbas) requested review of this revision.Sep 11 2020, 4:46 PM
Sebastián Barschkis (sebbas) created this revision.
This revision is now accepted and ready to land.Sep 11 2020, 6:54 PM