summaryrefslogtreecommitdiffstats
path: root/editor/filesystem_dock.h
diff options
context:
space:
mode:
authorJuan Linietsky <juan@godotengine.org>2017-12-26 16:32:12 -0300
committerJuan Linietsky <juan@godotengine.org>2017-12-26 16:32:12 -0300
commit57061413eb0ced8616f69c556b3add5fa45600a6 (patch)
treef0b4406482d787a5613e9a9a1560a03544a91f42 /editor/filesystem_dock.h
parentc858dbdc4e4f316148fbd63184d8a8c5a25ce279 (diff)
downloadredot-engine-57061413eb0ced8616f69c556b3add5fa45600a6.tar.gz
Properly rename scenes and resources after renaming or moving files, should fix #13976
It's not tested, so please test.
Diffstat (limited to 'editor/filesystem_dock.h')
-rw-r--r--editor/filesystem_dock.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/filesystem_dock.h b/editor/filesystem_dock.h
index bc8d835ba1..65a71b86e0 100644
--- a/editor/filesystem_dock.h
+++ b/editor/filesystem_dock.h
@@ -178,6 +178,7 @@ private:
void _try_move_item(const FileOrFolder &p_item, const String &p_new_path, Map<String, String> &p_renames) const;
void _try_duplicate_item(const FileOrFolder &p_item, const String &p_new_path) const;
void _update_dependencies_after_move(const Map<String, String> &p_renames) const;
+ void _update_resource_paths_after_move(const Map<String, String> &p_renames) const;
void _make_dir_confirm();
void _rename_operation_confirm();