DRW : Add new view_update mechanism.

This makes updates for the viewport cleaner and also add the possibility to add a new callback called when the scene is updated.
This commit is contained in:
2017-09-25 20:07:02 +02:00
parent 98dd2a518b
commit 198c7d3687
25 changed files with 124 additions and 19 deletions

View File

@@ -593,5 +593,6 @@ DrawEngineType draw_engine_edit_mesh_type = {
&EDIT_MESH_cache_populate,
NULL,
NULL,
&EDIT_MESH_draw_scene
&EDIT_MESH_draw_scene,
NULL,
};