From a6b6689c0ab769bfdf4db932e4afd75ac0d42e10 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Tue, 28 Nov 2017 17:05:52 +0100 Subject: Draw manager: Listen to depsgraph's ID update callbacks This replaces dedicated flag which wasn't clean who sets it and who clears it, and which was also trying to re-implement existing functionality in a way. Flushing is not currently very efficient but there are ways to speed this up a lot, but needs more investigation. --- source/blender/draw/engines/basic/basic_engine.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/draw/engines/basic/basic_engine.c') diff --git a/source/blender/draw/engines/basic/basic_engine.c b/source/blender/draw/engines/basic/basic_engine.c index 92ffa8a1794..b41420ab95b 100644 --- a/source/blender/draw/engines/basic/basic_engine.c +++ b/source/blender/draw/engines/basic/basic_engine.c @@ -263,6 +263,7 @@ DrawEngineType draw_engine_basic_type = { NULL, &BASIC_draw_scene, NULL, + NULL, }; /* Note: currently unused, we may want to register so we can see this when debugging the view. */ -- cgit v1.2.3