Depsgraph: Fix compilation error with legacy depsgraph disabled

Reported by Campbell on IRC, partial patch by him as well.
This commit is contained in:
Sergey Sharybin
2015-09-01 14:47:39 +05:00
parent 74fae33ee5
commit 55f87590f0

View File

@@ -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. */