summaryrefslogtreecommitdiffstats
path: root/scene/debugger
diff options
context:
space:
mode:
authorkobewi <kobewi4e@gmail.com>2023-03-24 19:38:08 +0100
committerkobewi <kobewi4e@gmail.com>2023-03-24 19:38:08 +0100
commitf289e749667203de6682b8ac80990aca89bd4fc9 (patch)
tree5eee7b9dedc98894b9ef5bab84ec8738c7a0487e /scene/debugger
parent0291fcd7b66bcb315a49c44de8031e5596de4216 (diff)
downloadredot-engine-f289e749667203de6682b8ac80990aca89bd4fc9.tar.gz
Refresh filesystem when saving remote branch
Diffstat (limited to 'scene/debugger')
-rw-r--r--scene/debugger/scene_debugger.cpp3
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);