Commit graph

38311 commits

Author SHA1 Message Date
George Marques
3a856b4fcc
GDScript: Use getter return type for the property type
The PropertyInfo hints are more relevant for the inspector. The getter
return type is more reliable and less likely to be incorrect and it is
what's going to be called in the end.
2021-10-07 20:22:19 -03:00
Rémi Verschelde
49e7e049ab
Merge pull request #53422 from KoBeWi/add_LUA_to_Godot 2021-10-07 23:37:37 +02:00
Rémi Verschelde
6090f90743
Merge pull request #53545 from vnen/gdscript-release 2021-10-07 23:28:34 +02:00
Rémi Verschelde
f0b26a6160
Merge pull request #52962 from mujpao/fix-right-click-sub-nodes 2021-10-07 23:14:07 +02:00
Rémi Verschelde
3d05b94212
Merge pull request #53522 from groud/read_only_tile_layout 2021-10-07 22:51:46 +02:00
Rémi Verschelde
5abc966be4
Merge pull request #53500 from vnen/variant-in-string-name 2021-10-07 22:51:00 +02:00
Rémi Verschelde
2faf2f822c
Merge pull request #53499 from boruok/master-optional-crop-for-texture-atlas-importer 2021-10-07 22:38:07 +02:00
Rémi Verschelde
9f9452a738
Merge pull request #53493 from DeeJayLSP/patch-1 2021-10-07 22:35:55 +02:00
Rémi Verschelde
8aa55435b3
Merge pull request #53541 from Calinou/doc-call-group-null 2021-10-07 22:35:17 +02:00
Rémi Verschelde
8b9022d2f3
Merge pull request #53235 from Paulb23/script-editor-save-state 2021-10-07 22:34:35 +02:00
Rémi Verschelde
a6c4de49e1
Merge pull request #53523 from Calinou/remove-occlusion-color 2021-10-07 22:26:10 +02:00
Rémi Verschelde
21b6aabb60
Merge pull request #53538 from Calinou/environment-ssr-fade-no-negative-values 2021-10-07 22:05:46 +02:00
Rémi Verschelde
82072c4010
Merge pull request #53539 from Calinou/sky-material-color-no-alpha 2021-10-07 22:05:31 +02:00
George Marques
fafa8c7f6e
Enable method type information on release builds
This is needed to ensure GDScript compilation works properly on release
builds and make use of optimized typed instructions.
2021-10-07 16:13:44 -03:00
Rémi Verschelde
9bbed1fe86
Merge pull request #53543 from vnen/joint-waring-release
Joint2D: Use boolean instead of warning string for validity test
2021-10-07 21:06:06 +02:00
Paulb23
44e260e247 Allow breakpoints in closed files 2021-10-07 19:48:58 +01:00
Paulb23
bec8ae7ba6 Preserve script editor state through tab closes 2021-10-07 19:44:23 +01:00
George Marques
082f624ef4
GDScript: Fix method ptrcall on release 2021-10-07 15:08:21 -03:00
George Marques
70e1a50cd1
Joint2D: Use boolean instead of warning string for validity test
Those strings are stripped at release there's a false positive that the
bodies are valid, causing a crash.
2021-10-07 14:18:44 -03:00
Hugo Locurcio
f6d7f37592
Document null argument limitation with SceneTree.call_group() 2021-10-07 18:55:29 +02:00
Hugo Locurcio
01d1e9f576
Don't allow translucent colors in built-in sky material properties
The colors' alpha channel is ignored, so there's no point in
exposing it in the editor.
2021-10-07 18:12:16 +02:00
Hugo Locurcio
0269d8e871
Clamp Environment's SSR fade-in and fade-out to positive values
Negative values result in rendering glitches.
2021-10-07 17:59:55 +02:00
Hugo Locurcio
265bae824f
Remove unimplemented Environment.ambient_light_occlusion_color property
This property was intended to provide a way to have SSAO or VoxelGI
ambient occlusion with a color other than black. However, it was
dropped during the Vulkan renderer development due to the performance
overhead it caused when the feature wasn't used.
2021-10-07 17:47:52 +02:00
DeeJayLSP
17e3c9a4e3 DisplayServer: Add multiple descriptions for methods.
Added multiple descriptions for clipboard, mouse and window methods.
2021-10-07 12:43:00 -03:00
Rémi Verschelde
f323d25dd3
Merge pull request #53525 from Calinou/comments-replace-visual-server
Replace references to VisualServer in code comments with RenderingServer
2021-10-07 17:06:27 +02:00
Rémi Verschelde
dcaf65f79c
Merge pull request #53524 from Calinou/voxelizer-remove-debug-print
Remove debugging print from the VoxelGI baker
2021-10-07 17:00:26 +02:00
boruok
3f11fe4c66 added optional region cropping to Texture Atlas importer 2021-10-07 23:13:15 +09:00
Hugo Locurcio
bcf4a56c74
Replace references to VisualServer in code comments with RenderingServer
VisualServer no longer exists in the `master` branch.
2021-10-07 15:49:41 +02:00
Hugo Locurcio
9b5785f064
Remove debugging print from the VoxelGI baker 2021-10-07 15:45:54 +02:00
Gilles Roudière
9c1b1e9a7e Set TileSet layout and half-offset as read-only when using square shape 2021-10-07 15:29:48 +02:00
Rémi Verschelde
8afd2171d1
Merge pull request #53519 from timothyqiu/anim-tree-null
Fix make sub-resource crash in AnimationTreeEditor
2021-10-07 14:31:56 +02:00
Rémi Verschelde
c8dea45f55
i18n: Sync classref translations with 3.x branch
The files are directed copied from the version which was merged in `3.x`
together with the translations from Weblate.

For future commits we can do cherry-picks from `3.x` to `master` like usual
for the editor translations.
2021-10-07 14:08:44 +02:00
Haoyu Qiu
274ed82283 Fix make sub-resource crash in AnimationTreeEditor 2021-10-07 19:45:03 +08:00
Rémi Verschelde
22f2b27528
Merge pull request #53505 from timothyqiu/stack-overflow 2021-10-07 11:51:11 +02:00
Rémi Verschelde
0647d9dc7d
Merge pull request #53510 from Chaosus/fix_shader_crash 2021-10-07 10:45:37 +02:00
Haoyu Qiu
6072f38bb1 Use loop instead of recursion when clearing proximity groups 2021-10-07 16:31:47 +08:00
Yuri Roubinsky
e707391fb8 Fix shader crash when passing array to index expression 2021-10-07 10:48:32 +03:00
Yuri Roubinsky
410cab4c61
Merge pull request #53491 from Chaosus/shader_fix_texture_array_uniforms 2021-10-07 10:00:12 +03:00
Rémi Verschelde
6eb2094d4d
Merge pull request #53494 from mhilbrunner/stop-drop-and-dont-lie
Fix outdated no_call_local, use call_remote
2021-10-07 08:29:25 +02:00
Rémi Verschelde
7acb0678ed
Merge pull request #53433 from vnen/gdscript-eragon-fix
[GDScript] Set status on parsing steps beforehand
2021-10-07 08:18:50 +02:00
Rémi Verschelde
90fd6e960e
Merge pull request #51459 from TokageItLab/fix-animation-track-editor-insert-queue
Fixed behavior of insert track queue in `AnimationTrackEditor` is unstable
2021-10-07 08:15:43 +02:00
Rémi Verschelde
149e10da1c
Merge pull request #53504 from clayjohn/VULKAN-sky-bug
Remove bogus sky error check
2021-10-07 08:09:01 +02:00
Rémi Verschelde
3f94a5ebe7
Merge pull request #51115 from clayjohn/VULKAN-SSAO-radius
Move assignment of SSAO radius push constant
2021-10-07 08:04:17 +02:00
clayjohn
23dc490f40 Remove bogus sky error check 2021-10-06 22:04:56 -07:00
George Marques
13a2d03dde
Add Variant in operator for any String/StringName operands
Allow using String or StringName types as operand in any position of the
`in` operator, which is more convenient in scripting when interacting
with data in the engine (such as a Node name).
2021-10-06 22:07:32 -03:00
George Marques
dfe3a2fad0
GDScript: Set status on parsing steps beforehand
To avoid potential dependency cycles. If any happens it will not get
into infinite recursion anymore and errors will cascade later on.
2021-10-06 21:24:27 -03:00
Silc 'Tokage' Renew
7a447026c2 fixed insert track queue in AnimationTrackEditor doesn't work correctly 2021-10-07 07:30:36 +09:00
Camille Mohr-Daurat
69f80b6631
Merge pull request #53482 from timothyqiu/soft-body-ready
Re-prepare RenderingServer if SoftDynamicBody mesh changed
2021-10-06 14:57:53 -07:00
Max Hilbrunner
44b68f08b4 Fix outdated no_call_local, use call_remote 2021-10-06 23:51:57 +02:00
Yuri Roubinsky
b5028da5c0 Fix regression which prevents using texture array uniforms 2021-10-06 22:31:07 +03:00