godot/scene
Haoyu Qiu 344ed9ec6c Remove leading spaces from enumerator name hints
For `PROPERTY_HINT_ENUM` properties, enumerator names can be provided as
a comma separated list. There're a few properties that add leading
spaces to the names (e.g. `First, Second, Third`).

These spaces are included in the Inspector dropdown, which is
unexpected.

It's better to leave the surrounding spaces untouched because it could
be part of the resulting string value (the variable is a string enum).
And most other enum hints don't contain surrounding whitespaces.

This PR removes the spaces and documents this `PROPERTY_HINT_ENUM`
behavior.
2022-10-08 11:33:50 +08:00
..
2d Fix MSVC warnings, rename shadowed variables, fix uninitialized values, change warnings=all to use /W4. 2022-10-07 11:32:33 +03:00
3d Remove leading spaces from enumerator name hints 2022-10-08 11:33:50 +08:00
animation Merge pull request #67020 from GuilhermeGSousa/remove-transition-expression-node 2022-10-07 14:23:00 +02:00
audio Fix AudioStreamPlayer not resuming after returning to SceneTree 2022-09-05 16:52:46 +02:00
debugger Fix MSVC warnings, rename shadowed variables, fix uninitialized values, change warnings=all to use /W4. 2022-10-07 11:32:33 +03:00
gui Fix MSVC warnings, rename shadowed variables, fix uninitialized values, change warnings=all to use /W4. 2022-10-07 11:32:33 +03:00
main Fix MSVC warnings, rename shadowed variables, fix uninitialized values, change warnings=all to use /W4. 2022-10-07 11:32:33 +03:00
resources Remove leading spaces from enumerator name hints 2022-10-08 11:33:50 +08:00
theme Un-defer the initial theme changed notification 2022-09-02 23:44:23 +03:00
property_utils.cpp
property_utils.h
register_scene_types.cpp Add QuadMesh back as a subclass of PlaneMesh. 2022-09-19 08:53:10 -07:00
register_scene_types.h Add ThemeDB, expose previously static Theme methods 2022-08-26 19:23:05 +03:00
scene_string_names.cpp
scene_string_names.h
SCsub Add ThemeDB, expose previously static Theme methods 2022-08-26 19:23:05 +03:00