forked from bartvdbraak/blender
Fix #33297: crash loading modal keymap after recent keymap bugfix.
This commit is contained in:
parent
6c2e338f10
commit
33767bde9b
@ -5954,7 +5954,11 @@ int RNA_struct_equals(PointerRNA *a, PointerRNA *b)
|
||||
PropertyRNA *iterprop;
|
||||
int equals = 1;
|
||||
|
||||
if (a->type != b->type)
|
||||
if (a == NULL && b == NULL)
|
||||
return 1;
|
||||
else if (a == NULL || b == NULL)
|
||||
return 0;
|
||||
else if (a->type != b->type)
|
||||
return 0;
|
||||
|
||||
iterprop = RNA_struct_iterator_property(a->type);
|
||||
|
Loading…
Reference in New Issue
Block a user