Commit Graph

43200 Commits

Author SHA1 Message Date
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
smix8 05d06b8957 Add get_region_rid() NavigationRegion2D and NavigationRegion3D
Add get_region_rid() to NavigationRegion2D and NavigationRegion3D
2022-04-30 13:27:30 +02:00
Rémi Verschelde f131ec336b
Merge pull request #60614 from timothyqiu/lerp-angle-doc 2022-04-30 13:25:04 +02:00
Haoyu Qiu 492903a0b2 Document lerp_angle behavior when angles are approximately PI apart 2022-04-30 19:02:21 +08:00
Rémi Verschelde 01f8f17b67 SCons: Disable `-Werror=return-type` for GCC 12+ due to regression
Works around and thus closes #58747.
Supersedes #60613.
2022-04-30 12:07:04 +02:00
Rémi Verschelde e619e0e4d4
Merge pull request #59419 from Calinou/doc-basematerial3d-detail 2022-04-30 10:49:36 +02:00
PureAsbestos a89b3f872d Change 'throws an error' to 'prints an error' in classref 2022-04-29 19:20:46 -05:00
Rémi Verschelde 9b2ba9b8bb
Merge pull request #60642 from KoBeWi/‼️
Fix wrong condition checking for foreign resources
2022-04-30 00:45:13 +02:00
kobewi fd490c95a5 Fix wrong condition checking for foreign resources 2022-04-30 00:12:22 +02:00
Rémi Verschelde 7d999b7507
Merge pull request #59411 from Calinou/doc-tonemap
Improve documentation for tonemapping operators
2022-04-29 23:14:29 +02:00
Hugo Locurcio 91f9a48ada
Merge pull request #59418 from Calinou/doc-environment 2022-04-29 21:50:08 +02:00
Rémi Verschelde 0e98dbb19c
Merge pull request #60070 from Calinou/proceduralskymaterial-add-dithering
Add dithering to ProceduralSkyMaterial to combat banding
2022-04-29 20:28:11 +02:00
Rémi Verschelde 63addc3286
Merge pull request #60628 from KoBeWi/first_among_us 2022-04-29 18:03:19 +02:00
kobewi 8187a777ce Small improvements to get_first_node_in_group() 2022-04-29 16:14:48 +02:00
Rémi Verschelde a817bd96c0
Merge pull request #59297 from fabriceci/fix-jitter-2D-slight-slope 2022-04-29 15:33:45 +02:00