Commit graph

31257 commits

Author SHA1 Message Date
boruok 768cff7c02 fix atlas texture return null 2021-09-28 16:34:00 +09:00
Rémi Verschelde 5807586188
Merge pull request #53143 from naeu/fix_folder_icon_3.x
[3.x] Set directory dialog folder icon color
2021-09-27 23:47:43 +02:00
naeu 9fb7efdf16 Set dialog folder icon color 2021-09-27 19:10:20 +01:00
Rémi Verschelde 65ab9130e1
Merge pull request #53136 from akien-mga/3.x-cherrypicks 2021-09-27 19:35:43 +02:00
Rémi Verschelde abe0535fc0
Revert "Load assets before enabling editor plugins"
This reverts commit 55f9ae3d21.

It caused regressions #52968 and #52995.
2021-09-27 18:28:01 +02:00
Rémi Verschelde ac01b1cb1c
Revert "Fixes the normals of SphereMesh when the sphere/hemisphere is oblong"
This reverts commit c4d0074aae.

It caused regression #52965.
2021-09-27 18:27:55 +02:00
BimDav 9de9994444
Reload kinematic shapes when changing PhysicsBody mode to Kinematic
Prevents a crash when calling test_body_motion. Call reload_kinematic_shapes
from init_kinematic_utilities as they are always called together.

(cherry picked from commits 112985c5bc
and 3540e716f9)
2021-09-27 18:10:30 +02:00
Matthew Newall e01d609c02
Updated Tabs to not update excessively
(cherry picked from commit 082f924566)
2021-09-27 18:09:47 +02:00
David Socha b05f70fe6e
export "Keep" import option when multiple files are selected
Co-Authored-By: Rémi Verschelde <rverschelde@gmail.com>
(cherry picked from commit ec9f9f72e2)
2021-09-27 18:06:55 +02:00
Michael Alexsander b4d6afb7ad
Expose TabContainer's tab hidding for scripts
(cherry picked from commit 7ce02b642e)
2021-09-27 18:06:36 +02:00
kobewi e0f46c2b38
Add a special case for 0-time interpolations
(cherry picked from commit 5c1195e456)
2021-09-27 18:06:08 +02:00
Rémi Verschelde e2b2319ee5
CI: Build test binaries with debug symbols, then strip
This allows having good stacktraces when the tests crash.

(cherry picked from commit c4fa301b6b)
2021-09-27 18:03:39 +02:00
Rémi Verschelde 4f734c15a4
nanosvg: Sync with upstream ccdb199
Includes fixes for a memory corruption bug (CVE-2019-1000032)
and possible division by zero.

(cherry picked from commit 05b28b66ea)
2021-09-27 17:59:04 +02:00
skyace65 370fa82b2c
Add note that for _gui_input(event) event position is relative to the control origin
(cherry picked from commit 824259aca0)
2021-09-27 17:57:50 +02:00
Rémi Verschelde 29b1d39c51
Merge pull request #53105 from aaronfranke/3.x-fix-gltf-light 2021-09-27 16:18:43 +02:00
Aaron Franke 674cb947ea
[3.x] Fix GLTF light import 2021-09-26 21:57:03 -05:00
Rémi Verschelde 8fb06b45d1
Merge pull request #53015 from timothyqiu/cast-crash 2021-09-26 12:05:38 +02:00
Haoyu Qiu 8a47fe9eb0 Fix crash when casting from null 2021-09-26 10:08:14 +08:00
Rémi Verschelde 7893dd26df
Merge pull request #53068 from Razoric480/apply-new-signal 2021-09-25 22:13:08 +02:00
Francois Belair 885d905b0d Make LSP send applyEdit to connect editor signals 2021-09-25 15:22:28 -04:00
Rémi Verschelde f8b8ef656c
Merge pull request #53039 from pycbouh/tree-fix-folding-arrow-with-margin-3.x
[3.x] Correctly calculate position of the folding arrow in `Tree`
2021-09-25 09:13:51 +02:00
Yuri Sizov 020807dc0f Correctly calculate position of the folding arrow in Tree 2021-09-25 02:01:35 +03:00
Rémi Verschelde 94f658a8d2
Merge pull request #52984 from pycbouh/disable-freaky-subinspectors-3.x 2021-09-25 00:08:42 +02:00
Rémi Verschelde 792f95a264
Merge pull request #53022 from Schweini07/ve2d-signal-fix 2021-09-24 23:15:45 +02:00
Rémi Verschelde 86944daafd
Merge pull request #53026 from kleonc/texture-preview-updating-3x 2021-09-24 23:15:12 +02:00
Rémi Verschelde 5d34480dab
Merge pull request #53010 from Calinou/editor-debugger-color-error-warning-lines-3.x 2021-09-24 21:42:05 +02:00
Laurenz Reinthaler aad01cd0c6 Fix VisibilityEnabler2D throwing a signal error when process_parent or physics_process_parent are enabled 2021-09-24 19:03:10 +02:00
kleonc 4eb59e8492 TexturePreview Update text when texture is being changed 2021-09-24 18:55:58 +02:00
Hugo Locurcio 1e4967968f
Color error and warning lines in the editor debugger's Errors panel
This improves readability when some errors/warnings are unfolded,
as their stack traces will keep their original colors.
2021-09-24 15:53:41 +02:00
Rémi Verschelde c26547414d
Update AUTHORS and DONORS list
New contributors added to AUTHORS:
@AnilBK, @Jummit

Thanks to all contributors and donors for making Godot possible!

(cherry picked from commit 252ae43737)
2021-09-24 12:28:18 +02:00
Yuri Roubinsky 1622827a7e
Merge pull request #52966 from Chaosus/blend_tree_connection_improvement_3.x
[3.x] Draggin in/out from ports to create nodes in Animation Blend Tree
2021-09-24 10:00:47 +03:00
Rémi Verschelde 6e39566344
Merge pull request #52883 from Germanrc/script_reload_fix
C# scripts reload in editor fixed
2021-09-24 08:33:49 +02:00
Yuri Sizov d3d7c29b8c Disable sub-inspectors for properties with their own editors 2021-09-24 00:36:28 +03:00
Rémi Verschelde 044cafc31a
Merge pull request #52894 from laws65/3d-skeleton-bone-fix 2021-09-23 12:10:26 +02:00
Yuri Roubinsky 5c06685609 [3.x] Draggin in/out from ports to create nodes in Animation Blend Tree 2021-09-23 12:09:19 +03:00
Rémi Verschelde 08887fd391
Merge pull request #52955 from nekomatata/fix-kinematic-collision-reference-3.x 2021-09-23 10:26:17 +02:00
PouleyKetchoupp 8b562543df Don't override KinematicCollision reference when still in use in script
In case the reference is stored in script, create a new instance to
avoid overriding the previous values.
Otherwise, re-use the reference as before to avoid extra allocations.
2021-09-22 18:15:03 -07:00
Rémi Verschelde 23bb5883cb
Merge pull request #52925 from timothyqiu/follow-property-null 2021-09-22 08:42:27 +02:00
Rémi Verschelde 644b054e12
Merge pull request #52922 from timothyqiu/view-name-typo-3.x 2021-09-22 08:29:33 +02:00
Haoyu Qiu 45b4304f10 Fix crash in Tween.follow_property
Check `p_object` for null before using it.
2021-09-22 13:38:21 +08:00
Haoyu Qiu 4b611c4518 Fix 3D view name typo 2021-09-22 10:31:48 +08:00
Germanrc 84a218d346 C# script reload fixed
Co-authored-by: Michael Bickel <mib@developium.net>
2021-09-21 23:03:45 +02:00
Rémi Verschelde dd0ee48728
Merge pull request #52900 from akien-mga/3.x-cherrypicks 2021-09-21 21:40:47 +02:00
kobewi d0a8e6d563
Improve call_group documentation
(cherry picked from commit 31ef94f2ec)
2021-09-21 20:33:12 +02:00
Rémi Verschelde 882e04ed0d
i18n: Sync translations with Weblate 2021-09-21 20:33:12 +02:00
kleonc 67b27ea4c9
AStar Add error messages
(cherry picked from commit 71255bc2a9)
2021-09-21 20:33:12 +02:00
Rémi Verschelde b4fc24b73f
Implement OS::get_locale_language() helper method
This method extracts the 2 or 3-letter language code from `OS::get_locale()`,
making it easier for users to identify the "main" language code for users
that might have different OS locales due to different OS or region, but
should be matched to the same translation (e.g. "generic" Spanish).

Fixes #40703.

(cherry picked from commit def99c7baf)
2021-09-21 20:33:12 +02:00
bruvzg 131f913747
Improve OS::get_locale() on macOS and Windows, replace "-" with "_" and use system macros instead of bitwise AND. Add locale format info to the documentation.
(cherry picked from commit f797e1c078)
2021-09-21 20:33:11 +02:00
Ricardo Subtil 5167a0281a
Fix shell_open not returning errors on Windows
(cherry picked from commit c4787a8e6d)
2021-09-21 20:33:11 +02:00
Hugo Locurcio 6702e37a88
Document how to delay code execution in a non-blocking manner
(cherry picked from commit 1529bf7c10)
2021-09-21 20:33:11 +02:00