Commit Graph

47730 Commits

Author SHA1 Message Date
Micky bf64a068a4 Fix Array.`slice()` and `filter()` forgetting Typed Array 2022-10-09 12:34:19 +02:00
Yuri Rubinsky 880a0177d1
Merge pull request #67086 from timothyqiu/text-txt 2022-10-08 19:34:46 +03:00
Haoyu Qiu 2a921cc9f8 Fix Label text length mismatch after localization 2022-10-08 23:07:19 +08:00
Rémi Verschelde bbac8198f8 Merge pull request #67070 from timothyqiu/bind-redraw
Bind `AnimationTrackEditor::_redraw_tracks` for UndoRedo
2022-10-08 13:56:35 +02:00
Rémi Verschelde f7c374272f Merge pull request #67060 from timothyqiu/named-layers
Only show named layers in layer menu
2022-10-08 13:56:30 +02:00
Rémi Verschelde 358c751658 Merge pull request #67053 from Calinou/doc-array-sort-not-stable
Document `Array.sort()` and `sort_custom()` using unstable sorting
2022-10-08 13:56:25 +02:00
Rémi Verschelde bea0cbbb4d Merge pull request #67066 from timothyqiu/register-null
Validate input in `ScriptServer::register_language`
2022-10-08 13:56:18 +02:00
Rémi Verschelde 2b376437a2 Merge pull request #65983 from Mickeon/rename-audio-player-volume-db
Rename AudioStreamPlayer3D's `unit_db` to `volume_db`
2022-10-08 13:56:10 +02:00
Rémi Verschelde 0a129645ac Merge pull request #67062 from timothyqiu/enum-space
Remove leading spaces from enumerator name hints
2022-10-08 13:55:58 +02:00
Rémi Verschelde b9f4f269be Merge pull request #67052 from OvercookedRoach/patch-1
Area3D: declare "_validate_property" as protected
2022-10-08 13:55:53 +02:00
Rémi Verschelde 658929997d Merge pull request #67051 from clayjohn/CanvasGroup-clear
Allow clearing backbuffer after finishing CanvasGroup
2022-10-08 13:55:48 +02:00
Fabio Alessandrelli b150926cde
Merge pull request #67045 from winterpixelgames/bugfix-web-cursor
Fix bug in setting custom cursor on web
2022-10-08 12:31:08 +02:00
Haoyu Qiu 51c5278d83 Bind `AnimationTrackEditor::_redraw_tracks` for UndoRedo 2022-10-08 17:34:16 +08:00
Haoyu Qiu 48e0688d8f Validate input in `ScriptServer::register_language` 2022-10-08 14:12:25 +08:00
Haoyu Qiu 344ed9ec6c Remove leading spaces from enumerator name hints
For `PROPERTY_HINT_ENUM` properties, enumerator names can be provided as
a comma separated list. There're a few properties that add leading
spaces to the names (e.g. `First, Second, Third`).

These spaces are included in the Inspector dropdown, which is
unexpected.

It's better to leave the surrounding spaces untouched because it could
be part of the resulting string value (the variable is a string enum).
And most other enum hints don't contain surrounding whitespaces.

This PR removes the spaces and documents this `PROPERTY_HINT_ENUM`
behavior.
2022-10-08 11:33:50 +08:00
Haoyu Qiu ad04922ef9 Only show named layers in layer menu 2022-10-08 11:24:04 +08:00
Hugo Locurcio 85b617a6a3
Document `Array.sort()` and `sort_custom()` using unstable sorting 2022-10-08 01:16:41 +02:00
Arthur J b18a553a06
declare "_validate_property" as protected
In other classes, the function _validate_property is declared as protected (in the case of Area2D), but in Area3D it's declared as private, which causes compile errors when trying to extend the class in a C++ module for example.
2022-10-07 18:36:37 -03:00
clayjohn 4765e5fa64 Allow clearing backbuffer after finishing CanvasGroup
This avoids an issue where having multiple CanvasGroups overlap
would create a weird artifact
2022-10-07 14:13:40 -07:00
Rémi Verschelde 18177828ad Merge pull request #67047 from KoBeWi/_aacdeelmmnoptt
Sort unused palette commands alphabetically
2022-10-07 22:22:25 +02:00
Rémi Verschelde 39f9c4d229 Merge pull request #67011 from aaronfranke/color-float-literals
Use float literals for float calculations in Color and misc core cleanup
2022-10-07 22:21:43 +02:00
Rémi Verschelde 7ca49be7ed Merge pull request #67035 from mateuseap/mateuseap/master
Fix signature for `folder_moved` signal of `FileSystemDock`
2022-10-07 22:21:37 +02:00
Rémi Verschelde f98ac421a8 Merge pull request #67041 from HolonProduction/dock_move_bug
Fix a bug with moving dock left and right.
2022-10-07 22:21:33 +02:00
Rémi Verschelde 301bf9fa36 Merge pull request #67042 from clayjohn/overlay-shadow-bug
Fix material overlay overriding shadow casting logic
2022-10-07 22:21:22 +02:00
kobewi d8663b1a70 Sort unused palette commands alphabetically 2022-10-07 21:52:25 +02:00
clayjohn 7465455079 Fix material overlay overriding shadow casting logic
Material overlay should only cast a shadow if it can cast a shadow and
the instance can cast a shadow
2022-10-07 10:15:39 -07:00
HolonProduction 301a8fd559 Fix a bug with moving dock left and right.
Fixes #67039

