Commit graph

41831 commits

Author SHA1 Message Date
Rémi Verschelde
f94233ee53
Merge pull request #58741 from Calinou/editor-visual-profiler-fix-light-font-color
Fix font color in the editor visual profiler when using light theme
2022-03-04 11:34:13 +01:00
Rémi Verschelde
b21e2ec746
Merge pull request #58738 from bruvzg/mac_resize_crash
[macOS] Disable window redraw during resize, when rendering in the separate thread.
2022-03-04 11:33:53 +01:00
Rémi Verschelde
a3d54f9d13
Merge pull request #58740 from timothyqiu/text-editor-separator
Remove extra separator when `TextEdit` is read only and unselectable
2022-03-04 11:33:35 +01:00
Rémi Verschelde
12db0cddf4
Merge pull request #58733 from bruvzg/plist_locale 2022-03-04 10:53:48 +01:00
Haoyu Qiu
29e45d4fa0 Fix X11 memory leak after drag & drop file into the editor 2022-03-04 17:50:24 +08:00
Rémi Verschelde
9b94a1dc4a
Merge pull request #58670 from KoBeWi/internal_debugger 2022-03-04 10:44:56 +01:00
Hugo Locurcio
a06f82ca4d
Add optional constructor arguments to more Control nodes
This can be used to make editor code more compact.
However, as of writing, these constructor arguments cannot be used
from the scripting API.

