When saving a new scene for the first time the default name (without extension) is the name of the root node of that scene but starting with a lowercase letter (even when the root node starts with an uppercase letter).
When saving a branch as a scene and the root of that branch starts with an uppercase letter, the default filename is the name of that branch root as it is, so with an uppercase letter.
I would expect the proposed default filename to be more consistent
Steps to reproduce
Create a new project
Create a root node called Main
Save this scene. It will show main.tscn as default filename
Create a child node called Player
Save the Player branch as a scene. It will show Player.tscn as default filename.
Minimal reproduction project
No response
The text was updated successfully, but these errors were encountered:
Hi, I'm new and I'd like to try working on this.
I've had a look and it looks like the enum used for the cases is private in editor_node.h.
Would making it public be a good idea?
It would be nice that while fixing this you could also make it respect the choice in Project Settings... master currently doesn't and just defaults to snake case even if you choose one of the other 2 options
Godot version
Godot_v4.0-alpha1_linux.64
System information
recently updated arch linux
Issue description
When saving a new scene for the first time the default name (without extension) is the name of the root node of that scene but starting with a lowercase letter (even when the root node starts with an uppercase letter).
When saving a branch as a scene and the root of that branch starts with an uppercase letter, the default filename is the name of that branch root as it is, so with an uppercase letter.
I would expect the proposed default filename to be more consistent
Steps to reproduce
Mainmain.tscnas default filenamePlayerPlayer.tscnas default filename.Minimal reproduction project
No response
The text was updated successfully, but these errors were encountered: