Commit Graph

53184 Commits

Author SHA1 Message Date
Arman Elgudzhyan 88475cfba9 Use defined key mapping for closing popups and dialogs
As opposed to hardcoding the escape key. Also removed such hardcoding in a few other places as well as a hardcoded enter key in one of the affected input fields.

(cherry picked from commit 8ab2cf3d2d)
2023-06-29 16:03:22 +02:00
Ninni Pipping fcafb674af Ensure quotes are escaped when converting builtin scripts
(cherry picked from commit ef4422e3e1)
2023-06-29 16:03:22 +02:00
kobewi 13a030de06 Fix AnimationPlayer cumulative speed_scale
(cherry picked from commit 87a6145135)
2023-06-29 16:03:21 +02:00
kobewi e4986ad4aa Don't create bones from empty scene
(cherry picked from commit e5b6b3e1e3)
2023-06-29 16:03:21 +02:00
Fredia Huya-Kouadio d86aa32f8c Update the format for the app version code and name
(cherry picked from commit a041f96779)
2023-06-29 16:03:21 +02:00
Riteo 531b22339a Build `JoypadLinux` sandbox detection method only with udev
Fixes an `unused-function` warning when building with `udev=no`.

(cherry picked from commit 51dfdfab96)
2023-06-29 16:03:21 +02:00
Fredia Huya-Kouadio f7ee97d6d7 Update the gradle build tasks to generate play store builds.
Configure the gradle builds to sign and build the release version of the Godot Android Editor

(cherry picked from commit 0d569bea5d)
2023-06-29 16:03:21 +02:00
kleonc 9cae00fae8 Fix Y-sort modulate for top-most Y-sorted CanvasItem
(cherry picked from commit bbb2a889d8)
2023-06-29 16:03:21 +02:00
kleonc bfc679b862 Fix modulation propagation for Y-sorted CanvasItems
(cherry picked from commit 5d8219b4fd)
2023-06-29 16:03:21 +02:00
Rakka Rage bcb6154a3b Make tile atlas merge dialog use filter nearest mipmaps on both sides. To avoid blurry tiles.
(cherry picked from commit 855d78e458)
2023-06-29 16:03:21 +02:00
sakrel b7d741977c RenderingDeviceVulkan::buffer_get_data: Use draw command buffer instead of setup command buffer
(cherry picked from commit f52c151fcf)
2023-06-29 16:03:21 +02:00
Hugo Locurcio d56e19b012 Fix typo in FinalAction `switch` statement in RenderingDevice
(cherry picked from commit dd53037f74)
2023-06-29 16:03:21 +02:00
RedworkDE 5366970863 C#: Fix `SendToScriptDebugger` crash
(cherry picked from commit fa14b6d212)
2023-06-29 16:03:21 +02:00
Bastiaan Olij c41ad0f74c Conditionally free GI and FOG resources, they may not have been created
(cherry picked from commit 57f343ab21)
2023-06-29 16:03:21 +02:00
Bastiaan Olij 7ac0f406aa Properly clear material slots on mesh instance when material is freed
(cherry picked from commit 1a128fcccd)
2023-06-29 16:03:21 +02:00
Fredia Huya-Kouadio 2900425eeb Adds a `scale_gizmo_handles` entry to the `Touchscreen` editor settings
When enabled, this scales the editor icons to improve usability on touchscreen devices.
In addition this commit fixes touch detection for the collision_shape_2d_editor_plugin so it scales with the icons size.

(cherry picked from commit 30824e9818)
2023-06-29 16:03:21 +02:00
kobewi 73650d0fea Add scrolling to overwrite dialog
(cherry picked from commit ab787fe4d2)
2023-06-29 16:03:21 +02:00
Hiroki Taira f2738cbd41 Add support for DPAD Center key of Android TV remote controller
(cherry picked from commit 9dc84e3581)
2023-06-29 16:03:21 +02:00
Pedro J. Estébanez 2d49b669bb Avoid error spam on first opening of a not yet imported project
(cherry picked from commit ed9dc792df)
2023-06-29 16:03:21 +02:00
ajreckof 431bcf4880 fix `Window`derived nodes being unselectable for `ViewportTexture` `NodePath`
(cherry picked from commit ace7620e55)
2023-06-29 16:03:21 +02:00
Jackson Thomas Browne 3a4551450c Replace magic num in editor_properties_array_dict
Quick update to editor/editor_properties_array_dict max size.
Currently, an array in the EditorInspector won't display a number higher than 1,000,000.
In place of the current magic number this sets the max to be the INT32_MAX.
This eludes the magic number in place and is sufficiently large.

Resolves #77190

(cherry picked from commit 4fb7aac651)
2023-06-29 16:03:21 +02:00
Rindbee 5ef5ff00a4 Fix calling `TextureStorage::texture_3d_update()` could cause a crash
(cherry picked from commit ebd2b9e299)
2023-06-29 16:03:21 +02:00
ocean (they/them) e75e104e2d Fix adding colors to swatches not updating in previous ColorPickers.
ColorPicker was only updating colors if its swatches were empty. It
should always update from the cache in case some other ColorPicker
updated the swatch cache.

(cherry picked from commit a132ed0ca4)
2023-06-29 16:03:21 +02:00
bruvzg 0b8fee56e2 [ItemList] Fix item text positions in RTL mode.
(cherry picked from commit 343c35e7b0)
2023-06-29 16:03:20 +02:00
Danil Alexeev 4edc22ee6e Use nearest with mipmaps texture filter in SpriteFrames editor plugin
(cherry picked from commit 2edf1bd76a)
2023-06-29 16:03:20 +02:00
Lyuma f745ef03a3 Fix AABB for unused bones
Fixes bug where bounding box of 1 unit was used in some skinned models and had wrong LODs.
(this could become very large if the mesh is scaled, such as FBX conversions)
Also fixes a mistake in calcualting bone index.

