Blender V5.0
depsgraph_update.cc
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2013 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
8
10
11#include "DEG_depsgraph.hh"
12
13namespace deg = blender::deg;
14
15namespace blender::deg {
16
19
21{
22 if (deg_editor_update_id_cb != nullptr) {
23 deg_editor_update_id_cb(update_ctx, id);
24 }
25}
26
27void deg_editors_scene_update(const DEGEditorUpdateContext *update_ctx, bool updated)
28{
29 if (deg_editor_update_scene_cb != nullptr) {
30 deg_editor_update_scene_cb(update_ctx, updated);
31 }
32}
33
34} // namespace blender::deg
35
void(*)(const DEGEditorUpdateContext *update_ctx, ID *id) DEG_EditorUpdateIDCb
void(*)(const DEGEditorUpdateContext *update_ctx, bool updated) DEG_EditorUpdateSceneCb
void DEG_editors_set_update_cb(DEG_EditorUpdateIDCb id_func, DEG_EditorUpdateSceneCb scene_func)
static DEG_EditorUpdateIDCb deg_editor_update_id_cb
void deg_editors_id_update(const DEGEditorUpdateContext *update_ctx, ID *id)
void deg_editors_scene_update(const DEGEditorUpdateContext *update_ctx, bool updated)
static DEG_EditorUpdateSceneCb deg_editor_update_scene_cb
Definition DNA_ID.h:414