Commit graph

33093 commits

Author SHA1 Message Date
Jason Yundt
6ca73386d1 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 1cc7e7ec33)
2022-04-13 11:43:49 +02:00
kobewi
427480aa35 Mention how to add dragging for SpinBox's LineEdit
(cherry picked from commit c8de265307)
2022-04-13 11:43:49 +02:00
Fredia Huya-Kouadio
a3b445d7e8 Remove duplicate resizable settings
(cherry picked from commit f1a7caf9bb)
2022-04-13 11:43:49 +02:00
Fredia Huya-Kouadio
4ff726b933 Update resize settings:
- Unlock resizing for the Godot Editor
- Add an option to specify whether a game is resizeable for the Godot template

(cherry picked from commit 3f299e9255)
2022-04-13 11:43:49 +02:00
kobewi
73248ccf89 Fix TouchScreenButton error spam
(cherry picked from commit db19cc60fb)
2022-04-13 11:43:49 +02:00
nova++
8235005c99 Fixing some of my own typos...
(and a little improvement to wording that was bugging me)

(cherry picked from commit 05718796db)
2022-04-13 11:43:49 +02:00
Rémi Verschelde
e1beca0232 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.

(cherry picked from commit 420d0d50bc)
2022-04-13 11:43:49 +02:00
Rémi Verschelde
e17967a7c2 Cleanup and reorder .gitignore
Group things better in categories, and remove a ton of VS junk.
Some of it might still be needed and could need to be re-added.

