Display scene file extensions in the editor only if there's ambiguity

This also simplifies the Editor Settings as the extension is now
automatically shown to avoid ambiguity.
This commit is contained in:
Hugo Locurcio 2020-01-19 18:48:59 +01:00
parent 6608d99291
commit 218d124755
No known key found for this signature in database
GPG key ID: 39E8F8BE30B0A49C
4 changed files with 27 additions and 9 deletions

View file

@ -184,7 +184,7 @@ public:
Node *get_edited_scene_root(int p_idx = -1);
int get_edited_scene_count() const;
Vector<EditedScene> get_edited_scenes() const;
String get_scene_title(int p_idx) const;
String get_scene_title(int p_idx, bool p_always_strip_extension = false) const;
String get_scene_path(int p_idx) const;
String get_scene_type(int p_idx) const;
void set_scene_path(int p_idx, const String &p_path);