Commit Graph

37799 Commits

Author SHA1 Message Date
Rémi Verschelde
3691cb0ca4
etcpak: Update to upstream commit 7c3cb6f (Jul 29, 2021)
Adds a new `useHeuristics` compression mode for ETC2.
Upstream defaults to enable it so we do the same.
2021-09-22 13:17:07 +02:00
Rémi Verschelde
211cb401db
Merge pull request #52928 from bruvzg/var_coord_prefill 2021-09-22 11:31:35 +02:00
bruvzg
9a36d8f26f Fill variation coordinates dictionary with default values when FontData is set/added. 2021-09-22 11:10:40 +03:00
Rémi Verschelde
c63d1c3e4a
Merge pull request #52923 from SirQuartz/paint-tool 2021-09-22 10:06:17 +02:00
Rémi Verschelde
e305030522
Merge pull request #47422 from skyace65/EventPosition 2021-09-22 09:04:38 +02:00
Rémi Verschelde
8b31993ef6
Merge pull request #52921 from timothyqiu/view-name-typo 2021-09-22 08:29:24 +02:00
Nicholas Huelin
d625901032
Fix paint tool duplicate shortcut
This pull request fixes an issue where the pain tool in tile_map_editor.cpp had two different shortcuts for the same tool.
2021-09-21 23:04:46 -04:00
Haoyu Qiu
1032c8535b Fix 3D view name typo 2021-09-22 10:30:48 +08:00
skyace65
824259aca0 Add note that for _gui_input(event) event position is relative to the control origin 2021-09-21 20:47:13 -04:00
Camille Mohr-Daurat
c1e6c2c49a
Merge pull request #52889 from fabriceci/multiple_collision-support-fab
Port 2D improvements to move and slide 3D (with extras)
2021-09-21 17:41:33 -07:00
fabriceci
fd9e573ba6 Port 2D improvement to move and slide 3D
Co-authored-by: Camille Mohr-Daurat <pouleyketchoup@gmail.com>
2021-09-22 00:14:04 +02:00
Rémi Verschelde
bfcc29635f
Merge pull request #52913 from Paulb23/text-edit-search-theme 2021-09-21 21:55:41 +02:00
Rémi Verschelde
ba57252bd8
Merge pull request #52878 from AnilBK/add-get-center 2021-09-21 21:30:30 +02:00
Paulb23
6c2fd03959 Added search colors to TextEdit and CodeEdit theme 2021-09-21 20:24:39 +01:00
Rémi Verschelde
726b826b31
Merge pull request #52901 from nonunknown/master 2021-09-21 21:04:52 +02:00
Rémi Verschelde
679f70c1e1
Merge pull request #52906 from vnen/gdscript-show-error-on-yield 2021-09-21 20:36:39 +02:00
Rémi Verschelde
b3b4860d2e
Merge pull request #52905 from vnen/gdscript-single-line-declaration 2021-09-21 20:35:36 +02:00
Rémi Verschelde
3d33815ad7
Merge pull request #52903 from vnen/gdscript-signal-multiline 2021-09-21 20:35:10 +02:00
George Marques
262d6c6bef
GDScript: Show specific error when "yield" is used
To help people porting code, it gives a hint to use "await" instead of a
generic error.
2021-09-21 14:38:14 -03:00
George Marques
e5ebc9710d
GDScript: Allow classes declaration to be done in single line
Incidentally, allow multiple statements in single line functions when
using semicolon as a terminator.
2021-09-21 14:14:46 -03:00
George Marques
bab0afc821
GDScript: Allow multiple lines in signal parameters declaration 2021-09-21 13:40:39 -03:00
nonunknown
5489f43844 Fix alpha typo in code completion color 2021-09-21 12:59:01 -03:00
Rémi Verschelde
db028ac700
Merge pull request #52898 from vnen/gdscript-assigment-conversion-fix
GDScript: Remove conversion assign mistakenly done when unneeded
2021-09-21 17:43:11 +02:00
Anilforextra
90908cd67d Add Get Center Method for Rect2/Rect2i and AABB. 2021-09-21 21:14:17 +05:45
Rémi Verschelde
b1853d8672
i18n: Sync translations with Weblate
(cherry picked from commit 323c3ee9db5414dbd79748a98e21446dddecb057)
2021-09-21 17:28:21 +02:00
Rémi Verschelde
61ce8b206e
Merge pull request #52877 from Calinou/add-print-verbose
Add `print_verbose()` built-in function to print in verbose mode only
2021-09-21 17:00:58 +02:00
George Marques
5107f9190b
GDScript: Remove conversion assign mistakenly done when unneeded 2021-09-21 11:58:57 -03:00
Rémi Verschelde
f144b33201
Merge pull request #51280 from EricEzaM/shortcut-remove-preprocessor-defines-add-overrides
Added ability to override shortcut definitions for OSX (remove preprocessor defines)
2021-09-21 16:57:48 +02:00
Rémi Verschelde
051c2c8a3a
Merge pull request #38256 from EricEzaM/add-option-update-spinbox-on-text-changed
Added option for spinbox to update it's value on line edit 'text_changed' rather than 'text_entered'
2021-09-21 16:24:47 +02:00
Eric M
6b65092c57 Added ability to override shortcut definitions for OSX (remove preprocessor defines) 2021-09-22 00:09:57 +10:00
Hugo Locurcio
650b1db4b8
Add print_verbose() built-in function to print in verbose mode only
This can be used as a shorthand for:

    if OS.is_stdout_verbose():
        print("...")

