diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-11-28 19:05:52 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-11-29 13:01:08 +0300 |
commit | a6b6689c0ab769bfdf4db932e4afd75ac0d42e10 (patch) | |
tree | 7a6b8a135ad7ac8c383b26b1ab330c2f9b594dfc /source/blender/draw/engines/external/external_engine.c | |
parent | 6208ce2e0a60fdddc1fb12ae1a2f84dcdcd32d90 (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/external_engine.c')
-rw-r--r-- | source/blender/draw/engines/external/external_engine.c | 1 |
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. */ |