Commit graph

40117 commits

Author SHA1 Message Date
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
Yuri Roubinsky
526390c048 Fix highlight for completion options match (rebased)
Co-authored-by: Gustav Andersson <gvekan@users.noreply.github.com>
2021-12-12 10:39:49 +03: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
Rémi Verschelde
e69fa16eb3
Merge pull request #55804 from godotengine/revert-49473-fix-auto-reload-scripts 2021-12-10 23:00:43 +01:00
Rémi Verschelde
f19a1e28c8
Revert "Fix auto reload scripts on external change" 2021-12-10 22:40:20 +01:00
Rémi Verschelde
0ba7103bea
Merge pull request #55702 from nekomatata/physics-solver-settings 2021-12-10 22:10:41 +01:00
Rémi Verschelde
0fba151446
Merge pull request #55792 from aaronfranke/misc 2021-12-10 20:45:49 +01:00
Aaron Franke
368c0bc0ac
Misc build system fixes 2021-12-10 12:14:27 -06:00
Rémi Verschelde
b46ab89675
Merge pull request #55519 from Calinou/editor-spin-slider-float-draw-filled-slider 2021-12-10 18:59:37 +01:00
Rémi Verschelde
9ef6b5c104
Merge pull request #55797 from KoBeWi/internal_shenanigans 2021-12-10 18:55:20 +01:00
Rémi Verschelde
3bfdb28ab2
Merge pull request #55770 from Calinou/shader-rename-hint-aniso 2021-12-10 18:48:05 +01:00
Rémi Verschelde
bc6cd53b4d
Merge pull request #40547 from KoBeWi/directory_inspectory 2021-12-10 18:47:22 +01:00
kobewi
1ff9ddeb27 Fix wrong internal children usage in BoxContainer 2021-12-10 18:01:44 +01:00
Hugo Locurcio
92e9cca5be
Rename hint_aniso to hint_anisotropy in the shader language
The word "anisotropy" is used in full form in BaseMaterial3D's
anisotropy-related properties.
2021-12-10 17:41:17 +01:00
Tomasz Chabora
d04c2a554f Improve Directory content navigation 2021-12-10 17:24:04 +01:00
Hugo Locurcio
b3174e7af9
Add RenderingServer.get_video_adapter_type() method
This can be used to distinguish between integrated, dedicated, virtual
and software-emulated GPUs. This in turn can be used to automatically
adjust graphics settings, or warn users about features that may run
slowly on their hardware.
2021-12-10 17:10:47 +01:00
Rémi Verschelde
4f9b6d9a3f
Merge pull request #51235 from AnilBK/awkward-funcs 2021-12-10 16:58:11 +01:00
kleonc
67dd4f15ee Tree Don't consume mouse event by collapse arrow which isn't shown 2021-12-10 16:54:47 +01:00
Rémi Verschelde
f675b6b623
Merge pull request #55723 from rydergaming/get-colliding-body-vehiclewheel
VehicleWheel can now return the surface it's colliding with.
2021-12-10 15:52:02 +01:00
Rémi Verschelde
7658868616
Merge pull request #55784 from cdemirer/fix-lookup-symbol-class-member
Fix "Lookup Symbol" on global class members not switching to the class' script
2021-12-10 15:50:35 +01:00
Yuri Roubinsky
85380c5207
Merge pull request #55623 from Chaosus/shader_refactor_const_suffix 2021-12-10 17:01:43 +03:00
Yuri Roubinsky
bcbcf14469 Refactor constant suffix parsing in a shader 2021-12-10 15:38:27 +03:00