Unlike `print_debug()`, this works in release builds too and can
be toggled off in debug builds.
2021-09-21 15:59:49 +02:00
Yuri Roubinsky
26e3b3908d
Merge pull request #52852 from Chaosus/gds_fix_constants
Prevent local constant default value from incorrect overriding by a global constant in GDScript autocompletion
2021-09-21 16:44:46 +03:00
Eric M
baba971c81 Added option for spinbox to update it's value on line edit 'text_changed' rather than 'text_entered' 2021-09-21 23:24:33 +10:00
Rémi Verschelde
b458feba24
Merge pull request #51655 from RevoluPowered/improve-gdscript-code-editor-performance
Improve GDScript Editor performance
2021-09-21 15:18:17 +02:00
Rémi Verschelde
3268917771
Merge pull request #51308 from EricEzaM/improved-builting-override-handling
Improve implementation of builtin action overrides
2021-09-21 15:17:58 +02:00
Rémi Verschelde
d7b68f376d
Merge pull request #52177 from BastiaanOlij/xr_doubles
Change to using doubles in XR classes
2021-09-21 15:16:52 +02:00
Bastiaan Olij
c527078634 Change to using doubles in XR classes 2021-09-21 22:46:31 +10:00
Eric M
28b7c1be80 Improve implementation of builtin action overrides 2021-09-21 22:25:31 +10:00
Rémi Verschelde
dc2b062609
Merge pull request #52775 from gyroninja/fix-instantiated-root-node-crash
Fail at instantiating a packed scene if the root node is instantiated
2021-09-21 14:23:54 +02:00
Rémi Verschelde
82c12060b2
Merge pull request #52718 from Calinou/gdscript-add-integration-tests-2 2021-09-21 14:13:24 +02:00
Gordon MacPherson
1881b3adc5
Improve GDScript Editor and Improve latency
Improvements:
- GDScript Highlighter is faster by 25% as keys are smaller (hashes instead of strings)
- Removes message queue from _apply_settings_change to allow resize to work correctly
- Some performance fixes are pending still

Note: this resolves the code editor behaving badly when resizing in debug builds
2021-09-21 13:56:47 +02:00
Rémi Verschelde
91960b7b81
Merge pull request #52466 from tcoxon/fix_43733_4.0
Prevent shaders from generating code before the constructor finishes.
2021-09-21 13:52:57 +02:00
Rémi Verschelde
8085affdb1
Merge pull request #52890 from bruvzg/rtl_effects_connected
Improve connected grapheme handling in the RTL CharFX.
2021-09-21 13:33:44 +02:00
Tom Coxon
dbe757102c Prevent shaders from generating code before the constructor finishes.
Fixes #43733: "creating SpatialMaterial in a separate thread creates invalid
shaders (temporarily)."

The bug occurred because various setters called in materials' constructors add
materials to queues that are processed on the main thread. This means that
when the materials are created in another thread, they can be processed on the
main thread before the constructor has finished.

The fix adds a flag to affected materials that prevents them from being added
to the queue until their constructors have finished initialising all the
members.
2021-09-21 11:51:39 +01:00
bruvzg
c931906af7 Add flag to connected grapheme. Apply RTL displacement FX only to the whole connected grapheme. Pass more glyph info to the custom RTL FX. 2021-09-21 13:51:38 +03:00
Rémi Verschelde
2717f583a4
Merge pull request #47297 from KoBeWi/📞🌳
Improve call_group documentation
2021-09-21 11:30:37 +02:00
Rémi Verschelde
a412011be7
Merge pull request #52842 from Ev1lbl0w/fix_win_open_errcode
Fix shell_open not returning errors on Windows
2021-09-21 11:26:58 +02:00
Rémi Verschelde
2785ad32df
Merge pull request #52884 from aaronfranke/doc-no-empty
Don't generate empty methods/constants doc sections and reduce code duplication
2021-09-21 11:12:19 +02:00
Rémi Verschelde
be63fdff80
Merge pull request #52605 from TokageItLab/fixed-vtype-in-node-oneshot
Fixed value type and applied small change in `AnimationNodeOneShot`
2021-09-21 10:49:10 +02:00
Rémi Verschelde
40eabbb120
Merge pull request #52601 from KoBeWi/scene_renaissance
Make restore_scenes_on_load true by default
2021-09-21 10:45:18 +02:00