Commit Graph

41146 Commits

Author SHA1 Message Date
Rémi Verschelde b25c7fef04
Merge pull request #57229 from cdemirer/match-dictionary-non-const-key-crash-fix 2022-01-25 22:36:16 +01:00
cdemirer 28ac4d8b7d Fix crash with non-constant keys in match statement Dictionary pattern 2022-01-26 04:10:07 +08:00
Rémi Verschelde d9fd16c8e4
Merge pull request #53954 from Chaosus/fix_quit_errors 2022-01-25 20:09:52 +01:00
Rémi Verschelde a6fce87d20
Merge pull request #57214 from kleonc/sprite_frames_editor_texture_type_fix 2022-01-25 19:47:54 +01:00
Yuri Roubinsky b82cb79c4e
Merge pull request #57207 from Chaosus/fix_global_uniforms 2022-01-25 21:36:02 +03:00
Rémi Verschelde ee7c555665
Merge pull request #57215 from Paulb23/placeholder-invis 2022-01-25 19:13:16 +01:00
Paulb23 e911eee21b Fix TextEdit placeholder not checking line count 2022-01-25 17:41:05 +00:00
kleonc 93a95ae84a SpriteFramesEditor Incorrect texture type fix 2022-01-25 18:39:26 +01:00
Michael Alexsander 73c225838f Make popup menus focus items automatically when not using the mouse 2022-01-25 13:51:56 -03:00
Yuri Roubinsky b01065b9a4 Prevent checking of global uniform type outside the editor 2022-01-25 19:22:37 +03:00
TechnoPorg 051ef479c9 Allow method binds to take Object subclasses as arguments
This commit adds a condition to VariantCaster that casts Variants of type OBJECT to any type T, if T is derived from Object.
This change enables a fair bit of code cleanup. First, the Variant implicit cast operators for Node and Control can be removed, which allows for some invalid includes to be removed. Second, helper methods in Tree whose sole purpose was to cast arguments to TreeItem * are no longer necessary.
A few small changes also had to be made to other files, due to the changes cascading down all the includes.
2022-01-25 09:03:36 -07:00
Rémi Verschelde 894e2fddda
Merge pull request #55841 from OverloadedOrama/expose-bitmap-methods 2022-01-25 16:54:26 +01:00
Rémi Verschelde fba4c6606d
Merge pull request #56891 from rafallus/meshlib_shapes_array 2022-01-25 16:53:41 +01:00
Rémi Verschelde 1a64485b97
Merge pull request #57187 from timothyqiu/leak-from-trash 2022-01-25 16:44:55 +01:00
bruvzg 57db989a97
[iOS] Fix iOS export with manually specified signing/provisioning data. 2022-01-25 17:13:03 +02:00
Rémi Verschelde 203e07aa39
Merge pull request #57190 from timothyqiu/ani-node-rename 2022-01-25 15:13:24 +01:00
Rémi Verschelde 7cbe1835f9
Merge pull request #57189 from bruvzg/fix_shortcut_context_unset 2022-01-25 14:44:30 +01:00
Haoyu Qiu 5ea4a8b421 Fix crash after renaming an animation node 2022-01-25 20:18:40 +08:00
bruvzg 306b98638e
Allow unsetting `shortcut_context`. 2022-01-25 14:17:45 +02:00
Haoyu Qiu 8be49838b3 Fix memory leak when move to trash fails on Linux 2022-01-25 18:38:13 +08:00
Haoyu Qiu a775744742 Store ObjectID instead of raw pointer for Shape Owners 2022-01-25 17:16:06 +08:00
Yuri Roubinsky 050f746e19 Fix theming update of shader editor 2022-01-25 12:10:07 +03:00
Rémi Verschelde 3102660512
Merge pull request #37945 from IllusiveS/master
Expose AnimationNodeOneShot::mix_mode as a property
2022-01-25 07:58:46 +01:00
Rémi Verschelde 855368547f
Merge pull request #57169 from akien-mga/tree-treeitem-control
doc: Clarify expected type of `Object *` parameters in Tree methods
2022-01-25 07:50:54 +01:00
Rémi Verschelde 1991eae992
Merge pull request #57168 from pfertyk/issue-57130-fix-generate-scene-if-state-is-null
Fix `GLTFDocument.generate_scene` crash with invalid state
2022-01-25 07:49:52 +01:00
Wysocki Patryk f16c483c9d
Expose AnimationNodeOneShot::mix_mode as a property
Fixes #23458.
2022-01-25 01:17:21 +01:00
Rémi Verschelde 81f2ce4e46
doc: Clarify expected type of `Object *` parameters in Tree methods
They're meant to be `TreeItem *` but this can't be bound in Variant.

