Commit Graph

43102 Commits

Author SHA1 Message Date
reduz
de0ca3b999 Refactor module initialization
* Changed to use the same stages as extensions.
* Makes the initialization more coherent, helping solve problems due to lack of stages.
* Makes it easier to port between module and extension.
* removed the DRIVER initialization level (no longer needed).
2022-05-04 17:34:51 +02:00
Rémi Verschelde
0a9d31a7eb
Merge pull request #60722 from akien-mga/scons-disable-Werror-return-type
SCons: Don't enable any `-Werror=return-type` outside `werror=yes`
2022-05-03 11:38:06 +02:00
Rémi Verschelde
3614492dd3
Merge pull request #60644 from PureAsbestos/master 2022-05-03 11:37:15 +02:00
Rémi Verschelde
e55d30768a SCons: Don't enable any -Werror=return-type outside werror=yes
We shouldn't presume that future compilers will not have false positives or
find new occurrences of this warning, which would break compiling old versions
of the engine without passing custom `CXXFLAGS`.

Follow-up to #60652.
2022-05-03 11:30:24 +02:00
Rémi Verschelde
bf8da10651
Merge pull request #60663 from Geometror/fix-fnlite-gcc-warning 2022-05-03 11:21:20 +02:00
Rémi Verschelde
262018df1e
Merge pull request #60689 from trollodel/use_collisionobject3d_in_navmeshgen 2022-05-03 11:21:08 +02:00
Rémi Verschelde
3894b08d0d
Merge pull request #60553 from madmiraal/separate-display_safe_area 2022-05-03 11:20:46 +02:00
Rémi Verschelde
f75afaa085
Merge pull request #58777 from Sauermann/fix-capsulemesh-tangent
Reverse tangents of capsule mesh
2022-05-03 08:18:48 +02:00
Rémi Verschelde
c9ce4069a3
Merge pull request #60601 from touilleMan/gdextension_get_library_path
Add GDNativeInterface::get_library_path to GDExtension
2022-05-03 08:13:34 +02:00
Fabio Alessandrelli
0275d60c1b
Merge pull request #60444 from snailrhymer/expand-websocketclient-error-messages
Add detail to some error messages in wsl_client
2022-05-03 06:07:09 +02:00
Rémi Verschelde
8762286110
Merge pull request #60713 from KoBeWi/packed_resource
Fix tscn not listed as Resource extension
2022-05-03 00:03:30 +02:00
kobewi
e3511dd9d7 Fix tscn not listed as Resource extension 2022-05-02 23:21:15 +02:00
Rémi Verschelde
7f181494d1
Merge pull request #60705 from awsker/fix-viewport-clearing
Viewport would be cleared even when clear_mode was set to never clear
2022-05-02 21:25:42 +02:00
Rémi Verschelde
78193788d0
Merge pull request #59895 from akien-mga/clang-tidy 2022-05-02 17:45:13 +02:00
Rémi Verschelde
652650c10c
Merge pull request #60674 from MightiestGoat/master 2022-05-02 17:36:39 +02:00
Rémi Verschelde
c273ddc3ee Style: Partially apply clang-tidy's cppcoreguidelines-pro-type-member-init
Didn't commit all the changes where it wants to initialize a struct
with `{}`. Should be reviewed in a separate PR.

Option `IgnoreArrays` enabled for now to be conservative, can be
disabled to see if it proposes more useful changes.

