Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2017-11-28 19:05:52 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2017-11-29 13:01:08 +0300
commita6b6689c0ab769bfdf4db932e4afd75ac0d42e10 (patch)
tree7a6b8a135ad7ac8c383b26b1ab330c2f9b594dfc /source/blender/draw/engines/external
parent6208ce2e0a60fdddc1fb12ae1a2f84dcdcd32d90 (diff)
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.
Diffstat (limited to 'source/blender/draw/engines/external')
-rw-r--r--source/blender/draw/engines/external/external_engine.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/draw/engines/external/external_engine.c b/source/blender/draw/engines/external/external_engine.c
index bdf53fd3046..2127dbe1f63 100644
--- a/source/blender/draw/engines/external/external_engine.c
+++ b/source/blender/draw/engines/external/external_engine.c
@@ -217,6 +217,7 @@ DrawEngineType draw_engine_external_type = {
NULL,
&EXTERNAL_draw_scene,
NULL,
+ NULL,
};
/* Note: currently unused, we should not register unless we want to see this when debugging the view. */