Commit Graph

1004 Commits

Author SHA1 Message Date
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
82aaf6d586 Fix build. 2022-07-25 18:42:16 +02:00
Yuri Roubinsky
54b534c4a4 Add selection getter methods to LineEdit
Co-authored-by: Yuri Roubinsky <chaosus89@gmail.com>
2022-07-25 18:22:15 +02:00
Hugo Locurcio
08f0acd056 Hide Tonemap White property when tonemapper is Linear in Environment
The whitepoint property isn't used when the tonemapper is Linear.
2022-07-25 18:20:45 +02:00
Hugo Locurcio
371b5513d3 Allow size values as low as 0.001 in Camera's orthogonal/frustum mode
This allows for lower field of view (or higher zoom) in orthogonal
and frustum camera modes.

The property hint also allows setting the size with greater precision.
2022-07-25 18:19:48 +02:00
Haoyu Qiu
a9b108ca47 Rename NavigationServer's free method to free_rid 2022-07-25 18:19:06 +02:00
Haoyu Qiu
8eb81855d9 Disable "Open in Inspector" when there is no animation 2022-07-25 18:18:44 +02:00
C.Even
b3761f4973 Retrieve primary monitor size in fullscreen mode
* Fixes #21674
2022-07-25 18:16:31 +02:00
Haoyu Qiu
c0010ad0f1 Focus filter LineEdit after Theme Type dialog popup 2022-07-25 18:15:49 +02:00
Haoyu Qiu
bf8cbda6f6 Add missing period in classref of 3D render layer 2022-07-25 18:14:21 +02:00
Markus Sauermann
e1a8b0befe Fix event transform in ViewportContainer 2022-07-25 18:13:25 +02:00
Haoyu Qiu
9e0a1c88a0 Add missing CheckBox & CheckButton editor icons
Co-authored-by: Silc 'Tokage' Renew <tokage.it.lab@gmail.com>
Co-authored-by: Yuri Sizov <yuris@humnom.net>
2022-07-25 18:12:28 +02:00
Ricardo Buring
156fd78792 NavigationObstacle2D: estimate agent radius only when configured to do so 2022-07-25 18:11:52 +02:00
Pawel Lampe
eb8cf74074 Fix debug navmesh errors, fixes #59845 2022-07-25 18:11:28 +02:00
keptsecret
9ddf25e7ba fix unable to change directory in user access mode 2022-07-25 18:10:57 +02:00