Commit Graph

1068 Commits

Author SHA1 Message Date
KingCakeTheFruity
be66ed9679 Added p_shape check to avoid engine crush
(cherry picked from commit 29a2809d2120bc740f948e4134e839557e689724)
2022-07-26 14:58:57 +02:00
kleonc
4c27d02012 NavMap::get_path Fix not resetting least_cost_id 2022-07-26 12:56:54 +02:00
58b8271bf4 Ported: Fixed #59985 leading spaces autowrap boundary problem
Bug problem:
No condition for when the first character of the label is a space character
Fix:
Added an IF condition for when the first character is a space character
The autowrap boundary treat this space character as another dummy word in the WordCache linked list and proceed to function normally, by detecting when line width is 0
- ZheisterCoding
c0513268bd
2022-07-26 12:56:16 +02:00
2b6b95db1f Fix compile. 2022-07-26 12:55:53 +02:00
Haoyu Qiu
56fed34913 Fix undo history for function name autocompletion 2022-07-26 12:46:13 +02:00
Haoyu Qiu
6191e0f0b8 Add option to paste animation as duplicate
Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>
2022-07-26 12:45:49 +02:00
Oğuzhan Eroğlu
95e6e47f88 Added set_extra_headers() to WebSocketServer
(cherry picked from commit fd4341fba46b8e78eea2e7efeae74038f7f55c4b)
2022-07-26 12:43:31 +02:00
Markus Sauermann
963e5a12b1 Add a note about collisions in different canvases.
(cherry picked from commit b9c91d620e829f2f4cea8037492ed6939e4aad87)
2022-07-26 12:43:04 +02:00
a25fb35179 Ported: Improves EditorInspector documentation - timothyqiu
6598eb9547
2022-07-26 12:40:35 +02:00
Eric McGuirk
55ed3e573e Fix toggling GraphEdit's minimap with minimap_enabled
Fixes #53831.

(cherry picked from commit b1441bbcfce23a2a8dfd95779e3de4f20053e65c)
2022-07-26 12:37:32 +02:00
kobewi
0da6b17950 Fix GraphEdit's valid connections being reversed
(cherry picked from commit b29aff8dac9bf342e45e6b6332b5efa13af9fa26)
2022-07-26 12:37:15 +02:00
Haoyu Qiu
0658cad124 Localize unnamed project name in editor window title
(cherry picked from commit 35d087813981d05a699221f6bc7e5c72fc55c665)
2022-07-26 12:36:44 +02:00
Ryan Roden-Corrent
794c54a386 Clarify Array.erase for nonexistant element.
The docs specify that Array.remove does nothing if the index does not
exist. Array.erase does not have a similar phrase, so it's unclear if
erase will print an error, or silently do nothing.

(cherry picked from commit f84e2db35e2f6eceb4f8c3a1e8e9de7adf6f4c30)
2022-07-26 12:36:19 +02:00
Haoyu Qiu
2aefcf5585 Consider chained operation when selecting text in TextEdit::undo()
(cherry picked from commit 8cefbfcf432ef6ed3879ee60bf500b52149f3e01)
2022-07-26 12:35:47 +02:00
Jason Yundt
983eec5521 Improve autoload inheritance error message
Autoloaded scripts should always inherit from Node. When you run a
project that tries to autoload a script which doesn’t inherit from Node,
then Godot gives an error.

Before this change, the error said “Script does not inherit a Node”.
That error message is a little bit misleading. If a class inherits a
Node, then one of its superclasses has a Node. If a class inherits
_from_ Node, then one of its superclasses is Node. This change corrects
that mistake.

Fixes #59884.

(cherry picked from commit 1cc7e7ec33a652647d63cb32fa164eceef87c653)
2022-07-26 12:34:50 +02:00
kobewi
e34661999f Mention how to add dragging for SpinBox's LineEdit
(cherry picked from commit c8de26530727afb4b60f15b412f1f9a7f2fcb104)
2022-07-26 12:34:03 +02:00
634345f152 Ported: Remove duplicate resizable settings - m4gr3d
a3b445d7e8
2022-07-26 12:33:36 +02:00
d14f7d0134 Ported: Update resize settings:
- Unlock resizing for the Godot Editor
- Add an option to specify whether a game is resizeable for the Godot template
- m4gr3d
4ff726b933
2022-07-26 12:25:24 +02:00
e63464d675 Commit missing change. 2022-07-26 12:24:59 +02:00
kobewi
3bb0c714bb Fix TouchScreenButton error spam
(cherry picked from commit db19cc60fb1aed98c54fb2722f525a624d56b17e)
2022-07-26 12:14:49 +02:00
nova++
ca55e41fe8 Fixing some of my own typos...
(and a little improvement to wording that was bugging me)

