diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-11-30 05:33:13 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-11-30 05:33:13 +0300 |
commit | 7e21c99d05066a8f88453016c2f69a0607b5c2e0 (patch) | |
tree | c76a0a31d0f07d282aa17bbcdd6d3c4ebb2cc3e3 /source/blender/python/intern | |
parent | dc312609dd346e40f106976fe1ac5d9ad99e8c20 (diff) |
PyAPI: add load_factory_startup_post handler
Needed so we can apply changes to the startup file,
only in the case when it's load loaded from a user-saved startup.
Diffstat (limited to 'source/blender/python/intern')
-rw-r--r-- | source/blender/python/intern/bpy_app_handlers.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/python/intern/bpy_app_handlers.c b/source/blender/python/intern/bpy_app_handlers.c index 44647eb21a0..a251bdeb15b 100644 --- a/source/blender/python/intern/bpy_app_handlers.c +++ b/source/blender/python/intern/bpy_app_handlers.c @@ -66,6 +66,7 @@ static PyStructSequence_Field app_cb_info_fields[] = { {(char *)"depsgraph_update_pre", (char *)"on depsgraph update (pre)"}, {(char *)"depsgraph_update_post", (char *)"on depsgraph update (post)"}, {(char *)"version_update", (char *)"on ending the versioning code"}, + {(char *)"load_factory_startup_post", (char *)"on loading factory startup (after)"}, /* sets the permanent tag */ # define APP_CB_OTHER_FIELDS 1 |