Commit Graph

59429 Commits

Author SHA1 Message Date
HolonProduction 24a383e2ec
X11: Send IME update notification deferred
(cherry picked from commit bf45d3ae24)
2023-12-07 10:27:08 +01:00
Yuri Sizov 511b4f822a
Make sure `Window`'s title is respected before we compute the size
Also removes some suspicious and outdated code that forced this particular
dialog to change size when the warning message changed.

(cherry picked from commit d9677be0ca)
2023-12-07 10:27:08 +01:00
Danil Alexeev d25e28d9ae
Inspector: Fix clearing array/dictionary element with `<Object#null>`
(cherry picked from commit ed86c33002)
2023-12-07 10:27:08 +01:00
Haoyu Qiu 5db5f0b52b
Set language encoding flag when using ZIPPacker
When non-ASCII filenames are used, this indicates that the encoding is
UTF-8. Programs like ZIPReader can then parse the filename correctly.

(cherry picked from commit 08b1354b36)
2023-12-07 10:27:08 +01:00
HolonProduction 6f8cc1b8de
Improve autocompletion with get_node
(cherry picked from commit c8889a7fe7)
2023-12-07 10:27:08 +01:00
HolonProduction 0ba32ac384
Filter groups and categories from autocompletion
(cherry picked from commit e253250814)
2023-12-07 10:27:08 +01:00
Paul Joannon b959ab9848
Fix property groups overriding real properties
(cherry picked from commit decf3b21ae)
2023-12-07 10:27:08 +01:00
addmix 1d5f6ed84e
Improve documentation for `CameraAttributesPhysical.exposure_shutter_speed`
(cherry picked from commit b7b0022c7a)
2023-12-07 10:27:07 +01:00
HolySkyMin 3dfb82f47b
Fix IME key event being erased in macOS
Fixes Korean IME behavior which calls insertText and setMarkedText at the same time.

(cherry picked from commit 5962e5278c)
2023-12-07 10:27:07 +01:00
DmitriySalnikov 2b3a8f060a
Update cached singletons when reloading GDScripts
(cherry picked from commit 8cdbec0434)
2023-12-07 10:27:07 +01:00
Haoyu Qiu 476bc362e5
Allow dragging editable children
But not allow dropping inside the scene tree editor.

(cherry picked from commit 3f00d713b8)
2023-12-07 10:27:07 +01:00
MewPurPur bcf09f1d9e
Remove exp hint of a few properties
(cherry picked from commit 09270f9624)
2023-12-07 10:27:07 +01:00
Alexander Hartmann 6e4a7eecf5
Vulkan: Fix incorrect access to the buffers on Android
(cherry picked from commit 04a142cf71)
2023-12-07 10:27:07 +01:00
Jordyfel bd7d37b5ee
Fix errors on file rename or move in the Filesystem Dock
(cherry picked from commit 76c7190d21)
2023-12-07 10:27:07 +01:00
Aaron Franke 836e0181ab
Add a descriptive error message when creating a mesh surface from arrays
(cherry picked from commit 7d5b902838)
2023-12-07 10:27:07 +01:00
clayjohn bca878ffd9
Use vertex input mask for creating vertex arrays
Also fix bug in creation of vertex input mask

(cherry picked from commit c0c1efc5da)
2023-12-07 10:27:06 +01:00
Yuri Sizov d93fcf824f
Fix theme application in various editor dialogs
99% of the time we shouldn't rely on the signal, we
should use the notification instead. I left some comments
in places where I couldn't quickly improve the code.

(cherry picked from commit 01888ae7ab)
2023-12-07 10:27:06 +01:00
Yuri Sizov dc5d47712b
Fix the Web platform team's codeowners link
(cherry picked from commit 10e714a975)
2023-12-07 10:27:06 +01:00
Yuri Sizov 4564a8513a
Correctly check scripts that must inherit `EditorPlugin`
Also updates some error messages related to this kind of check
across the codebase.

(cherry picked from commit bc1949d797)
2023-12-07 10:27:06 +01:00
Alex Drozd a207e53def
Fix order of operations for macos template check
(cherry picked from commit 8f2b701892)
2023-12-07 10:27:06 +01:00
Alex Drozd dc221c50ab
use venv if detected when building godot.sln
(cherry picked from commit 3f22c1bfb6)
2023-12-07 10:27:06 +01:00
Sofox 21a510b5ea
Restored Control layout properties you undo a parenting of a Control to a Container
(cherry picked from commit 5614e6d61c)
2023-12-07 10:27:06 +01:00
Gilles Roudière 77383e63a6
Keep scene tiles even if the TileMap is invisible
(cherry picked from commit 25e927e56b)
2023-12-07 10:27:06 +01:00
A Thousand Ships b5e7b2c7a7
[Core] Fix crash when hashing empty `CharString`
(cherry picked from commit ca5ec6aec1)
2023-12-07 10:27:05 +01:00
A Thousand Ships 6cfe17cbcf
[Core] Prevent infinite recursion when printing errors
(cherry picked from commit d10617bb3b)
2023-12-07 10:27:05 +01:00
Malcolm Nixon 51816380b5
Fix memory corruption and assert failures in convex decomposition
This PR fixes how triangular faces are decomposed into vertices and indices. The pre-increment resulted in the indices table skipping entry 0 and potentially overrunning the end of the vertices vector.

