diff options
author | kobewi <kobewi4e@gmail.com> | 2023-03-24 19:38:08 +0100 |
---|---|---|
committer | kobewi <kobewi4e@gmail.com> | 2023-03-24 19:38:08 +0100 |
commit | f289e749667203de6682b8ac80990aca89bd4fc9 (patch) | |
tree | 5eee7b9dedc98894b9ef5bab84ec8738c7a0487e /scene/debugger | |
parent | 0291fcd7b66bcb315a49c44de8031e5596de4216 (diff) | |
download | redot-engine-f289e749667203de6682b8ac80990aca89bd4fc9.tar.gz |
Refresh filesystem when saving remote branch
Diffstat (limited to 'scene/debugger')
-rw-r--r-- | scene/debugger/scene_debugger.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scene/debugger/scene_debugger.cpp b/scene/debugger/scene_debugger.cpp index 0f4d304ce9..6df40837c5 100644 --- a/scene/debugger/scene_debugger.cpp +++ b/scene/debugger/scene_debugger.cpp @@ -90,6 +90,9 @@ Error SceneDebugger::parse_message(void *p_user, const String &p_msg, const Arra } else if (p_msg == "save_node") { // Save node. ERR_FAIL_COND_V(p_args.size() < 2, ERR_INVALID_DATA); _save_node(p_args[0], p_args[1]); + Array arr; + arr.append(p_args[1]); + EngineDebugger::get_singleton()->send_message("filesystem:update_file", { arr }); } else if (p_msg == "inspect_object") { // Object Inspect ERR_FAIL_COND_V(p_args.size() < 1, ERR_INVALID_DATA); |