Changeset View
Changeset View
Standalone View
Standalone View
source/blender/windowmanager/intern/wm_files.c
| Show First 20 Lines • Show All 551 Lines • ▼ Show 20 Lines | if (use_data) { | ||||
| } | } | ||||
| } | } | ||||
| if (use_data) { | if (use_data) { | ||||
| WM_operatortype_last_properties_clear_all(); | WM_operatortype_last_properties_clear_all(); | ||||
| /* After load post, so for example the driver namespace can be filled | /* After load post, so for example the driver namespace can be filled | ||||
| * before evaluating the depsgraph. */ | * before evaluating the depsgraph. */ | ||||
| DEG_on_visible_update(bmain, true); | wm_event_do_depsgraph(C, true); | ||||
| wm_event_do_depsgraph(C); | |||||
| ED_editors_init(C); | ED_editors_init(C); | ||||
| #if 1 | #if 1 | ||||
| WM_event_add_notifier(C, NC_WM | ND_FILEREAD, NULL); | WM_event_add_notifier(C, NC_WM | ND_FILEREAD, NULL); | ||||
| #else | #else | ||||
| WM_msg_publish_static(CTX_wm_message_bus(C), WM_MSG_STATICTYPE_FILE_READ); | WM_msg_publish_static(CTX_wm_message_bus(C), WM_MSG_STATICTYPE_FILE_READ); | ||||
| #endif | #endif | ||||
| ▲ Show 20 Lines • Show All 2,562 Lines • Show Last 20 Lines | |||||