1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-19 14:31:59 +00:00

Cleanup unused engine code

This commit is contained in:
Tomasz Chabora
2020-12-08 22:51:48 +01:00
parent 90bdba576a
commit 2c048ea164
56 changed files with 4 additions and 615 deletions

View File

@@ -1481,16 +1481,6 @@ int SceneState::add_name(const StringName &p_name) {
return names.size() - 1;
}
int SceneState::find_name(const StringName &p_name) const {
for (int i = 0; i < names.size(); i++) {
if (names[i] == p_name) {
return i;
}
}
return -1;
}
int SceneState::add_value(const Variant &p_value) {
variants.push_back(p_value);
return variants.size() - 1;