(cherry picked from commit 791d8001db)
2023-06-29 16:03:20 +02:00
Alex Drozd 52c8c8c174 check for null event in Viewport::push_input
(cherry picked from commit a5a1c3a03c)
2023-06-29 16:03:20 +02:00
kobewi 14f1141abe Fix 2D audio in multiple viewports
(cherry picked from commit 8a41eefb97)
2023-06-29 16:03:20 +02:00
Rémi Verschelde 34b4cce2ff
Merge pull request #78811 from RedworkDE/net-auto-version-defines-4.0
[4.0] C#: Automatically generate version defines
2023-06-29 06:55:14 +02:00
RedworkDE 03ce3f5027 C#: Automatically generate version defines 2023-06-28 21:55:24 +02:00
Rémi Verschelde 98a47218a4
Update AUTHORS and DONORS list
New contributors added to AUTHORS:
ajreckof, AThousandShips, bitsawer, hakro, mihe, nongvantinh

Thanks to all contributors and donors for making Godot possible!

(cherry picked from commit 2930fbeecd)
2023-06-26 17:59:01 +02:00
Rémi Verschelde 5fdd5fa19d
Merge pull request #77110 from smix8/fix_agent_avoidance_pos_4.0
[4.0] Fix agent avoidance position not updated when entering SceneTree
2023-06-22 21:00:50 +02:00
Rémi Verschelde bce04919f4
Merge pull request #78340 from YuriSizov/4.0-cherrypicks
Cherry-picks for the 4.0 branch (future 4.0.4) - 1st batch
2023-06-20 13:27:35 +02:00
Rémi Verschelde 4eefe8a40e
Merge pull request #78403 from AThousandShips/create_size_fix
[4.0] Fix saving size in `CreateDialog`
2023-06-19 16:48:18 +02:00
Ninni Pipping e22a71aa3c [4.0] Fix saving size in `CreateDialog`
Was fixed for 4.1 in godotengine/godot#75141, but as part of a larger
fix
2023-06-18 14:45:14 +02:00
Adam Scott 09dc11bff5 Add missing `script_type` `nullptr` check
Co-authored-by: Fabio Alessandrelli <fabio.alessandrelli@gmail.com>
(cherry picked from commit 1236302388)
2023-06-16 20:55:24 +02:00
Isard Botha 314c729d2c Fix issue 74259 by setting the sky cover property back to nil when it is reset in the editor.
(cherry picked from commit 74041e3705)
2023-06-16 20:55:23 +02:00
Lyuma 9307d851a9 Fix get_bone_pose_global_no_override()
(cherry picked from commit 565803ce3d)
2023-06-16 20:55:23 +02:00
David Turner 4cf3aff7cc Stop dragging when a slider changes editability
(cherry picked from commit 7d6b44c5a4)
2023-06-16 20:55:23 +02:00
Hakim 3f98539361 Do not translate node name when assigned to an exported field
(cherry picked from commit f2383b7c19)
2023-06-16 20:55:23 +02:00
Hakim b650ba820b Hide Animation Frames section when there are no animations and show message
(cherry picked from commit 9cf2d0f058)
2023-06-16 20:55:23 +02:00
Haoyu Qiu c58bc21dba Turn off auto translate for some editor controls
* Scene tab
* Animation name list in Animation panel
* Feature profile name list in Editor Feature Profile dialog
* Layout names in editor layout menu
* Subresource list in Inspector dock
* Resource type shown in EditorResourcePicker
* Enum dropdowns in inspectors: We'll eventually allow auto translating
  these after implementing a way to opt-out auto translation on a
  property-by-property basis and a way to extract enumerators.

(cherry picked from commit 26553be424)
2023-06-16 20:55:23 +02:00
Paul Joannon 506734cae1 Link the right build property to REAL_T_IS_DOUBLE
(cherry picked from commit 178cd046bb)
2023-06-16 20:55:23 +02:00
dearthdev 67698b155f Correctly insert lightmap captures and geometries.
(cherry picked from commit 53903f07dc)
2023-06-16 20:55:23 +02:00
Evan Todd 156862bddb Fix CSGPolygon3D in path mode disappearing at runtime.
(cherry picked from commit da7e54ec17)
2023-06-16 20:55:23 +02:00
jpcerrone dcf6f2b29f Fix Input Map key assignments missing after project conversion
Fixes #76336 (Input Map keys missing).
Moves the project.godot config_version stamping from the project manager
to the project converter. Now there's no difference between converting through
the project manager and the CLI tool.
Fixes being prompted to re-convert the project in the project manager after
having done so through the CLI tool.

(cherry picked from commit 0985019c28)
2023-06-16 20:55:23 +02:00
Rindbee ce116e4708 Fix calculation bug with `TextEdit::get_line_height()`
When `get_line_height()` is less than `1`, there is no visible text.
So limit the return value of `get_line_height()` to **not less** than
`1` for calculation.

(cherry picked from commit 391bce44b7)
2023-06-16 20:55:23 +02:00
jpcerrone 566ad9813e fix errors while reordering input maps
(cherry picked from commit c6ea376842)
2023-06-16 20:55:23 +02:00
Danil Alexeev 2054141848 GDScript: Fix `validate_call_arg()` for unresolved datatype
(cherry picked from commit 7da3110e6b)
2023-06-16 20:55:23 +02:00
kleonc a26dd53faf Make SpriteFrames editor toolbar a FlowContainer
(cherry picked from commit d58e832062)
2023-06-16 20:55:23 +02:00