This was already provided for Label and CheckBox, but it was missing
for other Control nodes where it made sense to provide a default value.
2022-03-04 09:48:41 +01:00
Rémi Verschelde
39dc25376e
Merge pull request #58731 from Calinou/editor-theme-clamp-base-colors
Clamp the editor theme's base colors to avoid various issues
2022-03-04 09:46:10 +01:00
Hugo Locurcio
14e34cb950
Fix font color in the editor visual profiler when using light theme
Previously, white text would be drawn on a white background.
2022-03-04 09:41:15 +01:00
bruvzg
a9808d9d7a
[macOS] Disable window redraw during resize, when rendering in the separate thread. 2022-03-04 10:25:39 +02:00
Haoyu Qiu
933211cb0c Remove extra separator when TextEdit is read only and unselectable 2022-03-04 16:25:25 +08:00
Rémi Verschelde
dd98e75e76
Merge pull request #58730 from Calinou/editor-visual-profiler-use-background-color
Use the editor background color for the visual profiler graph
2022-03-04 09:23:42 +01:00
Rémi Verschelde
de86b21272
Merge pull request #58725 from fire-forge/sprite2d_menu_icons
Add node icons to the Sprite2D menu
2022-03-04 09:18:07 +01:00
Hugo Locurcio
c509a3a3a5
Tweak render timestamp names for explicitness and consistency
- Add 2D and 3D in timestamp names when needed to avoid ambiguity.
- Use present tense in all render timestamp names.
- Add a space after ">" (begin) and "<" (end) symbols.
- Remove redundant "End" in render timestamp names (indicated by "<").
2022-03-04 08:46:12 +01:00
Hugo Locurcio
6b003384d7
Clamp the editor theme's base colors to avoid various issues
This fixes the profiler backgrounds being black when using the
light editor theme (which is a regression from using a negative
contrast setting by default for the Light preset).
2022-03-04 08:28:14 +01:00
bruvzg
5fdea69276
[macOS and iOS export] Add localized application name to the translation .plist files. 2022-03-04 09:27:44 +02:00
Hugo Locurcio
6a9995d24a
Use the editor background color for the visual profiler graph
This was already done for the general profiler.
2022-03-04 08:21:58 +01:00
FireForge
1e7108938c Add node icons to the Sprite2D menu 2022-03-04 01:17:35 -06:00
Rémi Verschelde
d0c3094da8
Merge pull request #58721 from raulsntos/csharp-docgen
Various fixes to C# documentation generator
2022-03-04 07:30:23 +01:00
Michael Alexsander
a811ebf699 Make TabContainer use TabBar internally 2022-03-03 21:49:58 -03:00
Raul Santos
eaddb79ec6
Refactor bbcode_to_xml into multiple specific methods
The specific `_append_xml_*` methods implement the logic that generates
the proper XML documentation for the given BBCode tag and target and
appends it to the output.
2022-03-03 23:35:10 +01:00
MrSwedish
97c5fd17a7 Add linear_velocity and angular_velocity to PhysicalBone3D 2022-03-03 20:34:29 +01:00
Raul Santos
84615b4b53
Find inherited members in C# documentation generator 2022-03-03 19:53:06 +01:00
Raul Santos
42989befd6
Add theme_item support to C# documentation generator 2022-03-03 18:54:49 +01:00
Raul Santos
e601c9eb8f
Fix checking for @GlobalScope in C# documentation generator 2022-03-03 18:54:41 +01:00
Raul Santos
424817039a
Check for missing methods/members in C# documentation generator
- Outputs errors for missing members or methods when generating the C#
documentation.
- Hardcodes a special case for the `_init` method, in C# we'll reference
the constructor.
- Ignores properties with slashes (since they are not declared in C# and
can't be referenced in the documentation).
2022-03-03 18:53:15 +01:00
Raul Santos
47a7d85cc4
Fix references to global constants in C# documentation generator
Tries to find the referenced constants in the GlobalScope
if not found in the target class or if no class is specified.
2022-03-03 18:53:15 +01:00
Rémi Verschelde
3f69ea4f3b
Merge pull request #58711 from lyuma/fix_gltf_blend_export
glTF export for new TYPE_BLEND_SHAPE tracks
2022-03-03 17:30:47 +01:00
Rémi Verschelde
b70688401a
Merge pull request #57478 from FelixNemis/physics-signal-doc-fix
Fix snippet for getting collisionshape node in body/area signal docs
2022-03-03 16:08:13 +01:00
Rémi Verschelde
d699ff6dc0
Merge pull request #58705 from timothyqiu/ttr-vformat
Use `vformat()` instead of string concatenation inside `TTR()`
2022-03-03 15:11:41 +01:00
Lyuma
35b964606e glTF export for new TYPE_BLEND_SHAPE tracks 2022-03-03 05:28:00 -08:00
Max Hilbrunner
cfd4433bbc
Merge pull request #58643 from KoBeWi/👀
Update some docs regarding SubViewports
2022-03-03 13:17:34 +01:00
Max Hilbrunner
4eb34123ad
Merge pull request #57466 from Sauermann/fix-rect2i-intersect-doc
Fix Rect2i.intersects doc: Remove nonexistent parameter from documentation
2022-03-03 13:14:05 +01:00
Max Hilbrunner
57838fc0ee
Merge pull request #58262 from Sauermann/fix-range-doc
Describe usage of float in range documentation
2022-03-03 13:12:29 +01:00
Max Hilbrunner
f3bb33978e
Merge pull request #58162 from KoBeWi/RY
Update description of LINE_TEXTURE constants
2022-03-03 13:08:23 +01:00
Haoyu Qiu
b058f6b80c Use vformat() instead of string concatenation inside TTR() 2022-03-03 17:55:37 +08:00
Rémi Verschelde
33fc69dfb0
Merge pull request #58699 from Calinou/lineedit-textedit-fix-caret-disappearing
Fix LineEdit and TextEdit carets disappearing at theme scales below 1.0
2022-03-03 08:08:37 +01:00
Hugo Locurcio
816d332e51
Fix LineEdit and TextEdit carets disappearing at theme scales below 1.0
This fixes carets disappearing in the editor when the Editor Scale
setting is set below 100%.
2022-03-03 00:15:48 +01:00
Rémi Verschelde
65dce481b0
Merge pull request #58684 from IgorKordiukiewicz/atlas-source-editor-properties-errors
Added property hint to id property in tile set atlas source editor
2022-03-02 22:59:44 +01:00
Igor Kordiukiewicz
ed0da06958 Added property hint to id property in tile set atlas source editor 2022-03-02 20:33:03 +01:00
miremrie
a5e30c0228 Allow absolute file paths in file dialogs 2022-03-02 19:42:39 +01:00
Hugo Locurcio
4219485a82
Always register the Smooth Trimesh Collision project setting
This ensures the project setting never disappears from the editor,
even if the current physics engine is GodotPhysics.

This also adds documentation for the Smooth Trimesh Collision
project setting.
2022-03-02 18:49:34 +01:00
Rémi Verschelde
e6f00a0f73
Merge pull request #58659 from IgorKordiukiewicz/set_tile_alternative_tile_default_param 2022-03-02 17:59:20 +01:00
kobewi
98dd04c38c Fix debugger not opening built-in scripts 2022-03-02 17:57:56 +01:00
Igor Kordiukiewicz
8f49150b10 Changed TileMap::set_cell alternative_tile default value to 0 2022-03-02 12:13:45 +01:00
Rémi Verschelde
2d210fecf0
Merge pull request #58680 from timothyqiu/duplicated-msgid 2022-03-02 11:10:43 +01:00
Rémi Verschelde
52b3add881
Merge pull request #58679 from bruvzg/hb400 2022-03-02 11:10:00 +01:00
Haoyu Qiu
d1ca29cd8c Remove TTRC() with empty string
Fixes "duplicate message definition" when extracting messages.
2022-03-02 17:02:10 +08:00
bruvzg
9b0fbfa06d
HarfBuzz: Update to version 4.0.0 2022-03-02 10:48:37 +02:00
Rémi Verschelde
b7a852a05d
Merge pull request #58671 from KoBeWi/set_noclip_1
Remove unimplemented GridMap set_clip() method
2022-03-02 08:18:53 +01:00