Commit Graph

59386 Commits

Author SHA1 Message Date
Samuel Venable 6c8375b73d Fix NetBSD Executable Path
(cherry picked from commit 52da1e9b6b)
2024-01-25 18:45:02 +01:00
Gregory De Bonis ce42f8b4ec Wrong key mapping for XK_KP_Delete key
Fixes #86156

(cherry picked from commit 95bcf93849)
2024-01-25 18:45:02 +01:00
Micky a92a2015f0 Fix missing autocompletion for inheriting classes
(cherry picked from commit ca2f340384)
2024-01-25 18:45:01 +01:00
Micky 873a77d8e9 Add autocompletion options for AnimatedSprite's other play methods
(cherry picked from commit d5a7c7818c)
2024-01-25 18:45:01 +01:00
Danil Alexeev c35e05e7b1 GDScript: Fix accessing static function as `Callable` in static context
(cherry picked from commit 10dcb21d8b)
2024-01-25 18:45:01 +01:00
Haoyu Qiu beadc92e4f Clear sub-resources list when no sub-resource exists
(cherry picked from commit 6e49ff91c0)
2024-01-25 18:32:37 +01:00
Mika Viskari c2d38b4388 Fix invalid frame index when Sprite2D's hframes or vframes has been changed
(cherry picked from commit 484c5b5aff)
2024-01-25 18:32:37 +01:00
Yuri Sizov eb25ef6062 Optimize scanning routines in the project manager
(cherry picked from commit 3d4b33df33)
2024-01-25 18:32:37 +01:00
Danil Alexeev ee1034d355 GDScript: Fix POT generator skips some nodes
(cherry picked from commit 1aa242f7c4)
2024-01-25 18:32:37 +01:00
jsjtxietian bce0ada5f4 Prompt require editor restart to user when gizmo color changed
(cherry picked from commit b0ccd5c84f)
2024-01-25 18:32:37 +01:00
kobewi 06a94ecc14 Load project metadata file only when needed
(cherry picked from commit 3dc47b0b84)
2024-01-25 18:32:36 +01:00
jsjtxietian a47a07d13b Fix FileAccessPack::get_buffer will update pos past the length of file
(cherry picked from commit 68a6fe81ab)
2024-01-25 18:32:36 +01:00
eldidou b34af3aa5a Speed up GDScript::get_must_clear_dependencies()
get_must_clear_dependencies() has a N^3*log(N) time complexity, and this can very quickly slow down the quitting process as more gdscripts are added in a project.
This change improves it to N^2*log(N).
Instead of using all the inverted dependencies, we do the same with all (non-inverted) dependencies, which is N times faster.

Fixes #85435

(cherry picked from commit 0d77c3e092)
2024-01-25 18:32:36 +01:00
Saracen 49031b24e5 Fix setting bezier track handle mode from inspector.
(cherry picked from commit 09a4aa3ce8)
2024-01-25 18:32:36 +01:00
kobewi 1f677eb279 Properly select the newly duplicated file
(cherry picked from commit 0ae1241304)
2024-01-25 18:32:36 +01:00
Nancy Zhang 88526a23a5 Fix unable to deselect audio effects
(cherry picked from commit cf39cc985b)
2024-01-25 18:32:36 +01:00
wilto938 6a2a048753 Reset TileMap editor `drag_type` by using the _stop_dragging() function when the toolbar mode is not selected
(cherry picked from commit 5a3de5bc30)
2024-01-25 18:32:36 +01:00
detomon 4bc567d27a Fix creating and updating plugin with dot in folder name
(cherry picked from commit 46253bd9e9)
2024-01-25 18:32:36 +01:00
Yuri Sizov 5dbe105f22 Fix theme access in the Groups editor
(cherry picked from commit 0244f8318f)
2024-01-25 18:32:36 +01:00
Emily 5573f37ff3 Change suffix from m to px
(cherry picked from commit b7d5f3e984)
2024-01-25 18:32:36 +01:00
kevmorg 8633f7bcdb Hide Node dock successfully on undo/redo and deletion
Fixes #84530.

