Commit graph

55252 commits

Author SHA1 Message Date
Markus Sauermann
8cdab04d7f Fix that the focus-out notification got sent deferred
Currently the window receives a focus-out notification, directly after
it popup, because currently the signal is sent deferred.
The original intention was that the previously focused window must
receive a focus-out notification.
This change makes the notification more precise by only sending the
focus-out to the previously focused window.
2023-06-18 23:06:07 +02:00
Alex Drozd
0c75d5d70c apply selected texture filter when editing UV 2023-06-18 22:56:26 +02:00
Fabio Alessandrelli
116f783db7
Merge pull request #76207 from dalexeev/clarify-rpc-docs
Clarify `@rpc` annotation arguments docs
2023-06-18 21:34:34 +02:00
Raul Santos
5373b67e2a
Respect returned bool from virtual process methods in SceneTree
SceneTree overrides the virtual `process` and `physics_process` methods
that it inherits from MainLoop. These methods return a boolean that
determines if the main loop should end.
The SceneTree was ignoring the returned boolean, so scripts inheriting
from SceneTree that override these methods and return true didn't exit
the main loop. Now the boolean is checked.
2023-06-18 20:45:58 +02:00
Rémi Verschelde
4a0bb80b18
Merge pull request #78396 from Sauermann/fix-focus-doc
Made window focus notification docs more precise
2023-06-18 16:33:51 +02:00
Rémi Verschelde
96166c9aab
Merge pull request #78387 from Wuqiqi123/fix_texture_preview_crash_from_invalid_image
Fix TexturePreview crash when creating an invalid image
2023-06-18 16:33:27 +02:00
Rémi Verschelde
127e9d65cf
Merge pull request #78368 from MatthewLJensen/delaunay-fixes
Consider all triangles for retention in Delaunay Triangulation
2023-06-18 16:33:04 +02:00
Rémi Verschelde
e125af0d05
Merge pull request #78363 from Sauermann/fix-simplify-acceptdialog
Fix focusloss of non-exclusive `AcceptDialog` with `close_on_escape`
2023-06-18 16:32:40 +02:00
Rémi Verschelde
65bc139bf2
Merge pull request #78354 from raulsntos/connect-dialog-dont-filter-derived-classes
Allow base types in method params of connection dialog
2023-06-18 16:32:16 +02:00
Rémi Verschelde
f9e3e86501
Merge pull request #78352 from aaronfranke/gltf-physics-shape-rename-only
GLTF: Rename GLTFCollider class to GLTFPhysicsShape
2023-06-18 16:31:53 +02:00
Rémi Verschelde
19e0135acb
Merge pull request #78349 from raulsntos/dotnet/fix-method-info
C#: Set `PropertyInfo.class_name` for method parameters
2023-06-18 16:31:29 +02:00
Rémi Verschelde
b7976f4ad6
Merge pull request #78347 from bruvzg/unix_fix_temp_chmod
[Unix] Fix temporary file permissions.
2023-06-18 16:31:05 +02:00
Rémi Verschelde
d63794d466
Merge pull request #77629 from GameDevLlama/bugifx/issue-50813
Fix non-functional Node3D `top_level` property
2023-06-18 16:30:42 +02:00
Rémi Verschelde
e8e00b981e
Merge pull request #76711 from ajreckof/fix-paste-value-not-updating-element-in-dictionaries/array
Fix paste value not updated in dictionaries/arrays
2023-06-18 16:30:16 +02:00
Rémi Verschelde
8d6c33a2b9
Merge pull request #76630 from gelvinp/respect-binary-compress
Respect "compress_binary_resources" editor setting on scene import
2023-06-18 16:29:49 +02:00
Rémi Verschelde
fc42065281
Merge pull request #76548 from komugi1211s/tilemap-ctrl-shift-edit-crash-fix
Fix crashes due to stack overflow when painting a large area in tile map
2023-06-18 16:29:23 +02:00
Rémi Verschelde
829b8656ee
Merge pull request #75888 from smix8/navigation_pause_mode_4.x
Add agent pause mode to NavigationServer
2023-06-18 16:29:00 +02:00
Rémi Verschelde
fcc39d498b
Merge pull request #75051 from AleryBerry/fix-error-message-lua-style
GDScript: Fix error message for LUA-style dictionary
2023-06-18 16:28:36 +02:00
Rémi Verschelde
1a62f1e4fc
Merge pull request #74741 from vnen/variant-not-for-everyone
Allow boolean operators for all Variant types
2023-06-18 16:28:10 +02:00
Rémi Verschelde
4db1d09bf5
Merge pull request #73657 from mashumafi/callable-ctor
Fix: Get constructor as Callable
2023-06-18 16:27:42 +02:00
Rémi Verschelde
1ce2425c0e
Merge pull request #73363 from dalexeev/gds-fix-min-int-not-representable
GDScript: Fix `MIN_INT` not representable as numeric literal
2023-06-18 16:27:16 +02:00
Rémi Verschelde
11ee6fcef0
Merge pull request #68311 from RobertMasek/fix-go-to-definition
Fix functionality of Go To Definition for properties set/get
2023-06-18 16:26:42 +02:00
Markus Sauermann
5b15c89c38 Made window focus notification docs more precise 2023-06-18 16:03:50 +02:00
fuzzy@home
09fa22002a fixes #76473, where filling a large amount of tiles all at once crashes
the engine due to segmentation fault.
2023-06-18 22:32:23 +09:00
Christian Ringshofer
20e8189f5d Fix non functional Node3D op_level property
Fixes #50813.
2023-06-18 15:01:01 +02:00
smix8
ae9dd47d0c Add agent pause mode to NavigationServer
Adds agent pause mode to NavigationServer.
2023-06-18 12:37:03 +02:00
Patrick Gelvin
9408ac0d6e Respect "compress_binary_resources" editor setting 2023-06-18 00:55:32 -07:00
Qiqi Wu
9321e9fa86 fix TexturePreview crash from an invalid image 2023-06-18 13:08:06 +08:00
Casey
0defaefdba Update GridMap editor grid location when required
The GridMap editor's grid previously did not not move when moving
the tile cursor, only on certain menu actions.

