Page MenuHome

GPUTexture: Return NULL texture if data grid is NULL too
ClosedPublic

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

Details

Summary

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

Repository
rB Blender

Event Timeline

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