(cherry picked from commit bf7cdc5229)
2023-12-07 10:27:05 +01:00
kobewi 492b0c322a
Fix Tween loop initial value
(cherry picked from commit 20aecefd9b)
2023-12-07 10:27:05 +01:00
bruvzg 1fcf635383
Limit window size updates on title change.
(cherry picked from commit 5dd11e8eee)
2023-12-07 10:27:05 +01:00
Silc Lizard (Tokage) Renew 871d00c980
Fix AnimationPlayer seeking for Discrete keys
(cherry picked from commit 7ed7ea53e6)
2023-12-07 10:27:05 +01:00
clayjohn d2d7261c1e
Set ReflectionProbe frame before mapping id in mobile renderer
(cherry picked from commit 394edf8288)
2023-12-07 10:27:05 +01:00
bruvzg 3ba731f9e1
[RTL] Fix CharFX character offset calculation.
(cherry picked from commit 7a59efac32)
2023-12-07 10:27:05 +01:00
Marius Hanl cc9bb3bc3f
Do not consume (eat) mouse messages with no_focus Window's (Godot PopupMenu)
Window's with the no_focus flag should still process mouse events and not consume them. Otherwise all mouse pressed operations will not work inside Godot's PopupMenu.
This problem is Windows only, all other platforms do process mouse events for PopupMenu's correctly.

(cherry picked from commit 40d7320a17)
2023-12-07 10:27:05 +01:00
jsjtxietian 2786f0e43e
Prevent a crash when calling AnimationMixer::restore when an invalid reference
(cherry picked from commit 937411e152)
2023-12-07 10:27:04 +01:00
Hugo Locurcio cff941f138
Fix typo in BaseMaterial3D conversion from 3.x SpatialMaterial
(cherry picked from commit 70959a9c04)
2023-12-07 10:27:04 +01:00
Michael Wörner b642489dc4
Fixed reading WAV files with odd chunk sizes.
These require a padding byte not included in the chunk size.

(cherry picked from commit 29810376b8)
2023-12-07 10:27:04 +01:00
oeelis 4ddcfb5fb3
Fix issue with 3D scene drag and drop preview node
(cherry picked from commit 834ccb9698)
2023-12-07 10:27:04 +01:00
Hugo Locurcio 7fb0ec04c2
Only allow MeshInstance3D-inherited nodes in MultiMesh Populate Surface dialog
(cherry picked from commit dc3194f668)
2023-12-07 10:27:04 +01:00
Hugo Locurcio f84ee53a9a
Only allow MeshInstance3D-based nodes in particles emission shape node selector
This applies to both GPUParticles3D and CPUParticles3D, as
CPUParticles3DEditor inherits from GPUParticles3DEditorBase.

(cherry picked from commit c6a16b176e)
2023-12-07 10:27:04 +01:00
Bastiaan Olij 1d82ae22c0
Remove unused grip touch action from default OpenXR action map
(cherry picked from commit 3af0176e8c)
2023-12-07 10:27:04 +01:00
Alistair Leslie-Hughes 779414c1e8
Fix memory leak on error paths in tinyexr loader
(cherry picked from commit f912a5aa56)
2023-12-07 10:27:04 +01:00
smix8 90f7b2b8cf
Fix NavigationRegion2D transform update
Fixes NavigationRegion2D transform update.

(cherry picked from commit 6fdb16af47)
2023-12-07 10:27:03 +01:00
Saracen 7b9bf3df64
Fix imported track flag on sliced animations.
(cherry picked from commit 57f1e5dcdc)
2023-12-07 10:27:03 +01:00
Pawel Lampe c913a8de58
Fix memory leak in 'NavigationServer3D' involving static obstacles
(cherry picked from commit a4b3546577)
2023-12-07 10:27:03 +01:00
Rémi Verschelde e4aec48bea
VideoPlayer: Fix reloading translation remapped stream
Fixes #43917.

(cherry picked from commit 7d0c561e02)
2023-12-07 10:27:03 +01:00
jsjtxietian b768561154
Fix bad parameter of rendering_method crashes Godot
Print error and default to forward plus

(cherry picked from commit b6bee1c21e)
2023-12-07 10:27:03 +01:00
jsjtxietian 2cbe02ad70
Add shadows_disabled macro in Compatibility renderer
(cherry picked from commit 716fd3edfc)
2023-12-07 10:27:03 +01:00
Saracen dbb86ed144
Fix generating terrain icon with certain image formats.
(cherry picked from commit 35c105e796)
2023-12-07 10:27:03 +01:00
Juan Linietsky bd2cad52ed
Comment the shader template light function by default
This is a minor usability tweak.

The light functions replace the default ones, so even if empty
they will avoid the current shader to have proper lighting and
users will have no idea why.

Code was changed to have the shader function commented by default,
indicating that uncommenting replaces the default function.

(cherry picked from commit c430ff2396)
2023-12-07 10:27:03 +01:00
smix8 fc7cc46b02
Fix missing NavigationLink property updates in constructor
Fixes missing NavigationLink property updates in constructor.

(cherry picked from commit 2f1668804c)
2023-12-07 10:27:02 +01:00
smix8 dfcfc79e3f
Fix missing NavigationRegion property updates in constructor
Fixes missing NavigationRegion property updates in constructor.

(cherry picked from commit 25bf20d7a5)
2023-12-07 10:27:02 +01:00