diff options
Diffstat (limited to 'source/blender/depsgraph/intern/depsgraph_update.cc')
-rw-r--r-- | source/blender/depsgraph/intern/depsgraph_update.cc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/source/blender/depsgraph/intern/depsgraph_update.cc b/source/blender/depsgraph/intern/depsgraph_update.cc index 98ff136f7bc..bb72320ca67 100644 --- a/source/blender/depsgraph/intern/depsgraph_update.cc +++ b/source/blender/depsgraph/intern/depsgraph_update.cc @@ -29,8 +29,7 @@ namespace deg = blender::deg; -namespace blender { -namespace deg { +namespace blender::deg { static DEG_EditorUpdateIDCb deg_editor_update_id_cb = nullptr; static DEG_EditorUpdateSceneCb deg_editor_update_scene_cb = nullptr; @@ -49,8 +48,7 @@ void deg_editors_scene_update(const DEGEditorUpdateContext *update_ctx, bool upd } } -} // namespace deg -} // namespace blender +} // namespace blender::deg /* Set callbacks which are being called when depsgraph changes. */ void DEG_editors_set_update_cb(DEG_EditorUpdateIDCb id_func, DEG_EditorUpdateSceneCb scene_func) |