Eevee: Fix crash caused by visibility calculation
This commit is contained in:
parent
596492e639
commit
9f2e154e02
Notes:
blender-bot
2023-02-14 12:01:57 +01:00
Referenced by issue #65159, Reflection Plane cause crash if used with any Particle Simulation
|
@ -66,7 +66,7 @@ bool EEVEE_lightprobes_obj_visibility_cb(bool vis_in, void *user_data)
|
|||
EEVEE_ObjectEngineData *oed = (EEVEE_ObjectEngineData *)user_data;
|
||||
|
||||
/* test disabled if group is NULL */
|
||||
if (oed->test_data->collection == NULL) {
|
||||
if (oed == NULL || oed->test_data->collection == NULL) {
|
||||
return vis_in;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue