diff options
Diffstat (limited to 'source/blender/python/BPY_extern.h')
-rw-r--r-- | source/blender/python/BPY_extern.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/python/BPY_extern.h b/source/blender/python/BPY_extern.h index 0ab26fde34f..8075e4ecd22 100644 --- a/source/blender/python/BPY_extern.h +++ b/source/blender/python/BPY_extern.h @@ -70,6 +70,11 @@ void BPY_modules_load_user(struct bContext *C); void BPY_app_handlers_reset(bool do_all); /** + * Run on exit to free any cached data. + */ +void BPY_driver_exit(void); + +/** * Update function, it gets rid of python-drivers global dictionary: `bpy.app.driver_namespace`, * forcing #BPY_driver_exec to recreate it. Use this when loading a new `.blend` file * so any variables setup by the previous blend file are cleared. |