(cherry picked from commit da84489b27)
2024-01-25 18:32:35 +01:00
kleonc 6e6d49c68a Fix ColorPicker's alpha slider arrow offset
(cherry picked from commit d76d8c5f29)
2024-01-25 18:32:35 +01:00
Alistair Leslie-Hughes 6777e1b4bf Replace memory allocation point of ValueTrack correctly in AnimationMixer
When a animation track doesn't have an keys, it's possible that we leak memory due the ERR_CONTINUE_MSG macro usage.

By checking the error condition first, we avoid a allocation and thus the leak.

(cherry picked from commit ea84effb84)
2024-01-25 18:32:35 +01:00
Lasuch 8e3740d425 Expose copy_effects copy compute shader in Mobile backend
(cherry picked from commit 608d41a969)
2024-01-25 18:32:35 +01:00
Zach Coleman 9609df181d Make screen_get_refresh_rate() respect iOS Low Power Mode
(cherry picked from commit 6a8f6bae4c)
2024-01-25 18:32:35 +01:00
Dominic 93fd5da49c Add wireframe for compatibility mode
(cherry picked from commit bae6f86257)
2024-01-25 18:32:35 +01:00
Aitor Guevara 43d24379a5 Trigger zoom from pan gestures when pressing ctrl
Enables zooming using pan + ctrl on macOS trackpads / Magic Mouse.
Windows and Linux don't emit pan gesture events, so shouldn't be
affected. Not tested on Android.

(cherry picked from commit 6b45694836)
2024-01-25 18:32:35 +01:00
Yuri Sizov 9f10aedb17 Correctly register editor-only module classes with the API
(cherry picked from commit 0f8c955c1a)
2024-01-25 18:08:46 +01:00
BlueCube3310 5f3bd68cfe Fix squish DXT5 RA-As-RG channel swapping
(cherry picked from commit 1224129c50)
2024-01-25 18:08:46 +01:00
BlueCube3310 2fe886f3a5 Fix squish RGTC_R decompression corruption
(cherry picked from commit 433a2a6ea2)
2024-01-25 18:08:46 +01:00
Aaron Franke 3a8c04ea3c Add PackedRealArray as an alias for Vector<real_t>
(cherry picked from commit 3f469ee485)
2024-01-25 18:08:46 +01:00
zinefer 89f22518dc Bugfix: Replace // with \\ before sending path to Blender
On Windows, Blender treats //fileshare/assets/model.blend as a relative
path which will not be found. Instead, replace the first two chars with
`\\` which when escaped becomes `\\\\`.

(cherry picked from commit 72d18d50a4)
2024-01-25 18:08:46 +01:00
mequam 94949f0ee1 [X11] Fix Godot stealing focus on alternative Window Managers
(cherry picked from commit 40d69c25d5)
2024-01-25 18:08:46 +01:00
Markus Sauermann 6f6a1dc5e9 Fix D&D viewport position calculation
It is necessary to transform screen position to viewport position.

(cherry picked from commit 4b6516c843)
2024-01-25 18:08:46 +01:00
Yuri Sizov dd665988d7 Correctly enforce minimum window size in editor
Also set the maximum size for the language
picked in the project manager.

(cherry picked from commit 416e594eb3)
2024-01-25 18:08:45 +01:00
kleonc 663ba67016 Fix 2D normals for transposed texture
(cherry picked from commit 0fe7eead02)
2024-01-25 18:08:45 +01:00
Sofox cd29fb22a0 Fixed RegEx search_all for zero length matches/lookahead/lookbehind
(cherry picked from commit 7b2fd342e3)
2024-01-25 18:08:45 +01:00
jsjtxietian 5a7c19f6c4 Fix "Class name cannot be empty" error when sorting no import files by type
(cherry picked from commit 5b57db2637)
2024-01-25 18:08:45 +01:00
Fabio Alessandrelli 8544106b7e [MP] Handle cleanup of "scene cache" nodes
Make sure we delete the relevant ObjectID from the cache when the nodes
are removed from tree.

