godot/scene/resources
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
..
default_theme Merge pull request #62910 from Vitika9/gsoc-colorpicker-ux 2022-10-07 09:49:29 +02:00
animation_library.cpp Improve documentation for get_animation() 2022-08-29 14:54:57 +08:00
animation_library.h Code quality: Fix header guards consistency 2022-07-25 11:17:40 +02:00
animation.cpp Fix MSVC warnings, rename shadowed variables, fix uninitialized values, change warnings=all to use /W4. 2022-10-07 11:32:33 +03:00
animation.h Changed the rest definition of SkeletonProfileHumanoid thumb 2022-09-18 06:28:53 +09:00
audio_stream_wav.cpp Fix MSVC warnings, rename shadowed variables, fix uninitialized values, change warnings=all to use /W4. 2022-10-07 11:32:33 +03:00
audio_stream_wav.h Change time parameters and variables to double type 2022-09-26 13:52:54 -05:00
bit_map.cpp Refactor BitMap and add tests 2022-09-01 18:39:17 +02:00
bit_map.h Refactor BitMap and add tests 2022-09-01 18:39:17 +02:00
bone_map.cpp Add simple auto mapping to BoneMapper 2022-08-23 16:43:33 +09:00
bone_map.h Add simple auto mapping to BoneMapper 2022-08-23 16:43:33 +09:00
box_shape_3d.cpp Use suffixes for units in nodes and resources 2022-05-19 14:34:27 -05:00
box_shape_3d.h Code quality: Fix header guards consistency 2022-07-25 11:17:40 +02:00
camera_attributes.cpp Implement Physical Light Units as an optional setting. 2022-08-31 12:14:46 -07:00
camera_attributes.h Implement Physical Light Units as an optional setting. 2022-08-31 12:14:46 -07:00
canvas_item_material.cpp Make _validate_property a multilevel method 2022-08-22 18:35:11 +03:00
canvas_item_material.h Make _validate_property a multilevel method 2022-08-22 18:35:11 +03:00
capsule_shape_2d.cpp Use suffixes for units in nodes and resources 2022-05-19 14:34:27 -05:00
capsule_shape_2d.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
capsule_shape_3d.cpp Fix MSVC warnings, rename shadowed variables, fix uninitialized values, change warnings=all to use /W4. 2022-10-07 11:32:33 +03:00
capsule_shape_3d.h Code quality: Fix header guards consistency 2022-07-25 11:17:40 +02:00
circle_shape_2d.cpp Use suffixes for units in nodes and resources 2022-05-19 14:34:27 -05:00
circle_shape_2d.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
concave_polygon_shape_2d.cpp Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
concave_polygon_shape_2d.h Code quality: Fix header guards consistency 2022-07-25 11:17:40 +02:00
concave_polygon_shape_3d.cpp Add a new HashSet template 2022-05-20 22:40:38 +02:00
concave_polygon_shape_3d.h Code quality: Fix header guards consistency 2022-07-25 11:17:40 +02:00
convex_polygon_shape_2d.cpp Restore antialiasing for draw_line 2022-04-12 13:03:56 +03:00
convex_polygon_shape_2d.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
convex_polygon_shape_3d.cpp Fix MSVC warnings, rename shadowed variables, fix uninitialized values, change warnings=all to use /W4. 2022-10-07 11:32:33 +03:00
convex_polygon_shape_3d.h Code quality: Fix header guards consistency 2022-07-25 11:17:40 +02:00
curve.cpp Handle last baked vector index early 2022-10-06 00:27:46 +02:00
curve.h Rename Curve/Curve2D/Curve3D/Gradient interpolate() to sample() 2022-08-30 22:08:38 +02:00
cylinder_shape_3d.cpp Fix MSVC warnings, rename shadowed variables, fix uninitialized values, change warnings=all to use /W4. 2022-10-07 11:32:33 +03:00
cylinder_shape_3d.h Code quality: Fix header guards consistency 2022-07-25 11:17:40 +02:00
environment.cpp Rename or_lesser range property hint to or_less 2022-09-02 19:08:20 +02:00
environment.h Merge pull request #60185 from Calinou/environment-fog-and-sky-affect 2022-09-01 23:52:34 +02:00
fog_material.cpp Tweak FogVolume density property to allow sliding to negative values 2022-09-26 15:44:30 +02:00
fog_material.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
font.cpp Fix MSVC warnings, rename shadowed variables, fix uninitialized values, change warnings=all to use /W4. 2022-10-07 11:32:33 +03:00
font.h Merge pull request #64422 from bruvzg/make_fonts_unbearably_ugly_2.0 2022-08-26 11:59:07 +02:00
gradient.cpp Rename Curve/Curve2D/Curve3D/Gradient interpolate() to sample() 2022-08-30 22:08:38 +02:00
gradient.h Rename Curve/Curve2D/Curve3D/Gradient interpolate() to sample() 2022-08-30 22:08:38 +02:00
height_map_shape_3d.cpp Improve range property hints for various collision shapes 2022-03-26 16:20:30 +01:00
height_map_shape_3d.h Code quality: Fix header guards consistency 2022-07-25 11:17:40 +02:00
immediate_mesh.cpp Replace Array return types with TypedArray 2 2022-08-23 23:21:32 +02:00
immediate_mesh.h Replace Array return types with TypedArray 2 2022-08-23 23:21:32 +02:00
importer_mesh.cpp Fix MSVC warnings, rename shadowed variables, fix uninitialized values, change warnings=all to use /W4. 2022-10-07 11:32:33 +03:00
importer_mesh.h Fix LOD-generation on skinned meshes. 2022-09-14 02:46:10 +01:00
label_settings.cpp Remove Signal connect binds 2022-07-29 16:26:13 +02:00
label_settings.h Change LabelSettings default values to match default theme. 2022-08-01 13:33:06 +03:00
material.cpp Fix MSVC warning C4702: unreachable code 2022-09-28 16:46:48 +02:00
material.h Fix sorting of uniform items in the material properties 2022-09-16 08:59:13 +03:00
mesh_data_tool.cpp Replace most uses of Map by HashMap 2022-05-16 10:37:48 +02:00
mesh_data_tool.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
mesh_library.cpp Fix MSVC warnings, rename shadowed variables, fix uninitialized values, change warnings=all to use /W4. 2022-10-07 11:32:33 +03:00
mesh_library.h Clean up mesh include code and comments 2022-08-20 13:24:40 -05:00
mesh.cpp Fix MSVC warnings, rename shadowed variables, fix uninitialized values, change warnings=all to use /W4. 2022-10-07 11:32:33 +03:00
mesh.h Revert usage of typed array in add_surface_from_arrays parameters 2022-09-02 18:08:43 +03:00
multimesh.cpp Add tests for empty/unnamed arguments to ClassDB, Variant, GDScript 2022-08-08 16:36:01 +03:00
multimesh.h Code quality: Fix header guards consistency 2022-07-25 11:17:40 +02:00
navigation_mesh.cpp Remove leading spaces from enumerator name hints 2022-10-08 11:33:50 +08:00
navigation_mesh.h Remove / Replace old Navigation Debug Visualization 2022-09-07 18:30:35 +02:00
packed_scene.cpp Fix MSVC warnings, rename shadowed variables, fix uninitialized values, change warnings=all to use /W4. 2022-10-07 11:32:33 +03:00
packed_scene.h Code quality: Fix header guards consistency 2022-07-25 11:17:40 +02:00
particle_process_material.cpp Rename or_lesser range property hint to or_less 2022-09-02 19:08:20 +02:00
particle_process_material.h Merge pull request #66720 from qarmin/unintialized_memory 2022-10-05 11:42:47 +02:00
physics_material.cpp Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
physics_material.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
polygon_path_finder.cpp Fix MSVC warnings, rename shadowed variables, fix uninitialized values, change warnings=all to use /W4. 2022-10-07 11:32:33 +03:00
polygon_path_finder.h Add a new HashSet template 2022-05-20 22:40:38 +02:00
primitive_meshes.cpp Remove leading spaces from enumerator name hints 2022-10-08 11:33:50 +08:00
primitive_meshes.h Set QuadMesh default size back to 1 2022-09-23 11:00:43 -07:00
rectangle_shape_2d.cpp Replace Vector2(i) with Size2(i) for methods returning a size 2022-09-01 20:04:17 +02:00
rectangle_shape_2d.h Replace Vector2(i) with Size2(i) for methods returning a size 2022-09-01 20:04:17 +02:00
resource_format_text.cpp Fix MSVC warnings, rename shadowed variables, fix uninitialized values, change warnings=all to use /W4. 2022-10-07 11:32:33 +03:00
resource_format_text.h Swap arguments of ResourceSaver.save() 2022-07-29 19:53:09 +02:00
SCsub SCons: Add explicit dependencies on thirdparty code in cloned env 2020-12-18 10:29:34 +01:00
segment_shape_2d.cpp Use suffixes for units in nodes and resources 2022-05-19 14:34:27 -05:00
segment_shape_2d.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
separation_ray_shape_2d.cpp rename translate(d) to translate(d)_local in Transform 2D/3D 2022-07-16 11:47:54 +02:00
separation_ray_shape_2d.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
separation_ray_shape_3d.cpp Add suffixes to all nodes and resources 2022-06-11 09:41:05 -05:00
separation_ray_shape_3d.h Code quality: Fix header guards consistency 2022-07-25 11:17:40 +02:00
shader_include.cpp Implement coloring for disabled branches in the shader editor 2022-08-14 13:57:26 +03:00
shader_include.h Swap arguments of ResourceSaver.save() 2022-07-29 19:53:09 +02:00
shader.cpp Rename uniform to parameter across the engine 2022-09-01 11:42:57 +03:00
shader.h prefix shader parameters with "shader_parameter/" 2022-09-02 20:41:00 -05:00
shape_2d.cpp Replace Array return types with TypedArray 2 2022-08-23 23:21:32 +02:00
shape_2d.h Replace Array return types with TypedArray 2 2022-08-23 23:21:32 +02:00
shape_3d.cpp Use suffixes for units in nodes and resources 2022-05-19 14:34:27 -05:00
shape_3d.h Code quality: Fix header guards consistency 2022-07-25 11:17:40 +02:00
skeleton_modification_2d_ccdik.cpp Rename str2var to str_to_var and similar 2022-08-26 14:58:22 +02:00
skeleton_modification_2d_ccdik.h Code quality: Fix header guards consistency 2022-07-25 11:17:40 +02:00
skeleton_modification_2d_fabrik.cpp Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
skeleton_modification_2d_fabrik.h Code quality: Fix header guards consistency 2022-07-25 11:17:40 +02:00
skeleton_modification_2d_jiggle.cpp Improve compilation speed (forward declarations/includes cleanup) 2022-02-12 02:46:22 +01:00
skeleton_modification_2d_jiggle.h Code quality: Fix header guards consistency 2022-07-25 11:17:40 +02:00
skeleton_modification_2d_lookat.cpp Rename str2var to str_to_var and similar 2022-08-26 14:58:22 +02:00
skeleton_modification_2d_lookat.h Code quality: Fix header guards consistency 2022-07-25 11:17:40 +02:00
skeleton_modification_2d_physicalbones.cpp Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
skeleton_modification_2d_physicalbones.h Code quality: Fix header guards consistency 2022-07-25 11:17:40 +02:00
skeleton_modification_2d_stackholder.cpp Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
skeleton_modification_2d_stackholder.h Code quality: Fix header guards consistency 2022-07-25 11:17:40 +02:00
skeleton_modification_2d_twoboneik.cpp Add suffixes to all nodes and resources 2022-06-11 09:41:05 -05:00
skeleton_modification_2d_twoboneik.h Code quality: Fix header guards consistency 2022-07-25 11:17:40 +02:00
skeleton_modification_2d.cpp Remove leading spaces from enumerator name hints 2022-10-08 11:33:50 +08:00
skeleton_modification_2d.h Code quality: Fix header guards consistency 2022-07-25 11:17:40 +02:00
skeleton_modification_3d_ccdik.cpp Remove leading spaces from enumerator name hints 2022-10-08 11:33:50 +08:00
skeleton_modification_3d_ccdik.h Clean up include guards in 3D skeleton modification code 2022-08-19 19:18:47 -05:00
skeleton_modification_3d_fabrik.cpp Rename str2var to str_to_var and similar 2022-08-26 14:58:22 +02:00
skeleton_modification_3d_fabrik.h Clean up include guards in 3D skeleton modification code 2022-08-19 19:18:47 -05:00
skeleton_modification_3d_jiggle.cpp Rename str2var to str_to_var and similar 2022-08-26 14:58:22 +02:00
skeleton_modification_3d_jiggle.h Clean up include guards in 3D skeleton modification code 2022-08-19 19:18:47 -05:00
skeleton_modification_3d_lookat.cpp Remove leading spaces from enumerator name hints 2022-10-08 11:33:50 +08:00
skeleton_modification_3d_lookat.h Clean up include guards in 3D skeleton modification code 2022-08-19 19:18:47 -05:00
skeleton_modification_3d_stackholder.cpp Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
skeleton_modification_3d_stackholder.h Clean up include guards in 3D skeleton modification code 2022-08-19 19:18:47 -05:00
skeleton_modification_3d_twoboneik.cpp Rename str2var to str_to_var and similar 2022-08-26 14:58:22 +02:00
skeleton_modification_3d_twoboneik.h Clean up include guards in 3D skeleton modification code 2022-08-19 19:18:47 -05:00
skeleton_modification_3d.cpp Remove leading spaces from enumerator name hints 2022-10-08 11:33:50 +08:00
skeleton_modification_3d.h Code quality: Fix header guards consistency 2022-07-25 11:17:40 +02:00
skeleton_modification_stack_2d.cpp 2D and 3D Skeleton modification docs, and small fixes. 2022-09-14 15:07:45 -07:00
skeleton_modification_stack_2d.h Code quality: Fix header guards consistency 2022-07-25 11:17:40 +02:00
skeleton_modification_stack_3d.cpp Change skeleton modification 2d and 3d to use the array inspector. 2022-05-07 13:57:10 -07:00
skeleton_modification_stack_3d.h Code quality: Fix header guards consistency 2022-07-25 11:17:40 +02:00
skeleton_profile.cpp Changed the rest definition of SkeletonProfileHumanoid thumb 2022-09-18 06:28:53 +09:00
skeleton_profile.h Make _validate_property a multilevel method 2022-08-22 18:35:11 +03:00
skin.cpp Fix MSVC warnings, rename shadowed variables, fix uninitialized values, change warnings=all to use /W4. 2022-10-07 11:32:33 +03:00
skin.h Merge pull request #56212 from laws65/skin-export-crash-fix 2022-01-05 10:48:52 +01:00
sky_material.cpp Move debanding into internal sky shader code so that it is applied after everything else. 2022-09-13 10:39:04 -07:00
sky_material.h Style: Cleanup header guards for consistency 2022-09-26 13:51:17 +02:00
sky.cpp Capitalize/fix some property enum hints 2022-05-12 15:03:16 -05:00
sky.h Revert "Default to real-time radiance map filter for environment sky reflections" 2022-02-17 23:13:32 -08:00
sphere_shape_3d.cpp Rename str2var to str_to_var and similar 2022-08-26 14:58:22 +02:00
sphere_shape_3d.h Code quality: Fix header guards consistency 2022-07-25 11:17:40 +02:00
sprite_frames.cpp Fix MSVC warnings, rename shadowed variables, fix uninitialized values, change warnings=all to use /W4. 2022-10-07 11:32:33 +03:00
sprite_frames.h SpriteFrames: Sort animations alphabetically 2022-07-13 16:15:11 +02:00
style_box.cpp Unbind StyleBox*.set_*_individual() methods 2022-09-07 16:37:36 +03:00
style_box.h Add set_default_margin_all/individual to StyleBox 2022-09-07 16:37:36 +03:00
surface_tool.cpp Remove usage of unitialized variables 2022-10-01 21:09:22 +02:00
surface_tool.h Code quality: Fix header guards consistency 2022-07-25 11:17:40 +02:00
syntax_highlighter.cpp Cleanup and move char functions to the char_utils.h header. 2022-02-04 11:35:01 +02:00
syntax_highlighter.h Code quality: Fix header guards consistency 2022-07-25 11:17:40 +02:00
text_file.cpp Allows parsing of invalid UTF-16 surrogates (can be encountered in Windows filenames) and some non-standard UTF-8 variants, makes Unicode parse errors more verbose. 2022-07-07 11:07:18 +03:00
text_file.h Code quality: Fix header guards consistency 2022-07-25 11:17:40 +02:00
text_line.cpp Fix various typos not caught by codespell 2022-07-21 07:38:23 -04:00
text_line.h Use BitField hint for the TextServer enums. Add missing parts for BitField support to the GDextension API. 2022-07-15 08:49:50 +03:00
text_paragraph.cpp [TextServer] Add support for trimming edge spaces on line break. 2022-09-01 08:11:55 +03:00
text_paragraph.h Use BitField hint for the TextServer enums. Add missing parts for BitField support to the GDextension API. 2022-07-15 08:49:50 +03:00
texture.cpp Fix MSVC warnings, rename shadowed variables, fix uninitialized values, change warnings=all to use /W4. 2022-10-07 11:32:33 +03:00
texture.h Remove unused struct in GradientTexture1D 2022-09-21 19:05:03 +02:00
theme.cpp Fix MSVC warnings, rename shadowed variables, fix uninitialized values, change warnings=all to use /W4. 2022-10-07 11:32:33 +03:00
theme.h Add ThemeDB, expose previously static Theme methods 2022-08-26 19:23:05 +03:00
tile_set.cpp Fix MSVC warnings, rename shadowed variables, fix uninitialized values, change warnings=all to use /W4. 2022-10-07 11:32:33 +03:00
tile_set.h Replace Vector2(i) with Size2(i) for methods returning a size 2022-09-01 20:04:17 +02:00
video_stream.h Change time parameters and variables to double type 2022-09-26 13:52:54 -05:00
visual_shader_nodes.cpp Fix code generation for VisualShaderNodeTextureParameterTriplanar 2022-09-07 07:02:07 +03:00
visual_shader_nodes.h Fix code generation for VisualShaderNodeTextureParameterTriplanar 2022-09-07 07:02:07 +03:00
visual_shader_particle_nodes.cpp Fix MSVC warnings, rename shadowed variables, fix uninitialized values, change warnings=all to use /W4. 2022-10-07 11:32:33 +03:00
visual_shader_particle_nodes.h Code quality: Fix header guards consistency 2022-07-25 11:17:40 +02:00
visual_shader_sdf_nodes.cpp Add some more fixes to visual shader 2022-02-07 11:28:42 +03:00
visual_shader_sdf_nodes.h Fix default input port hints for some modes in visual shader 2022-01-22 11:12:56 +03:00
visual_shader.cpp Fix MSVC warnings, rename shadowed variables, fix uninitialized values, change warnings=all to use /W4. 2022-10-07 11:32:33 +03:00
visual_shader.h Fix MSVC warnings, rename shadowed variables, fix uninitialized values, change warnings=all to use /W4. 2022-10-07 11:32:33 +03:00
world_2d.cpp Added node for Navigation links 2022-08-26 22:05:15 -07:00
world_2d.h Add a new HashSet template 2022-05-20 22:40:38 +02:00
world_3d.cpp Merge pull request #63479 from DarkKilauea/nav-link 2022-09-01 23:44:22 +02:00
world_3d.h Implement Physical Light Units as an optional setting. 2022-08-31 12:14:46 -07:00
world_boundary_shape_2d.cpp Use suffixes for units in nodes and resources 2022-05-19 14:34:27 -05:00
world_boundary_shape_2d.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
world_boundary_shape_3d.cpp Use suffixes for units in nodes and resources 2022-05-19 14:34:27 -05:00
world_boundary_shape_3d.h Code quality: Fix header guards consistency 2022-07-25 11:17:40 +02:00