From 55f87590f09d6ab960d4f64d8d7c0503bc5b6b06 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Tue, 1 Sep 2015 14:47:39 +0500 Subject: Depsgraph: Fix compilation error with legacy depsgraph disabled Reported by Campbell on IRC, partial patch by him as well. --- source/blender/blenkernel/intern/depsgraph.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'source/blender/blenkernel/intern/depsgraph.c') diff --git a/source/blender/blenkernel/intern/depsgraph.c b/source/blender/blenkernel/intern/depsgraph.c index 0d74c3507b4..82ec9604ee6 100644 --- a/source/blender/blenkernel/intern/depsgraph.c +++ b/source/blender/blenkernel/intern/depsgraph.c @@ -3504,9 +3504,15 @@ void DAG_exit(void) /* ************************ API *********************** */ void DAG_editors_update_cb(DEG_EditorUpdateIDCb id_func, - DEG_EditorUpdateSceneCb scene_func) + DEG_EditorUpdateSceneCb scene_func, + DEG_EditorUpdateScenePreCb scene_func_pre) { - DEG_editors_set_update_cb(id_func, scene_func); + DEG_editors_set_update_cb(id_func, scene_func, scene_func_pre); +} + +void DAG_editors_update_pre(Main *bmain, Scene *scene, bool time) +{ + DEG_editors_update_pre(bmain, scene, time); } /* Tag all relations for update. */ -- cgit v1.2.3