Blender Git Loki

Git Commits -> Revision 6be8b6a

Revision 6be8b6a by Clément Foucault (master)
August 5, 2020, 00:26 (GMT)
EEVEE: LightCache: Prevent crash when using a lightcache too big

Some implementation have different maximum texture size.
This patch avoid crash when texture allocation fails when:
- trying to bake a lightcache too big for the OpenGL imeplementaion.
- loading a cache from file that is too big for the OpenGL imeplementation.

Commit Details:

Full Hash: 6be8b6af4006e088ac4a2cd8c1adc8f18c04035b
Parent Commit: d1b3da6
Lines Changed: +73, -12

7 Modified Paths:

/source/blender/blenloader/intern/readfile.c (+1, -0) (Diff)
/source/blender/draw/engines/eevee/eevee_lightcache.c (+46, -9) (Diff)
/source/blender/draw/engines/eevee/eevee_lightprobes.c (+9, -0) (Diff)
/source/blender/draw/engines/eevee/eevee_private.h (+3, -0) (Diff)
/source/blender/draw/intern/draw_manager_texture.c (+4, -2) (Diff)
/source/blender/editors/render/render_shading.c (+5, -0) (Diff)
/source/blender/makesdna/DNA_lightprobe_types.h (+5, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021