Fix T101309: crash when executing geometry nodes without logger
This commit is contained in:
parent
b3714b1e85
commit
e746999aa9
Notes:
blender-bot
2023-02-14 09:02:40 +01:00
Referenced by issue #101309, Opening a certain scene crashes Blender 3.4.0 nightly
|
@ -535,6 +535,12 @@ class LazyFunctionForViewerNode : public LazyFunction {
|
|||
{
|
||||
GeoNodesLFUserData *user_data = dynamic_cast<GeoNodesLFUserData *>(context.user_data);
|
||||
BLI_assert(user_data != nullptr);
|
||||
if (user_data->modifier_data == nullptr) {
|
||||
return;
|
||||
}
|
||||
if (user_data->modifier_data->eval_log == nullptr) {
|
||||
return;
|
||||
}
|
||||
|
||||
GeometrySet geometry = params.extract_input<GeometrySet>(0);
|
||||
|
||||
|
|
Loading…
Reference in New Issue