Fix: crash in node poll function due to missing null check
This commit is contained in:
parent
e97443478e
commit
eae2917fde
|
@ -102,7 +102,9 @@ bool nodeGroupPoll(const bNodeTree *nodetree,
|
|||
return false;
|
||||
}
|
||||
if (nodetree->type != grouptree->type) {
|
||||
*r_disabled_hint = TIP_("Node group has different type");
|
||||
if (r_disabled_hint) {
|
||||
*r_disabled_hint = TIP_("Node group has different type");
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue