summaryrefslogtreecommitdiff
path: root/editor/editor_data.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2020-12-09 13:01:50 +0100
committerGitHub <noreply@github.com>2020-12-09 13:01:50 +0100
commit114f97ff110aa0b5c54ea1c8279b21dc73c5efc8 (patch)
tree065ed6b74f7e0171c1bc9f8d94fcee2f01d7f7cb /editor/editor_data.cpp
parente48d1b3f518d24a5ff0cb7f636c07162873fa63e (diff)
parent2c048ea16429cfa4e6b200a4fe519ee9db7c3f99 (diff)
Merge pull request #44128 from KoBeWi/🧹
Cleanup unused engine code
Diffstat (limited to 'editor/editor_data.cpp')
-rw-r--r--editor/editor_data.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/editor/editor_data.cpp b/editor/editor_data.cpp
index 975405aec4..eab1ecf373 100644
--- a/editor/editor_data.cpp
+++ b/editor/editor_data.cpp
@@ -691,11 +691,6 @@ void EditorData::set_edited_scene_version(uint64_t version, int p_scene_idx) {
}
}
-uint64_t EditorData::get_edited_scene_version() const {
- ERR_FAIL_INDEX_V(current_edited_scene, edited_scene.size(), 0);
- return edited_scene[current_edited_scene].version;
-}
-
uint64_t EditorData::get_scene_version(int p_idx) const {
ERR_FAIL_INDEX_V(p_idx, edited_scene.size(), 0);
return edited_scene[p_idx].version;