Also fixed manually a handful of other missing initializations / moved
some from constructors.
2022-05-02 16:28:25 +02:00
Rémi Verschelde
647a202513
Merge pull request #60709 from bruvzg/fix_txt_res_dep_rename 2022-05-02 16:18:17 +02:00
mightygoat
436ef26e18 Fix mesh preview cleanup in the Scene import settings 2022-05-02 19:16:41 +05:30
bruvzg
7b18c35ab2 Fix resource dependence renaming. 2022-05-02 16:38:09 +03:00
Rémi Verschelde
dd06cb90c5
Merge pull request #60707 from KoBeWi/copid 2022-05-02 12:42:52 +02:00
kobewi
7f183d0361 Add Copy UID option to filesystem dock 2022-05-02 11:51:23 +02:00
awsker
9522419e97 Viewport would be cleared even when clear_mode was set to VIEWPORT_CLEAR_NEVER 2022-05-02 11:03:39 +02:00
Rémi Verschelde
5c52b30471
Merge pull request #60529 from timothyqiu/theme-validation 2022-05-02 10:49:14 +02:00
Rémi Verschelde
d56462d82a
Merge pull request #60638 from m4gr3d/support_hand_tracking_v2_main 2022-05-02 09:51:21 +02:00
Marcel Admiraal
97e87a2daf Fix screen_get_usable_rect returning display safe area 2022-05-02 09:31:32 +02:00
trollodel
72c37c4bcd Use CollisionObject3D API when baking the navmesh with static colliders, instead of collecting CollisionShape3D nodes 2022-05-02 08:41:33 +02:00
Rémi Verschelde
bc7ccc909b
Merge pull request #60551 from madmiraal/implement-3466
Add a method for obtaining display cutouts on Android
2022-05-02 07:56:41 +02:00
Rémi Verschelde
ce4326df76
Merge pull request #60693 from KoBeWi/random_programming
Change Place Random Tiles to an icon
2022-05-01 22:53:54 +02:00
kobewi
142d0e7d75 Change Place Random Tiles to an icon 2022-05-01 22:13:30 +02:00
Rémi Verschelde
4c2a614ad4
Merge pull request #60678 from timothyqiu/left-fmt
Fix left aligned integer sign in string formatting
2022-05-01 14:20:14 +02:00
Rémi Verschelde
4e06ce7840
Merge pull request #60655 from smix8/navigation_region_rid_4.x
Add get_region_rid() to NavigationRegion2D and NavigationRegion3D
2022-05-01 14:17:40 +02:00
Rémi Verschelde
951f1a707b
Merge pull request #60683 from timothyqiu/why-the-long-face
Keep logo aspect ratio in About dialog
2022-05-01 12:00:07 +02:00
Rémi Verschelde
92530f634f
Merge pull request #60681 from timothyqiu/noise-check
Validate image size for `Noise` get image methods
2022-05-01 10:25:51 +02:00
Yuri Rubinsky
c25c837f21
Merge pull request #60682 from Chaosus/shader_vec3_hint_color 2022-05-01 11:23:42 +03:00
Haoyu Qiu
c2a974f045 Keep logo aspect ratio in About dialog 2022-05-01 15:57:00 +08:00
Haoyu Qiu
3012b76ec5 Validate image size for Noise get image methods 2022-05-01 15:53:27 +08:00
Rémi Verschelde
5359eb57d4
Merge pull request #60677 from clayjohn/tonemap-bug
Use linear mipmap sampling in ToneMapper
2022-05-01 09:45:06 +02:00
Yuri Roubinsky
5eb3a0ef4a Add hint_color support for vec3 in shaders 2022-05-01 09:47:35 +03:00
Haoyu Qiu
ad1a8777bd Fix left aligned integer sign in string formatting 2022-05-01 12:42:48 +08:00
clayjohn
623753a3a2 Use linear mipmap sampling in ToneMapper 2022-04-30 21:30:08 -07:00
Rémi Verschelde
4a9e8b560a
Merge pull request #60671 from KoBeWi/infiniten't
Improve Tween infinite loop detection
2022-05-01 01:21:59 +02:00
kobewi
f473aab00d Improve Tween infinite loop detection 2022-05-01 00:24:07 +02:00
Rémi Verschelde
db29d7753b
Merge pull request #60556 from KoBeWi/D_METHOD1,D_METHOD2,D_METHOD3,D_METHOD4,D_METHOD5,D_METHOD6,D_METHOD7,D_METHOD8,D_METHOD9,D_METHOD10 2022-04-30 18:51:30 +02:00
kobewi
6f0b63f794 Change D_METHOD to variadic template 2022-04-30 17:30:33 +02:00
Hendrik Brucker
e41e2a1103 Fix GCC warning with -Waggressive-loop-optimizations due to overflow 2022-04-30 16:43:16 +02:00
Rémi Verschelde
122fa74f6c
Merge pull request #60650 from bruvzg/lbl_n_spr_z_order 2022-04-30 16:32:32 +02:00
Rémi Verschelde
722e2d3526
Merge pull request #60654 from KoBeWi/errable 2022-04-30 14:14:56 +02:00
bruvzg
0a0e94d996
Expose Label3D and Sprite*3D material render priority properties. 2022-04-30 15:09:30 +03:00
kobewi
7f0bc91844 Simplify Callable error text methods 2022-04-30 13:42:26 +02:00
Rémi Verschelde
e2b3d393f3
Merge pull request #60652 from akien-mga/scons-gcc12-disable-Wreturn-type 2022-04-30 13:38:38 +02:00