(cherry picked from commit 05718796db20145fcc712c7a826e8043e5177905)
2022-07-26 12:14:21 +02:00
79f97a1dfc Ported: zlib/minizip: Update to version 1.2.12
Security update, fixes CVE-2018-25032 in zlib.
Preliminary assessment doesn't show Godot as affected since we don't
seem to call `deflate` with the problematic parameters, but the extent
of the vulnerability is not fully clear upstream yet.
- akien-mga
e1beca0232
2022-07-26 12:12:33 +02:00
Haoyu Qiu
5dc677822d Clip animation track keyframe rects
(cherry picked from commit c7e06e2202c97dbd75933fe1b587d668a717c5f2)
2022-07-26 11:51:46 +02:00
kobewi
5467eddae8 Add optional 'default' argument to get_meta()
(cherry picked from commit 3eb7fc4bfd376bc27ea3313ccd1da4679c48f4cb)
2022-07-26 11:50:20 +02:00
Lyuma
3554a0aa81 Keep editor at normal priority on windows.
The multithreaded importer often causes system-wide hangs when importing more than 20 files at a time.
Running the editor at normal priority allows other applications on the system to be responsive during long imports.

(cherry picked from commit ee02a7f785b672304346028bc500949050432fa5)
2022-07-26 11:49:59 +02:00
8275f6b161 Ported: Add missing argument names in bindings - akien-mga
21c3048397
2022-07-25 23:51:34 +02:00
9d9a394af6 Ported: Add an explicit way to remove a theme type. - timothyqiu and YuriSizov
f6251724af
2022-07-25 23:46:08 +02:00
48366a8490 Ported: Refactor editor extract.py - timothyqiu
545e2ceb8a
2022-07-25 23:04:53 +02:00
35eabcb846 Ported: Fix navmesh baking, fixes #57148
- improved mesh data calculation from standalone static colliders so that no
  VisualServer calls are performed - and thus no VS mutexes need to
  be locked in case of on-thread baking
- improved the same for GridMap's static colliders
- Scony
3035b9c44c
2022-07-25 22:57:51 +02:00
7747a3e85a Ported: Free region RID when cleaning NavPoly in TileMap - timothyqiu
5c039ccc72
2022-07-25 22:34:05 +02:00
ef7f5a8c43 Fix an another error. 2022-07-25 22:30:16 +02:00
08ee0b9406 Fix android build. 2022-07-25 22:26:55 +02:00
79c193aabb Ported: Improve Select Frames dialog of SpriteFrames editor. - timothyqiu
32488b46a6
2022-07-25 22:25:18 +02:00
15b447d880 Ported: Update the editor display scale based on the device's scaled density - m4gr3d
3ba0508f79
2022-07-25 22:07:34 +02:00
220b7e99be Ported: [3.x] Add deselect() to RichTextLabel - ConteZero
5e714051ea
2022-07-25 22:01:26 +02:00
d1ddbecc54 Ported: [3.x] Expose get_selected_text in RichTextLabel - ConteZero
820728aa52
2022-07-25 21:53:36 +02:00
3521bbc9f5 Added todos. 2022-07-25 21:51:26 +02:00
a43091d427 Ported: Add drag and drop to TextEdit, LineEdit, RichTextLabel - ConteZero
4167e98088
2022-07-25 20:32:14 +02:00
c8adff0f99 Ported:
Fix Right-Click clearing selection - ConteZero
57b616fb21
2022-07-25 19:55:26 +02:00
d85caf2c71 Ported:
[3.x] Add option to make selection unique - ConteZero
0ffacff998
2022-07-25 19:46:09 +02:00
491662250f Ported:
[macOS, 3.x] Fix OpenGL color space on HDR displays.  - bruvzg
1f51bae294
2022-07-25 19:15:11 +02:00
9017b5bf26 Ported:
Restore hidden folder behavior for project manager - Ev1lbl0w
5f05cb8696
2022-07-25 19:11:45 +02:00
335d98afcd Ported:
Add missing newlines to the generated default_env.tres in new projects. This prevents unnecessary whitespace changes in VCS diffs when saving a scene for the first time in a new project. - Calinou
053b54b67c
2022-07-25 19:05:27 +02:00
e8f8904e56 Ported:
Use 3001 instead of 1001 when destroying a websocket. -  jasonwinterpixel
1f080e203d
2022-07-25 19:00:33 +02:00
a4e1126d45 Re-format file. 2022-07-25 18:59:57 +02:00
8198a3eafe Ported:
Set StartupWMClass in linux .desktop file. this allows linux app launchers and docks to correctly associate the godot project selector & editor windows with the icon used to launch godot.
it prevents this problem specifically: https://askubuntu.com/questions/1144214/why-does-my-custom-launcher-file-create-two-icons-on-the-launcher-bar . - backwardspy
0118a95976
2022-07-25 18:58:45 +02:00
eb99e955d9 Ported:
Update SceneTree debug colors when settings changed - timothyqiu
37d4306c2e
2022-07-25 18:55:29 +02:00
Bartłomiej T. Listwon
ac5e352088 Remove get_data() from CowData 2022-07-25 18:49:24 +02:00
Ev1lbl0w
5dbc95691c Hide .gdignore'd folders
(cherry picked from commit 057a0e00ebb3a7cbfd5692363c9d219156f0373c)
2022-07-25 18:48:54 +02:00
Haoyu Qiu
168b1c2ae5 Fix popup dialog UI in AnimationTreePlayer editor 2022-07-25 18:48:32 +02:00