Fix T87799: Crash when switching to Info Editor
Use of uninitialized variable.
Problem introduced in 87a70801c6
.
This commit is contained in:
parent
87a70801c6
commit
ae58db91a2
Notes:
blender-bot
2023-02-14 02:22:07 +01:00
Referenced by issue #87799, Crash to desktop with switching to Info Editor
|
@ -255,7 +255,7 @@ static void info_header_region_message_subscribe(const wmRegionMessageSubscribeP
|
|||
struct wmMsgBus *mbus = params->message_bus;
|
||||
ARegion *region = params->region;
|
||||
|
||||
wmMsgSubscribeValue msg_sub_value_region_tag_redraw;
|
||||
wmMsgSubscribeValue msg_sub_value_region_tag_redraw = {NULL};
|
||||
msg_sub_value_region_tag_redraw.owner = region;
|
||||
msg_sub_value_region_tag_redraw.user_data = region;
|
||||
msg_sub_value_region_tag_redraw.notify = ED_region_do_msg_notify_tag_redraw;
|
||||
|
|
Loading…
Reference in New Issue