Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/space_outliner/space_outliner.c
| Show First 20 Lines • Show All 267 Lines • ▼ Show 20 Lines | static void outliner_main_region_message_subscribe(const wmRegionMessageSubscribeParams *params) | ||||
| SpaceOutliner *space_outliner = area->spacedata.first; | SpaceOutliner *space_outliner = area->spacedata.first; | ||||
| wmMsgSubscribeValue msg_sub_value_region_tag_redraw = { | wmMsgSubscribeValue msg_sub_value_region_tag_redraw = { | ||||
| .owner = region, | .owner = region, | ||||
| .user_data = region, | .user_data = region, | ||||
| .notify = ED_region_do_msg_notify_tag_redraw, | .notify = ED_region_do_msg_notify_tag_redraw, | ||||
| }; | }; | ||||
| if (ELEM(space_outliner->outlinevis, SO_VIEW_LAYER, SO_SCENES)) { | if (ELEM(space_outliner->outlinevis, SO_VIEW_LAYER, SO_SCENES, SO_OVERRIDES_LIBRARY)) { | ||||
| WM_msg_subscribe_rna_anon_prop(mbus, Window, view_layer, &msg_sub_value_region_tag_redraw); | WM_msg_subscribe_rna_anon_prop(mbus, Window, view_layer, &msg_sub_value_region_tag_redraw); | ||||
| } | } | ||||
| } | } | ||||
| /* ************************ header outliner area region *********************** */ | /* ************************ header outliner area region *********************** */ | ||||
| /* add handlers, stuff you only do once or on area/region changes */ | /* add handlers, stuff you only do once or on area/region changes */ | ||||
| static void outliner_header_region_init(wmWindowManager *UNUSED(wm), ARegion *region) | static void outliner_header_region_init(wmWindowManager *UNUSED(wm), ARegion *region) | ||||
| ▲ Show 20 Lines • Show All 210 Lines • Show Last 20 Lines | |||||