Fixes #20538.
2022-01-25 00:54:28 +01:00
Paweł Fertyk 12d0ff1a4d Issue 57130 Fix GLTFDocument.generate_scene if state is null 2022-01-25 00:48:12 +01:00
Rémi Verschelde 30701e3966
Merge pull request #57155 from KoBeWi/drag_by_force 2022-01-24 23:16:31 +01:00
kobewi 342a31e326 Fix 2D Pan Tool 2022-01-24 22:21:19 +01:00
Rémi Verschelde 672363f295
Merge pull request #56888 from FreegleBarr/implement_gpuparticle_subemitters2d 2022-01-24 22:19:55 +01:00
Rémi Verschelde 33960b3b87
Merge pull request #55884 from preslavnpetrov/ctrl-enter-deleting-selection-fix-master 2022-01-24 21:33:14 +01:00
Rémi Verschelde 2255777fb9
Merge pull request #57144 from AnilBK/fix-pos-dragging 2022-01-24 21:32:38 +01:00
freeglebarr 6f88294528 ported particle sub-emission to 2D 2022-01-24 17:28:59 -03:00
Rémi Verschelde 37472fa2c0
Merge pull request #57133 from bruvzg/fix_multi_file_tr 2022-01-24 21:21:51 +01:00
Rémi Verschelde 5f8f6ae7f6
Merge pull request #57120 from KoBeWi/grandpa_issue 2022-01-24 21:03:48 +01:00
Anilforextra 80187b77a9 Node2D/Node3D: Fix Undraggable Position Property. 2022-01-25 00:52:11 +05:45
bruvzg 9456454109
Fix translation with multiple sources for the same language.
Remove unnecessary locale length checks.
Add "C" -> "en" locale remap.
2022-01-24 18:58:16 +02:00
Rémi Verschelde fc09d783f4
Merge pull request #57122 from Faless/net/4.x_http_request_leak 2022-01-24 17:01:08 +01:00
Rémi Verschelde 61b7962327
Merge pull request #57123 from JFonS/shadow_atlas_fixes 2022-01-24 17:00:56 +01:00
Rémi Verschelde 233699f9e7
Merge pull request #57103 from fabriceci/rename-free-mode-floating 2022-01-24 16:25:28 +01:00
jfons 238862bddb Minor fixes to shadow atlases:
* Erase shadow owner *before* setting it to RID().
* Add default texture in shadow atlas debug view to avoid error spam when no atlas is present.
* Fix typo.
2022-01-24 15:55:32 +01:00
bruvzg cba8280515 [Windows] Add support for handling network share paths. 2022-01-24 16:22:59 +02:00
fabriceci 856142a97d rename free mode to floating mode 2022-01-24 15:19:43 +01:00
Fabio Alessandrelli 17d4d3839e [Net] Fix HTTPRequest memory leak in compressed responses.
When accept_gzip = true.
2022-01-24 14:24:45 +01:00
kobewi d7f51dd2ec Better clarify map_to_world() description 2022-01-24 14:13:40 +01:00
Nathan Franke dc1c4cfbfa
Fix action exact match 2022-01-24 05:55:37 -06:00
Rémi Verschelde 6a3ff8fa1f
Merge pull request #57112 from mhilbrunner/docs-fixes-main 2022-01-24 12:03:04 +01:00
Rémi Verschelde e8789132b4
Merge pull request #57105 from rafallus/regression/3d_disabled 2022-01-24 11:41:15 +01:00
Max Hilbrunner 26da72eb4b Fix make_rst.py on Windows 2022-01-24 10:30:07 +01:00