Blender V4.3
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
10
11#include "DEG_depsgraph.hh"
12
14
15namespace deg = blender::deg;
16
17namespace blender::deg {
18
21
23{
24 if (deg_editor_update_id_cb != nullptr) {
25 deg_editor_update_id_cb(update_ctx, id);
26 }
27}
28
29void deg_editors_scene_update(const DEGEditorUpdateContext *update_ctx, bool updated)
30{
31 if (deg_editor_update_scene_cb != nullptr) {
32 deg_editor_update_scene_cb(update_ctx, updated);
33 }
34}
35
36} // namespace blender::deg
37
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:413