You've already forked godot
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user