Commit Graph

59348 Commits

Author SHA1 Message Date
Rémi Verschelde 1dee633c91
i18n: Sync translations with Weblate 2023-12-11 22:08:59 +01:00
Adam Scott 5dd7623ecc
Set what were default values for some emscripten linkflags
- Set `-sSTACK_SIZE` to what it was before emscripten 3.1.27.
  It was renamed in 3.1.25 so also set `-sTOTAL_SIZE` for older
  versions for consistency.
- Set `-sDEFAULT_PTHREAD_STACK_SIZE` to what it was before 3.1.30.

Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
(cherry picked from commit 8e5fbd4348)
2023-12-11 20:26:44 +01:00
Yuri Sizov 67038ecd29
Merge pull request #86026 from YuriSizov/4.2-cherrypicks
Cherry-picks for the 4.2 branch (future 4.2.1) - 2nd batch
2023-12-11 14:45:26 +01:00
Yuri Sizov ed55f9d3e9 Update the changelog for 4.2.1 2023-12-11 14:12:18 +01:00
HolySkyMin fc15ffed1e GLES3: Skip batches with zero instance count while rendering
(cherry picked from commit 51dcb38840)
2023-12-11 12:43:30 +01:00
clayjohn 4cce0d9711 Ensure that 2D meshes use a proper input mask
The input mask was wrongly ignored in earlier versions. Now it is actually used so the input mask variable needs to be a valid number

(cherry picked from commit 777d6ae1c6)
2023-12-11 11:41:59 +01:00
Gilles Roudière 6e043b80f6 Fixes TileMap occluders
(cherry picked from commit fcb8d19de0)
2023-12-11 11:41:58 +01:00
Rémi Verschelde daeb1c7292
i18n: Sync translations with Weblate 2023-12-07 11:13:02 +01:00
Rémi Verschelde 9d22668b9f
Merge pull request #85784 from YuriSizov/4.2-cherrypicks
Cherry-picks for the 4.2 branch (future 4.2.1) - 1st batch
2023-12-07 11:12:40 +01:00
Haoyu Qiu 075a5a174f
Fix missing heading in translated online class reference
(cherry picked from commit 9c83d3db5b)
2023-12-07 10:27:09 +01:00
Mikael Klasson c219ffe5eb
Fix invalid Python escape sequences
(cherry picked from commit 4986d6d317)
2023-12-07 10:27:09 +01:00
Yuri Sizov 7931c04544
Fix size and visuals of the InputEventConfigurationDialog
(cherry picked from commit 44ec0d19d8)
2023-12-07 10:27:09 +01:00
bruvzg 4cadc50bf7
Do not reload resources and send notification if locale is not changed.
(cherry picked from commit 829349d2ca)
2023-12-07 10:27:09 +01:00
bruvzg d29aaedd78
Limit window size updates on title translation change.
(cherry picked from commit f9c42d9fff)
2023-12-07 10:27:09 +01:00
Frying☆Pan 83d3ccc108
fix documentation for `icon_and_font_color` editor setting
(cherry picked from commit de59872db8)
2023-12-07 10:27:09 +01:00
aXu-AP 351bede5ae
Fix UV editor not showing polygon correctly
Fix polygon not showing correctly if UVs have been moved around. Show the actual contents of the polygon instead.

(cherry picked from commit a45db4d616)
2023-12-07 10:27:09 +01:00
jsjtxietian 2167526f2f
Fix SnapGrid is almost invisble in light theme
(cherry picked from commit 926e22d2ab)
2023-12-07 10:27:09 +01:00
bruvzg 455e8f0e33
[macOS] Switch ANGLE backend to ANGLE over OpenGL, switch default compatibility renderer back to native.
(cherry picked from commit d48524a3f4)
2023-12-07 10:27:09 +01:00
bruvzg 65677df124
[iOS] Use mdfind to check if Xcode is installed in one-click deploy code.
(cherry picked from commit 0e2f297806)
2023-12-07 10:27:08 +01:00
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