Commit Graph

40031 Commits

Author SHA1 Message Date
Rémi Verschelde
7c716bf37c
Merge pull request #55936 from Calinou/portal-room-add-compatibility-classes 2021-12-14 20:05:30 +01:00
Hugo Locurcio
b6caa0587a
Add compatibility class handlers for portal and room occlusion culling
Portal and room occlusion culling is replaced by raster occlusion
in 4.0, which undergoes an entirely different setup process. Therefore,
we can only convert those nodes to Node3Ds to allow loading `3.x` scenes
while keeping transforms valid.
2021-12-14 18:45:28 +01:00
Rémi Verschelde
4601809c5a
Merge pull request #55931 from groud/avoid_crash_gdscript_analyzer 2021-12-14 18:44:17 +01:00
kobewi
7d5ee8f694 Document get_minimum_size not called in some nodes 2021-12-14 17:48:07 +01:00
Gilles Roudière
ab8119b5f6 Avoid a crash in the gdscript analyser 2021-12-14 15:54:25 +01:00
Rémi Verschelde
965a527775
Merge pull request #55924 from bruvzg/win_console_4 2021-12-14 15:44:43 +01:00
Yuri Sizov
dc858a8100 Improve user communication in the Add Item Type dialog 2021-12-14 17:00:15 +03:00
bruvzg
6ee48afb4e
[Windows] Open a new console window for the editor instances. 2021-12-14 14:49:58 +02:00
Yuri Roubinsky
3cbd8ef098 Fix shader crash when assigned array from struct to a variable by index 2021-12-13 21:19:13 +03:00
Rémi Verschelde
15aea89868
Merge pull request #55906 from Chaosus/vss_fix 2021-12-13 18:55:06 +01:00
Yuri Roubinsky
a2ef2b0be1 Fix incorrect placement of default value editor in visual scripts 2021-12-13 19:32:24 +03:00
Yuri Roubinsky
31cc6ba622 Allow declaring multiple members in one expression in shader structs 2021-12-13 19:10:08 +03:00
Rémi Verschelde
26510f4c90
Merge pull request #55609 from rcorre/doc-scroll 2021-12-13 15:21:50 +01:00
Rémi Verschelde
c03a5ba09c
Merge pull request #55898 from KoBeWi/nodes_from_faraway_lands 2021-12-13 14:48:25 +01:00
kobewi
bd6e9e0d6e Allow to copy foreign nodes 2021-12-13 13:33:06 +01:00
Rémi Verschelde
a5c14bd102
Merge pull request #55890 from Vitika9/54100 2021-12-13 12:06:00 +01:00
Rémi Verschelde
7b675da618
Merge pull request #55889 from Chaosus/fix_warning_duplication 2021-12-13 11:18:18 +01:00
vitika9
51501dadcc Added check for SceneTree being null 2021-12-13 15:41:29 +05:30
Yuri Roubinsky
566895732c Fix shadowed global identifier warning duplication 2021-12-13 11:54:23 +03:00
Rémi Verschelde
7f9a82b944
Merge pull request #52998 from AnilBK/node2d-renames
Node2D member renames.
2021-12-13 09:15:12 +01:00
Rémi Verschelde
6d58b968d5
Merge pull request #55821 from Chaosus/shader_fix_semicolon 2021-12-12 21:10:23 +01:00
Rémi Verschelde
f5aff3f9d1
Merge pull request #55825 from zaevi/fix_PluginConfigDialog_UI 2021-12-12 21:09:49 +01:00
Rémi Verschelde
ef1d59cf1b
Merge pull request #55816 from RandomShaper/fix_revert_null_defaults 2021-12-12 20:56:57 +01:00
Rémi Verschelde
dd869bd2a7
Merge pull request #55814 from williamd67/GPULightMapper-correct-colors 2021-12-12 20:56:11 +01:00
Rémi Verschelde
e8011be6f5
Merge pull request #55729 from cdemirer/fix-script-editor-unexpected-scroll-upon-resize 2021-12-12 20:54:53 +01:00
Rémi Verschelde
ece3b0dd61
Merge pull request #55836 from jabcross/asset-selectable 2021-12-12 18:34:41 +01:00
Hugo Locurcio
4cf55e80eb
Merge pull request #55828 from Calinou/doc-physics-angular-velocity-master 2021-12-12 16:39:02 +01:00
Rémi Verschelde
ad6652c08e
Merge pull request #55860 from rcorre/mesh_typo 2021-12-12 15:26:46 +01:00
Ryan Roden-Corrent
9d04086451
Document how to autoscroll ScrollContainer.
It is not uncommon to want to scroll to the most recently added child of
a ScrollContainer (e.g. a chat box or activity log). This is a little
tricky, since `ensure_control_visible` will not work on a node on the
same frame as you add it. Let's at least document that you need to wait
until the next frame.

Relates to https://github.com/godotengine/godot-proposals/issues/3629.

Co-authored-by: Yuri Sizov <pycbouh@users.noreply.github.com>
2021-12-12 07:55:01 -05:00
Ryan Roden-Corrent
353617b202
Fix typo in create_outline error message. 2021-12-12 07:29:46 -05:00
Rémi Verschelde
03aaa1480d
Merge pull request #55852 from jmb462/fix-bad-tooltip-offset 2021-12-12 12:42:43 +01:00
jmb462
d44b33741b Fix bad mouse offset to show tooltips in Tree 2021-12-12 09:12:26 +01:00
mechPenSketch
0449b30bbc Expose connection hot zones in GraphNode 2021-12-12 15:20:40 +08:00
jabcross
814a4ee434 Allow selection in asset description
Many assets include links in the description.
This change enables selection for the links,
and other information such as version numbers,
to be copied/pasted.
2021-12-11 16:43:05 -03:00
Hugo Locurcio
7e4d805d29
Improve the ReflectionProbe class documentation 2021-12-11 19:10:23 +01:00
Hugo Locurcio
5d81742dc8
Document RigidBody2D/3D and particles' angular velocity units 2021-12-11 17:38:55 +01:00
Zae
1ee516995f Fix PluginConfigDialog UI broken 2021-12-11 23:23:40 +08:00
MorganKF
44b35c3759 Update MultiplayerPeerExtension class registration to non-virtual
Fix formatting
2021-12-11 11:05:03 -03:30
Yuri Roubinsky
8862d1426d Restore shader parsing errors with lack of semicolon in a block 2021-12-11 17:30:40 +03:00
Pedro J. Estébanez
18663aa305 Stop asuming a default value of NIL means there's no default 2021-12-11 14:03:48 +01:00
William Deurwaarder
742f072c59 GPULightMapper: convert colors of lights to linear
To make baked colors of lights equal to dynamic colors of lights they have to be
converted to linear as the colors of dynamic lights are converted to linear by
RendererSceneRenderRD.
2021-12-11 13:01:07 +01:00
Rémi Verschelde
092a286127
Merge pull request #55808 from ellenhp/fix_ogg_is_playing
Fix OGG streams never ending playback
2021-12-11 08:54:45 +01:00
Ellen Poe
fe51c099c1 Fix OGG streams never ending playback 2021-12-10 18:09:58 -08:00
cdemirer
a361236526 Fix unexpected scroll on resize + consistent return value 2021-12-11 10:03:24 +08:00
Camille Mohr-Daurat
f1ca14cc8d
Merge pull request #55736 from nekomatata/physics-apply-forces
Improve RigidDynamicBody force and torque API
2021-12-10 17:16:28 -07:00
Camille Mohr-Daurat
c6fe431a02
Merge pull request #55773 from nekomatata/fix-raycast-ccd
Fix rigid body ray cast CCD in 2D and 3D Godot Physics
2021-12-10 17:16:02 -07:00
PouleyKetchoupp
30a608b7b9 Fix rigid body ray cast CCD in 2D and 3D Godot Physics
For 2D:
Raycast CCD now works the same as in 3D, it changes the body's velocity
to place it at the impact position instead of generating a contact point
that causes a wrong push back.

For both 2D and 3D:
The raycast CCD process reads and modifies body velocities, so it needs
to be moved to pre_solve() instead of setup() to be processed linearly
on the main thread, otherwise multithreading can cause some CCD results
to be randomly lost when multiple collisions occur.
2021-12-10 16:25:14 -07:00
Rémi Verschelde
7608e0cdca
Merge pull request #55801 from RaphaelAzev/issue-55746 2021-12-11 00:19:51 +01:00
PouleyKetchoupp
940f3fde5c Improve RigidDynamicBody force and torque API
Makes the API for forces and impulses more flexible, easier to
understand and harmonized between 2D and 3D.

Rigid bodies now have 3 sets of methods for forces and impulses:
-apply_impulse() for impulses (one-shot and time independent)
-apply_force() for forces (time dependent) applied for the current step
-add_constant_force() for forces that keeps being applied each step

Also updated the documentation to clarify the different methods and
parameters in rigid body nodes, body direct state and physics servers.
2021-12-10 15:55:40 -07:00
raphaelazev
82527df55c Added check to get_all_locales to avoid adding duplicate locales to array 2021-12-10 19:25:59 -03:00