This commit adds an update_grid call for valid mouse movement in
the editor, changes update_grid to only offset if there's a valid
cursor, and adds updates for the grid and cursor when a mesh library
is changed since we need the new RID for the update_grid check,
and if we remove the mesh library we want to make sure it gets
recentered. As a nice side-effect, it also updates to the new cursor
mesh if you load a new mesh library.

Fixes #57068
2023-06-17 16:09:41 -06:00
Matthew Jensen
8b188bda52 Consider all triangles for retention in Delaunay Triangulation 2023-06-17 11:18:30 -04:00
Markus Sauermann
7f547fcf09 Fix focusloss of non-exclusive AcceptDialog with close_on_escape
Fix, that a non-exclusive AcceptDialog with `close_on_escape == true`
gets closed, when the parent window of the parent window receives focus.

There is no need to rely on the focus of the parent visible window.
Instead check if the AcceptDialog loses focus.
2023-06-17 11:05:36 +02:00
Raul Santos
47ed332499
Allow base types in method params of connection dialog 2023-06-17 03:39:10 +02:00
Raul Santos
48e20c628a
C#: Set PropertyInfo.class_name for method parameters 2023-06-16 23:19:38 +02:00
bruvzg
131e49bf13
[Unix] Fix temporary file permissions. 2023-06-16 23:34:27 +03:00
Rémi Verschelde
a83eb16fba
Merge pull request #62718 from Step-an/fix_basic_universal_compressing_with_normal_maps
Fix Basis Universal compressing with normal maps.
2023-06-16 22:22:12 +02:00
Aaron Franke
a222bdf83f
GLTF: Rename GLTFCollider class to GLTFPhysicsShape 2023-06-16 15:18:24 -05:00
Danil Alexeev
aebbbda080
GDScript: Fix some bugs with static variables and functions 2023-06-16 22:52:11 +03:00
cow-neaz
56cfde3a5c Fix Basic Universal compressing with normal maps. 2023-06-16 11:20:16 -07:00
Rémi Verschelde
fa268be823
Merge pull request #78345 from groud/fix_gcc13_compilation
Fix compilation on gcc13
2023-06-16 20:16:35 +02:00
Rémi Verschelde
1d22e040cb
Merge pull request #78336 from smix8/st_debug_avoidance_hint_4.x
Remove SceneTree debug avoidance hint
2023-06-16 20:16:12 +02:00
Rémi Verschelde
f37e5d8821
Merge pull request #78322 from Wuqiqi123/master
GLES3: Remove unimplemented texture_create() declaration
2023-06-16 20:15:43 +02:00
Gilles Roudière
41890ff9c3 Fix compilation on gcc13 2023-06-16 19:24:04 +02:00
smix8
f1d8ddd9bd Remove SceneTree debug avoidance hint
Removes SceneTree debug avoidance hint.
2023-06-16 17:18:47 +02:00
Rémi Verschelde
9b4d367621
Merge pull request #78327 from bitsawer/fix_clang_string
Fix Clang `dev_mode` build const string conversion
2023-06-16 16:54:01 +02:00
Rémi Verschelde
c209ad222c
Merge pull request #78326 from KoBeWi/0110010001100101011000110110010101101110011000110111100101011111011001010110010001101001011101000110111101110010
Fix missing UID handling for binary formats
2023-06-16 16:53:38 +02:00
Rémi Verschelde
f3d87d2e90
Merge pull request #78324 from KoBeWi/9
Fix filesystem cache split error
2023-06-16 16:53:15 +02:00
Rémi Verschelde
2d90f66ac1
Merge pull request #78323 from kleonc/tile-compat-transposed-transform-fix
Fix transform for transposed tiles in compatibility mode (from 3.x)
2023-06-16 16:52:51 +02:00
Rémi Verschelde
c65aba7aff
Merge pull request #78321 from ajreckof/fix-wrong-alphabetical-order-in-autocompletion-sorting
Fix wrong order in autocompletion sorting with empty string to complete.
2023-06-16 16:52:27 +02:00
Rémi Verschelde
ce60395b4a
Merge pull request #78293 from Sauermann/fix-button-unpress
Fix ButtonGroup unpressing
2023-06-16 16:52:01 +02:00
ajreckof
e9a2060b27 Fix wrong alphabetical order in autocompletion sorting.
Co-Authored-By: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2023-06-16 14:04:07 +02:00