`get_index` counts internal children by default but `move_child` ignores them therefore `move_child` had no effect.

The call to `set_current_tab` is not needed anymore in Godot 4 since the current tab will change when calling `move_child`.
2022-10-07 19:15:20 +02:00
Jason Knight c2d7f7fb4c Change auto to default in cursor css settings. 2022-10-07 10:53:49 -06:00
meap 09b9d864a7 Fix signature for 'folder_moved' signal of FileSystemDock 2022-10-07 13:38:29 -03:00
Aaron Franke 43722dbcbc
Use float literals for float calculations in Color 2022-10-07 11:28:47 -05:00
Rémi Verschelde 1baefceaba Merge pull request #66972 from FHEK789/node2d_canvas_item_docs
Add descriptions for Node2D's skew and CanvasItem's clip_children
2022-10-07 16:10:00 +02:00
Rémi Verschelde 0384abe9ca Merge pull request #67027 from akien-mga/msvc-–fix-c4702
Fix more MSVC C4702 (unreachable code) warnings
2022-10-07 16:09:53 +02:00
Rémi Verschelde 62b066dbd6 Fix more MSVC C4702 (unreachable code) warnings 2022-10-07 14:43:59 +02:00
Rémi Verschelde c723125dfc Merge pull request #67020 from GuilhermeGSousa/remove-transition-expression-node
Remove expression base node for transitions
2022-10-07 14:23:00 +02:00
Rémi Verschelde b28c39d2f5 Merge pull request #67021 from RandomShaper/window_create_ret_madness
Harmonize return values of `window_create()` in rendering drivers
2022-10-07 14:22:53 +02:00
Rémi Verschelde 58ca303141
Merge pull request #66808 from bruvzg/msvc_warn 2022-10-07 11:34:11 +02:00
Pedro J. Estébanez e821e9d2a2 Harmonize return values of window_create() in rendering drivers 2022-10-07 11:31:54 +02:00
Guilherme Sousa 12940e53c1 Remove expression base node for transitions 2022-10-07 11:13:43 +02:00
bruvzg 0103af1ddd
Fix MSVC warnings, rename shadowed variables, fix uninitialized values, change warnings=all to use /W4. 2022-10-07 11:32:33 +03:00
Rémi Verschelde 5b7f62af55 Merge pull request #62910 from Vitika9/gsoc-colorpicker-ux
ColorPicker UX
2022-10-07 09:49:29 +02:00
Rémi Verschelde aa20941e68 Merge pull request #67016 from bruvzg/split_caret_dir_marker
Add split caret direction markers. Fix block/overtype caret size.
2022-10-07 09:15:14 +02:00
Rémi Verschelde 29f017378e Merge pull request #66861 from clayjohn/GLES3-mono-ubo
Use a giant UBO to optimize performance in 2D [OpenGL3]
2022-10-07 09:14:13 +02:00
Rémi Verschelde e3d140e21a Merge pull request #65939 from Mickeon/editor-scene-tree-filter-type-inherited
Include inherited classes in Filter Nodes' "type:" filter & fix "group:"
2022-10-07 09:13:59 +02:00
bruvzg a750ca7ec1
Add split caret direction markers. Fix block/overtype caret size. 2022-10-07 08:45:52 +03:00
Yuri Rubinsky 88309dee4e
Merge pull request #67004 from MewPurPur/fix-outdated-autocomplete-keywords 2022-10-07 07:38:49 +03:00
VolTer ac1761c8cd Fix outdated keywords autocompletion 2022-10-06 23:47:19 +02:00
Rémi Verschelde 17c62a692e
Merge pull request #66756 from BastiaanOlij/fix_ssr
Fixing artifacts in SSR
2022-10-06 22:27:49 +02:00
clayjohn 154b9c1c91 Use a giant UBO to optimize performance in 2D
This removes the countless small UBO writes we had before
and replaces them with a single large write per render pass.

This results in much faster rendering on low-end devices
but improves speed on all devices.
2022-10-06 11:24:45 -07:00
Rémi Verschelde 0c23a2cfe3 Merge pull request #66977 from akien-mga/editor-fix-opening-source-code
Debugger: Fix fetching source to link C++ error on GitHub
2022-10-06 16:35:41 +02:00
Rémi Verschelde 6b0ab4d4af Merge pull request #66982 from groud/fix_tilemap_occluders_transform
Fix TileMap occluders having a wrong transform
2022-10-06 16:35:33 +02:00