From a9572c282038cd9bdbe18e26e7349d8e0f549cb1 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sat, 6 May 2017 09:20:58 +1000 Subject: PyAPI: Remove bpy.app.handlers.scene_update This is routinely mis-used to continuously run scripts, causing performance problems. This should be replaced with more specific handlers, or possibly timers. See: T47811 --- source/blender/python/intern/bpy_app_handlers.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'source/blender/python/intern/bpy_app_handlers.c') diff --git a/source/blender/python/intern/bpy_app_handlers.c b/source/blender/python/intern/bpy_app_handlers.c index 1cc2d6f1307..ee8a26f211e 100644 --- a/source/blender/python/intern/bpy_app_handlers.c +++ b/source/blender/python/intern/bpy_app_handlers.c @@ -59,8 +59,6 @@ static PyStructSequence_Field app_cb_info_fields[] = { {(char *)"load_post", (char *)"on loading a new blend file (after)"}, {(char *)"save_pre", (char *)"on saving a blend file (before)"}, {(char *)"save_post", (char *)"on saving a blend file (after)"}, - {(char *)"scene_update_pre", (char *)"on updating the scenes data (before)"}, - {(char *)"scene_update_post", (char *)"on updating the scenes data (after)"}, {(char *)"game_pre", (char *)"on starting the game engine"}, {(char *)"game_post", (char *)"on ending the game engine"}, {(char *)"version_update", (char *)"on ending the versioning code"}, -- cgit v1.2.3