Commit Graph

47968 Commits

Author SHA1 Message Date
Paulb23 7333aa68f4 Handle tab in TextEdit 2022-10-09 17:46:40 +01:00
Rémi Verschelde ca25c6e0a3 Merge pull request #67103 from Mickeon/i-forgor
Fix Array.`slice()` and `filter()` forgetting Typed Array
2022-10-09 18:31:35 +02:00
Rémi Verschelde 629fa413ab Merge pull request #67109 from TokageItLab/remove-clear-editors-in-bone-mapper
Remove unused func definition in BoneMapEditor
2022-10-09 18:29:18 +02:00
Rémi Verschelde 6f6482e82b Merge pull request #67083 from RedMser/label-font-warning
Add warning for missing characters in label font
2022-10-09 18:29:06 +02:00
Rémi Verschelde 432125aa54 Merge pull request #67084 from HolonProduction/svg_default_option
Show svg import options in default settings.
2022-10-09 18:28:15 +02:00
Rémi Verschelde 3a045a1744 Merge pull request #67074 from raulsntos/dotnet/symbols
C#: Generate symbols packages
2022-10-09 18:28:04 +02:00
Rémi Verschelde 7c1e15bfb9 Merge pull request #67076 from timothyqiu/hint-enum-suffix
Remove invalid suffix hint for enum property
2022-10-09 18:27:59 +02:00
Rémi Verschelde 49be2d2cf8 Merge pull request #66524 from microaeris/aeris/text-edit-get-scroll-bar
Getters for TextEdit scroll bars
2022-10-09 18:27:30 +02:00
Emmanuel Leblond 1bd3597362
Use enum type in GDExtension info structs for better readability 2022-10-09 17:07:13 +02:00
kobewi 785e5880b3 Fix simplify_path() breaking uid:// 2022-10-09 14:22:13 +02:00
kobewi a38891dfb3 Fallback to ResourceLoader if can't find UID 2022-10-09 13:06:15 +02:00
Micky bf64a068a4 Fix Array.`slice()` and `filter()` forgetting Typed Array 2022-10-09 12:34:19 +02:00
Micky 176187b11d Add Editor Setting for default name when connecting signal to self 2022-10-09 11:20:13 +02:00
Jummit 1e28675560 Expose TreeItem::set_button_color 2022-10-09 10:37:55 +02:00
Yuri Rubinsky 816600382e Fix incorrect offset for vec3 datatypes in `_fill_std140_ubo_empty` 2022-10-09 06:32:50 +03:00
Silc Renew a2a3f8cd0a Remove unused func definition in BoneMapEditor 2022-10-09 12:13:22 +09:00
Hugo Locurcio bab8497fa2
Add a project setting to make the root viewport transparent
This allows recording videos with a transparent background without
having to create a script.
2022-10-09 00:16:07 +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
RedMser 9579d49820 Add warning for missing characters in label font 2022-10-08 17:02:25 +02:00
HolonProduction e87c9fc48c Show svg import options in default settings.
Fixes: #63840

Importers can export options conditional based on the resource path.
If an empty path is passed (as by the editor settings) filtering should not be done.
2022-10-08 16:01:00 +02:00
Raul Santos fbea89d4f1
C#: Generate symbols packages 2022-10-08 13:59:06 +02: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
Haoyu Qiu 95c860c607 Remove invalid suffix hint for enum property 2022-10-08 19:24:54 +08: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
Anutrix a871114339 Randomize RandomNumberGenerator instances' default seed 2022-10-08 12:26:26 +05:30
microaeris 215fe852b8 Getters for TextEdit scrollbars 2022-10-07 23:16:04 -07:00
Haoyu Qiu 48e0688d8f Validate input in `ScriptServer::register_language` 2022-10-08 14:12:25 +08:00
Haoyu Qiu 5da515773d Add `is_finite` method for checking built-in types 2022-10-08 13:25:08 +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