forked from bartvdbraak/blender
2.5
Quick bugfix: notifiers was reading NULL pointer after a file read.
This commit is contained in:
parent
f7307c13e3
commit
149651b2f2
@ -116,7 +116,7 @@ void ED_region_do_listen(ARegion *ar, wmNotifier *note)
|
||||
ED_region_tag_redraw(ar);
|
||||
break;
|
||||
default:
|
||||
if(ar->type->listener)
|
||||
if(ar->type && ar->type->listener)
|
||||
ar->type->listener(ar, note);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user