Godot: Godot 3.0 bad default snake_case results with classes that have 2D in the name

Created on 20 Apr 2017  路  2Comments  路  Source: godotengine/godot

Operating system or device - Godot version:
3.0 alpha

Issue description:
If you enable snake_case, and add for example "CollisionShape2D", it turns into "collision_shape2_d".
What is expected is "collision_shape_2d".

Steps to reproduce:

  1. Turn on snake_case
  2. Add CollisionShape2D.
bug editor usability

Most helpful comment

Suddenly it's a bug, but when i mentioned it when testing the snakecase implementation, everybody said 'good enuff' :D

All 2 comments

Same effect after added Node2D as "node2_d" and others.

Suddenly it's a bug, but when i mentioned it when testing the snakecase implementation, everybody said 'good enuff' :D

Was this page helpful?
0 / 5 - 0 ratings