(cherry picked from commit 853df2895a)
2024-01-25 18:08:45 +01:00
nikitalita 6e4cbdc144 SCons: Add `stack_size` and `default_pthread_stack_size` options to Web target
(cherry picked from commit 6788bc6bc2)
2024-01-25 18:08:45 +01:00
Michael Wörner d01c60c178 Changed HTML input color_changed logic.
Made the HTML field send change events based on whether the new color's string is different from the previous color's string (instead of whether the new string parses to the current color value).
Previously, updating the color value even when the corresponding string hadn't changed would unnecessarily quantize the color value to 8 bits just by opening/closing the Color Picker.

(cherry picked from commit 21d778b0c3)
2024-01-25 18:08:45 +01:00
MewPurPur 28818d1d6c Add Texture2D and Texture3D icons
(cherry picked from commit 6cdd406c3d)
2024-01-25 18:08:45 +01:00
BlueCube3310 b247151af2 Improve Curve3D Debug Drawing
(cherry picked from commit 982ce34a58)
2024-01-25 18:08:45 +01:00
clayjohn 771db18a5d Uses screen-aligned quads for origin lines to avoid issues on NVidia
While we are add it, use alpha-antialised lines to make them look nice

(cherry picked from commit 5591f289d7)
2024-01-25 18:08:44 +01:00
HolonProduction 571cb746f9 Improve sorting of enum autocompletion
(cherry picked from commit 76fd7ec394)
2024-01-25 18:08:44 +01:00
Rémi Verschelde c4fb3bc342 certs: Sync with Mozilla bundle as of Dec 13, 2023
bef37a977c
(cherry picked from commit c6e829b4c6)
2024-01-25 17:53:50 +01:00
Martin Capitanio 08772e3fd3 ThorVG: update from v0.11.6 to v0.12.0
https://github.com/thorvg/thorvg/releases/tag/v0.12.0

Godot-related SVG bug fixes:

+ [SwEngine] Fixed a linear filling scaling issue.
      thorvg/thorvg#1834
+ [SwEngine] Path data not invalid even though
      it doesn't start with MoveTo.
      thorvg/thorvg#1848

Fixes #86128 Gradient issue.

(cherry picked from commit e090b112ef)
2024-01-25 17:53:49 +01:00
Martin Capitanio 7827a3945b ThorVG: update from v0.11.2 to v0.11.6
https://github.com/thorvg/thorvg/releases/tag/v0.11.6

Godot related:
    + [Renderer] Improved the internal structure for compact
      scene-hierarchy traversing.
    + [SwEngine] Improved trigonometric & image scaler performance.
    + [SwEngine] Fixed a loss of image pixels during image down-scaling.
    + [Renderer/Engine] Improved safety measures.
    + [SwEngine] Resolved a bug causing strokes to be improperly
      invisible due to clipping.
      thorvg/thorvg#1785
    + [Renderer] Rectified the precision of rounded rectangle corners.
      thorvg/thorvg#1824
    + [Portability] Resolved compiler shadowing warnings.
      thorvg/thorvg#1811

    Fixes godotengine#85465 Clipped strokes from outside the canvas.
    Fixes godotengine#86012 Rounded rectangles in SVG files rendering incorrectly.

(cherry picked from commit 74ed6d63bf)
2024-01-25 17:53:49 +01:00
DevPoodle 50eaeec2f7 Add descriptions to the remaining properties of RDPipelineDepthStencilState
(cherry picked from commit 0bb744e555)
2024-01-25 17:40:45 +01:00
Micky f7f86cf5db Add missing descriptions to remaining signals.
(cherry picked from commit 8f10d7dd19)
2024-01-25 17:40:45 +01:00