You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
Fix filename disambiguation on scripts in certain occasions
(cherry picked from commit ed488b72a6)
This commit is contained in:
committed by
Rémi Verschelde
parent
d0abf5b0f5
commit
58b2d669a0
@@ -1907,7 +1907,7 @@ void ScriptEditor::_update_script_names() {
|
||||
Vector<String> disambiguated_script_names;
|
||||
Vector<String> full_script_paths;
|
||||
for (int j = 0; j < sedata.size(); j++) {
|
||||
disambiguated_script_names.push_back(sedata[j].name.replace("(*)", ""));
|
||||
disambiguated_script_names.push_back(sedata[j].name.replace("(*)", "").get_file());
|
||||
full_script_paths.push_back(sedata[j].tooltip);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user