Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New scene doesn't name the root node in PascalCase #82741

Closed
Yelnats321 opened this issue Oct 3, 2023 · 2 comments
Closed

New scene doesn't name the root node in PascalCase #82741

Yelnats321 opened this issue Oct 3, 2023 · 2 comments

Comments

@Yelnats321
Copy link

Godot version

4.1.1 stable

System information

N/A

Issue description

The project organization style guide says to name nodes in PascalCase and files in snake_case. If one sets the name of a new scene to be say scene_one, the root node of the scene will also be named scene_one instead of SceneOne.

Although there is a Root Name option in the dialog, it follows convention to automatically rename the root node to PascalCase.

Steps to reproduce

  1. Select Create New>Scene... in the FileSystem view in the editor
  2. Set the Scene Name to scene_one
  3. Press OK
  4. Observe that the root node is also named scene_one

Minimal reproduction project

N/A

@jackwilsdon
Copy link
Contributor

Looks like this is a duplicate of #79751, which should be fixed in 4.2 (#79756).

@Sauermann
Copy link
Contributor

Consolidating as a duplicate with #79751.

@Sauermann Sauermann closed this as not planned Won't fix, can't repro, duplicate, stale Oct 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants