Commit Graph

53033 Commits

Author SHA1 Message Date
Aaron Franke
161f389f93 Rename the Debugger's stack debug section to Stack Trace
(cherry picked from commit 74361b3d50)
2023-05-12 12:31:23 +02:00
Martin Capitanio
9e11b78d1c Update ThorVG to v0.9.0
https://github.com/thorvg/thorvg/releases/tag/v0.9.0
Fixes #72478

(cherry picked from commit 5db751832d)
2023-05-12 12:31:23 +02:00
Bram Stolk
ce0c61b6e3 Add missing initializations for Node3DEditor.
Do not try to format fields with garbage values in _snap_update()
Initialize grid_enable[] before use.
Initialize previewing_camera before use.
These are all cases found live, with valgrind.
Fixes #76925

(cherry picked from commit 4bc513edbc)
2023-05-12 12:31:23 +02:00
lawnjelly
efbb28d09a Make acos and asin safe
A common bug with using acos and asin is that input outside -1 to 1 range will result in Nan output. This can occur due to floating point error in the input.

The standard solution is to provide safe_acos function with clamped input. For Godot it may make more sense to make the standard functions safe.

(cherry picked from commit 50c5ed4876)
2023-05-12 12:31:23 +02:00
Rindbee
b91b8fce43 Improve the UX of ViewportTexture in the editor
The associated `ViewportTexture`s will update the `viewport_path`
in time when the `Viewport`'s nodepath is changed (caused by renaming
the node names or moving in the SceneTree dock).

If the target `Viewport` is changed by resetting the `viewport_path`,
the `ViewportTexture`s will be re-setup and emit `changed` signal in
time.

(cherry picked from commit af58f1e854)
2023-05-12 12:31:22 +02:00
kobewi
1146172b30 Prevent errors when using ViewportTexture
(cherry picked from commit 1b9802fa8c)
2023-05-12 12:31:22 +02:00
David Snopek
2a8501e1a2 Add missing documentation for MultiplayerPeerExtension
(cherry picked from commit 4d13be3c5e)
2023-05-12 12:31:22 +02:00
Samuele Panzeri
07128ccb9d Fix skeleton_3d & physical_bone_3d editor errors
(cherry picked from commit 679ff6da0e)
2023-05-12 12:31:22 +02:00
Patrick
9d9b7511a0 Fix Rotation Issue with NODE_POSITION_VIEW Visual Shader Node
(cherry picked from commit e35bbd76a3)
2023-05-12 12:31:22 +02:00
ChibiDenDen
bb785cfcc0 Fix gles3 rendering on android studio emulator
Use a temporary framebuffer for screen copy from rendertarget to screen.

This solves GLES3 rendering in android studio emulator (before this change there is just a black screen)

Based on discussion in:
https://github.com/godotengine/godot/issues/74828

(cherry picked from commit 5956aa1a6a)
2023-05-12 12:31:22 +02:00
Samuele Panzeri
cf0bd389cc Support long path in file access on windows
Changed windows file access file to check for path length and use the \\?\ long format when needed

(cherry picked from commit 59f04e16b8)
2023-05-12 12:31:22 +02:00
Alex Drozd
a37f79124f add venv and .venv to the .gitignore
(cherry picked from commit a6fda19e85)
2023-05-12 12:31:21 +02:00
Manik Sharma
31a37495f3 Make sun energy adjustable as a float in the 3D editor's preview sun
(cherry picked from commit 5e1cb39101)
2023-05-12 12:31:21 +02:00
smix8
3be6a1b38e Fix SurfaceTool::create_from_blend_shape()
Fixes SurfaceTool::create_from_blend_shape().

(cherry picked from commit 2dbc5d95eb)
2023-05-12 12:31:21 +02:00
ajreckof
a42f427465 fix a test for wrapf with signed 32-bit float
(cherry picked from commit fabd9535f0)
2023-05-12 12:31:21 +02:00
stmSi
25ab61f82a Added note to used set_deferred while setting scroll values in _ready function.
(cherry picked from commit 83626ab90d)
2023-05-12 12:31:21 +02:00
Александр Черник
b2364048d2 LSP: don't send empty completion command
(cherry picked from commit 5715d3eb59)
2023-05-12 12:31:21 +02:00
Hugo Locurcio
35fa05fa51 Document caveats related to exported project binary resource conversion
(cherry picked from commit febc674f48)
2023-05-12 12:31:21 +02:00
Lyuma
dcca6485d0 gltf: Permit sparse accessors without a bufferView.
(cherry picked from commit 72d131899b)
2023-05-12 12:31:21 +02:00
Hugo Locurcio
2d7228251d Improve RenderingServer, RenderingDevice, ShaderGlobalsOverride documentation
This brings the overall class reference completion percentage from 87% to 92%.

(cherry picked from commit 5056c427d3)
2023-05-12 12:31:19 +02:00
Ninni Pipping
9a5af8e793 Clarify that event handling does not affect Input
(cherry picked from commit 732ad382a6)
2023-05-12 12:14:45 +02:00
Christopher Foo
28012c40fb Ensure WindowData minimized/maximized are mutually exclusive
The window manager can break the assumption that
fullscreen/maximized/minimized values are mutually exclusive.

(cherry picked from commit e4d052e284)
2023-05-12 12:14:30 +02:00
Omar Shehata
bab96e71d2 Fix double tap & drag on Android
(cherry picked from commit 0c94750642)
2023-05-12 12:14:14 +02:00
Fredia Huya-Kouadio
07af84689f Follow up to https://github.com/godotengine/godot/pull/76399 to fix input ANR in the Godot Android editor
(cherry picked from commit 367061cf9c)
2023-05-12 12:12:05 +02:00
Pedro J. Estébanez
d07d4d90d0 Allow concurrent buffering and dispatch of input events
(cherry picked from commit f369ed9223)
2023-05-12 12:11:58 +02:00
kleonc
4b11fc65f1 Make LocalVector respect its tight template parameter
(cherry picked from commit 0b944e1a68)
2023-05-12 12:11:41 +02:00
Michael Alexsander
b7206e25bf Improve some descriptions in the OS docs
(cherry picked from commit 6db12c5e50)
2023-05-12 12:11:23 +02:00
Ninni Pipping
5d93de88a8 Fix size error in BitMap.opaque_to_polygons
Previous estimate of upper limit on size was incorrect

(cherry picked from commit 249784ed53)
2023-05-12 12:10:50 +02:00
Pedro J. Estébanez
813fc0940d Allow creation of rendering buffers at any time
(cherry picked from commit d4c46f15ae)
2023-05-12 12:10:35 +02:00
kobewi
64b15c8ec1 Add info label to TileMap editor
(cherry picked from commit 979b53aba4)
2023-05-12 12:07:14 +02:00
Bastiaan Olij
3a90fa677b Fix incorrect HTC action map entries
(cherry picked from commit e15358dc67)
2023-05-12 12:07:02 +02:00
jmb462
f3b608d331 Fix regression with right click on main selection
(cherry picked from commit d59cdb8327)
2023-05-12 12:07:02 +02:00
Jean-Michel Bernard
53df7c18e0 Fix right click in selection of additional caret
(cherry picked from commit 5c06c030f2)
2023-05-12 12:07:02 +02:00
Aaron Franke
f49c69a1e7 Fix small mistake in docs, "antecedents" -> "ancestors"
(cherry picked from commit 740b0713a2)
2023-05-12 12:07:02 +02:00
VolTer
78c190f4f5 Add an example for how to use AudioStreamGenerator
(cherry picked from commit 9d77caaf95)
2023-05-12 12:07:02 +02:00
VolTer
e530168fb8 Document TextServerDummy
(cherry picked from commit c8e06fe838)
2023-05-12 12:07:02 +02:00
UltraBIF
4b63ce83d2 Fixed various typos across the docs
(cherry picked from commit 8106d33d0f)
2023-05-12 12:07:02 +02:00
David Turner
0566ac68de Explain why an image would be invalid for a texture
(cherry picked from commit 43a7cb093c)
2023-05-12 12:07:02 +02:00
mashumafi
0cb1fd3a61 Wait for navigation baking to finish before destruction
(cherry picked from commit a93a2e519d)
2023-05-12 12:07:01 +02:00
kobewi
d56c4f960c Remove erroneous signal connection
(cherry picked from commit 88ea3dd4db)
2023-05-12 12:07:01 +02:00
kobewi
19b998396c Close built-in shaders when closing scene
(cherry picked from commit aaf02ec04a)
2023-05-12 12:07:01 +02:00
Bastiaan Olij
a5cb7a5eb5 Expose viewports render targer RID
(cherry picked from commit ab60d3b65c)
2023-05-12 12:07:01 +02:00
kobewi
0277f57b6f Some clarifications on screen-space coordinates
(cherry picked from commit 33b9be27d3)
2023-05-12 12:07:01 +02:00
Pedro J. Estébanez
907b10fb96 Fix additional cases of breakage of rendering effects
(cherry picked from commit c58e50adcc)
2023-05-12 12:07:01 +02:00
clayjohn
2435c9426d Use proper UV in cubemap downsampler raster
This removes bias in cubemap downsampling shader that resulted in the bottom of cubemaps being over represented

(cherry picked from commit fb77021559)
2023-05-12 12:07:01 +02:00
Tetane
e68e2fad25 Use a SubViewport for CanvasItem inspector preview
(cherry picked from commit d3792a2373)
2023-05-12 12:07:00 +02:00
HolonProduction
a07ad181ab Preserve scene unique names when saving branch as scene.
(cherry picked from commit 7814dedc91)
2023-05-12 12:07:00 +02:00
VolTer
70f7fcd208 Light3D show scaling warning immediately
(cherry picked from commit 818d57b5b4)
2023-05-12 12:07:00 +02:00
Tefatika
b532dd7626 Fixed error messages when setting all_tab_in_front of TabContainer
Some signal handlers weren't unregistered when removing the wrapped
child TabBar, which resulted in errors printed when the TabBar was
removed and added again when the flag was updated

(cherry picked from commit abd894daf7)
2023-05-12 12:07:00 +02:00
Tefatika
e58001bd0d Command Palette search now also uses original English command names
Both localized and non localized names will be used while filtering

The highest score between the two will be picked when determining
the entries order

(cherry picked from commit 09460cfaaf)
2023-05-12 12:07:00 +02:00