(cherry picked from commits 1f1edaa1b5
and b0df742cbe)
2022-04-13 11:43:49 +02:00
Haoyu Qiu
722d28adeb Clip animation track keyframe rects
(cherry picked from commit c7e06e2202)
2022-04-13 11:43:49 +02:00
FireForge
423ca42a9b Capitalize names in the debugger
(cherry picked from commit efd9b8bc29)
2022-04-13 11:43:49 +02:00
kobewi
e86a64a2a5 Add optional 'default' argument to get_meta()
(cherry picked from commit 3eb7fc4bfd)
2022-04-13 11:43:49 +02:00
Lyuma
f28309aa86 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 ee02a7f785)
2022-04-13 11:43:48 +02:00
Ev1lbl0w
5f05cb8696 Restore hidden folder behavior for project manager
(cherry picked from commit 38fed916e7)
2022-04-13 11:43:48 +02:00
Ev1lbl0w
a5e58f102d Hide .gdignore'd folders
(cherry picked from commit 057a0e00eb)
2022-04-13 10:53:56 +02:00
Rémi Verschelde
40c7fcecc1
Merge pull request #60197 from bruvzg/opengl_srgb 2022-04-13 10:41:53 +02:00
bruvzg
1f51bae294
[macOS, 3.x] Fix OpenGL color space on HDR displays. 2022-04-13 10:34:09 +03:00
Rémi Verschelde
229a8218da
Merge pull request #60021 from timothyqiu/tilemap-nav-region
[3.x] Free region RID when cleaning NavPoly in `TileMap`
2022-04-13 08:56:40 +02:00
Rémi Verschelde
8855d73e12
Merge pull request #60018 from timothyqiu/nav-server-free-3.x
[3.x] Rename `NavigationServer`'s `free` method to `free_rid`
2022-04-13 08:33:51 +02:00
Rémi Verschelde
7efe238069
Merge pull request #60176 from madmiraal/backport-53000-3.x
[3.x] Add selection getter methods to `LineEdit`
2022-04-12 23:10:09 +02:00
Rémi Verschelde
e5abfc8679
Merge pull request #60048 from timothyqiu/input-drag 2022-04-12 21:04:02 +02:00
Rémi Verschelde
d65ec1f211
Merge pull request #60049 from timothyqiu/vs-filter-scroll 2022-04-12 21:03:28 +02:00
Rémi Verschelde
dc8bade154
Merge pull request #60181 from Calinou/viewport-properties-gles2-gles3-only 2022-04-12 19:15:04 +02:00
Hugo Locurcio
cd1432eb12
Hide Viewport properties not applicable to the current rendering backend
This also adds a missing property range hint for the Sharpen Intensity
property (similar to the project setting).
2022-04-12 18:11:45 +02:00
Rémi Verschelde
808f315325
Merge pull request #60058 from timothyqiu/select-frames-3.x 2022-04-12 14:43:54 +02:00
Yuri Roubinsky
e54a4646c7 Add selection getter methods to LineEdit
Co-authored-by: Yuri Roubinsky <chaosus89@gmail.com>
2022-04-12 14:31:51 +02:00
Rémi Verschelde
8f4f384131
Merge pull request #60010 from timothyqiu/disable-item-3.x
[3.x] Disable "Open in Inspector" when there is no animation
2022-04-12 08:39:14 +02:00
Rémi Verschelde
36dbcae2c7
Merge pull request #59994 from dsnopek/webxr-standard-mapping 2022-04-11 20:57:30 +02:00
Rémi Verschelde
b3d78b699c
Merge pull request #60121 from Calinou/environment-editor-tonemap-linear-hide-3.x
Hide Tonemap White property when tonemapper is Linear in Environment
2022-04-11 20:32:52 +02:00
Rémi Verschelde
aac7b5d1d1
Merge pull request #59886 from theoway/fix_vseditor_var/sig_node_rename 2022-04-11 17:54:12 +02:00
Rémi Verschelde
38cfdb084b
Merge pull request #60117 from rburing/bullet_area_get_space_nocrash_3.x 2022-04-11 14:36:45 +02:00
Umang Kalra
931bc4592a Fixes variable node not showing updated name in visualscript editor 2022-04-11 17:38:05 +05:30
Hugo Locurcio
b9dd0180eb
Hide Tonemap White property when tonemapper is Linear in Environment
The whitepoint property isn't used when the tonemapper is Linear.
2022-04-10 23:50:14 +02:00
Ricardo Buring
79317f9cb1 BulletPhysicsServer::area_get_space: null check
This is now the same as e.g. body_get_space.
2022-04-10 23:00:50 +02:00
Haoyu Qiu
32488b46a6 Improve Select Frames dialog of SpriteFrames editor 2022-04-09 17:30:06 +08:00
Haoyu Qiu
7c80d03669 Scroll to selected item when filtering VisualScript nodes 2022-04-09 10:14:09 +08:00
Haoyu Qiu
af8d85a15e Fix crash when dragging from Input Map to VisualScript editor 2022-04-09 09:11:56 +08:00
Rémi Verschelde
33500a1529
Merge pull request #59982 from fountainment/3.x
[3.x] Retrieve primary monitor size in fullscreen mode
2022-04-09 01:29:23 +02:00
David Snopek
2a6199aa0f Add WebXRInterface.xr_standard_mapping flag to attempt to convert button/axis ids to match other AR/VR interfaces 2022-04-08 10:46:38 -05:00
Haoyu Qiu
5c039ccc72 Free region RID when cleaning NavPoly in TileMap 2022-04-08 19:19:09 +08:00
Haoyu Qiu
f24312380f Rename NavigationServer's free method to free_rid 2022-04-08 17:31:04 +08:00
Haoyu Qiu
f0908df8b9 Disable "Open in Inspector" when there is no animation 2022-04-08 10:20:33 +08:00
Rémi Verschelde
14856b1dbd
Merge pull request #59977 from timothyqiu/type-filter-focus 2022-04-07 13:13:17 +02:00
C.Even
cfe0991b20 Retrieve primary monitor size in fullscreen mode
* Fixes #21674
2022-04-07 18:51:16 +08:00
Haoyu Qiu
f196532de6 Focus filter LineEdit after Theme Type dialog popup 2022-04-07 17:14:53 +08:00
Rémi Verschelde
6d9cbcb05f
Merge pull request #59926 from ConteZero/expose_get_selected_text
[3.x] Expose get_selected_text() in RichTextLabel
2022-04-06 08:27:06 +02:00
ConteZero
820728aa52 [3.x] Expose get_selected_text in RichTextLabel 2022-04-05 22:38:10 +02:00
Rémi Verschelde
cfdb99a741
Merge pull request #57411 from Scony/fix-threaded-navmesh-baking-3.x
Fix navmesh baking
2022-04-05 19:59:32 +02:00
Rémi Verschelde
a4bbc87acc
Merge pull request #59900 from timothyqiu/remove-theme-type
[3.x] Add an explicit way to remove a theme type
2022-04-05 08:29:17 +02:00
Rémi Verschelde
781ffb813e
Merge pull request #59898 from timothyqiu/missing-period
[3.x] Add missing period in classref of 3D render layer
2022-04-05 08:27:07 +02:00
Haoyu Qiu
f6251724af Add an explicit way to remove a theme type
Co-Authored-by: Yuri Sizov <yuris@humnom.net>
2022-04-05 11:51:15 +08:00