Commit Graph

33465 Commits

Author SHA1 Message Date
bruvzg 2d3f5855c6 [Windows] Save and re-apply window icon when changing window style.
(cherry picked from commit b268c4b4bc)
2022-05-16 16:42:25 +02:00
Rémi Verschelde b66f94d2ff CI: Update Emscripten to 3.1.10
That's the version that we'll (tentatively) use for future 3.x and 4.0
builds.

(cherry picked from commit f07021fbeb)
2022-05-16 16:38:50 +02:00
Rémi Verschelde 5e693b6d84 Fix warnings found by Emscripten 3.1.10
Fix `-Wunused-but-set-variable`, `-Wunqualified-std-cast-call`, and
`-Wliteral-range` warnings.

(cherry picked from commit d8935b27a9)
2022-05-16 16:38:26 +02:00
kobewi bdbbc78da4 Mention that Area2D doesn't support one_way_collision
(cherry picked from commit c836bdf5b1)
2022-05-16 16:27:51 +02:00
kleonc 06b7f218c6 AnimationTrackEditor Fix signal connection on root exiting the tree
(cherry picked from commit 2ede2bac0b)
2022-05-16 16:00:03 +02:00
kobewi 5fa7ed7686 Rescue orphan nodes in inherited scenes
(cherry picked from commit 2b53826ee6)
2022-05-16 15:59:55 +02:00
Emmanouil Papadeas 9350256eff Add Greek translation for Linux desktop file
Follow-up to #60777 and #60800.

(cherry picked from commit ab444469f0)
2022-05-16 15:59:12 +02:00
Hugo Locurcio 6b7815ea74 Add French translation for Linux desktop file
(cherry picked from commit 2212afd794)
2022-05-16 15:59:00 +02:00
Nicholas Huelin 5cedb395dc Fix inconsistent naming in Time
(cherry picked from commit 8409d92282)
2022-05-16 15:58:36 +02:00
kobewi 93482809e5 Fix error spam when tweened node leaves tree
(cherry picked from commit 45e4cb2bbf)
2022-05-16 15:57:41 +02:00
Mario Liebisch 4cfe174263 Increase line counter when parsing comments
(cherry picked from commit bf708e72dc)
2022-05-16 15:56:47 +02:00
Rémi Verschelde ddc14b6bbc
Merge pull request #61075 from timoschwarzer/fix-ios-vibration-duration-3.x 2022-05-16 10:45:51 +02:00
Timo Schwarzer 8b55b80056
Fix vibration duration on iOS
Fixes #61063
2022-05-16 10:33:41 +02:00
Hugo Locurcio 3762b40de7
Merge pull request #54585 from Kinwailo/fix_viewport_transparent_bg
Fix viewport with transparent bg changed to solid black if enable fxaa or debanding.
2022-05-16 08:28:36 +02:00
Haoyu Qiu 58650af062 Make auto_accept_quit and quit_on_go_back properties 2022-05-14 18:24:43 +08:00
Haoyu Qiu 4c70c5b0cd Swap the meaning of CURSOR_WAIT and CURSOR_BUSY 2022-05-14 10:24:25 +08:00
Rémi Verschelde 4fabc2b6a4
Merge pull request #60982 from fire-forge/gradient-mode-3.x
[3.x] Add interpolation modes to Gradient
2022-05-13 08:50:23 +02:00
FireForge f17c5fa7bd Add interpolation modes to Gradient
- Linear, Constant, and Cubic interpolation modes
- Partial backport of #53321
2022-05-12 14:24:04 -05:00
Kinwailo b1a50ad805 fix post procressing with transparent bg and keep alpha channel of the tonemap shader output 2022-05-12 16:32:31 +08:00
Hugo Locurcio 069c955af7
Use a floating-point number for the `timeout` property in HTTPRequest
This allows for greater precision when specifying a timeout in
HTTPRequest in `3.x`, similar to what is already possible in `master`.
2022-05-11 08:41:40 +02:00
Rémi Verschelde 288370609c
Merge pull request #60856 from timothyqiu/pool-array-find 2022-05-10 13:40:00 +02:00
Rémi Verschelde e609a56803
Merge pull request #60918 from lawnjelly/fti_reset_warnings 2022-05-10 12:39:37 +02:00
lawnjelly a4c0e2ecce Physics Interpolation - add warnings to RESET_PHYSICS_INTERPOLATION
Adds warnings when NOTIFICATION_RESET_PHYSICS_INTERPOLATION is called and has no effect due to the node being hidden or not interpolated.
2022-05-10 11:17:58 +01:00
Rémi Verschelde 6e07417abb
Merge pull request #60804 from RedHeadphone/patch-1 2022-05-10 11:01:45 +02:00
Red Headphone a0acb41379 fix: no quit confirmation on project reload if files are saved 2022-05-10 14:02:55 +05:30
Rémi Verschelde 2f21644230
Merge pull request #60915 from lawnjelly/fti_optimize_hidden 2022-05-10 10:24:56 +02:00
lawnjelly ec9a17cfad Physics Interpolation - optimize hidden nodes
In order to prevent glitches when unhiding nodes, set_transform() is still called to the VisualServer even for hidden nodes when the node is interpolated. This activates a lot of logic which is not necessary just to keep the previous transform updated.

This PR adds an early out which misses out on the unnecessary logic when instances are invisible.
2022-05-10 08:59:34 +01:00
Rémi Verschelde 16abb7f471
Merge pull request #60858 from lawnjelly/fti_add_mode_property
Physics Interpolation - add interpolation mode property to node
2022-05-10 08:42:41 +02:00
Rémi Verschelde d9150483ef
Merge pull request #60874 from asmaloney/macos-unsigned-fix 2022-05-09 22:48:19 +02:00
Rémi Verschelde cf6dce2c1e
Merge pull request #60876 from timothyqiu/outline-size-hint
[3.x] Fix mismatched font outline size hint
2022-05-09 22:20:16 +02:00
Rémi Verschelde 20c72e8275
Merge pull request #60891 from YeldhamDev/pm_sep_font 2022-05-09 13:57:02 +02:00
Rémi Verschelde 70e7540615
Merge pull request #60896 from timothyqiu/tree-button-icon-3.x 2022-05-09 13:40:01 +02:00
Haoyu Qiu 20d3632268 Fix tree button icon not centered vertically 2022-05-09 10:53:02 +08:00
Michael Alexsander 2e4e76b2e3 Add `font_separator` to `PopupMenu` 2022-05-08 14:11:59 -03:00
Haoyu Qiu 3d1644f7c3 Add search methods for pool arrays
* has()
* count()
* find()
* rfind()
2022-05-08 11:07:00 +08:00
Haoyu Qiu b277390267 Fix mismatched font outline size hint 2022-05-08 10:01:38 +08:00
Andy Maloney 7c6564ef7e [3.x] Fix sign comparison error in platform/osx/os_osx.mm 2022-05-07 20:56:48 -04:00
Rémi Verschelde a3c4cca712
Merge pull request #60871 from YeldhamDev/pm_sep_fix
[3.x] Fix separator height influencing labeled variation in `PopupMenu`
2022-05-08 02:39:21 +02:00
Michael Alexsander 4f70201fbe Fix separator height influencing labeled variation in `PopupMenu` 2022-05-07 21:15:57 -03:00
Rémi Verschelde 887fcd00e0
Merge pull request #60851 from lawnjelly/portals_gridmaps_global
Portals - show gridmaps using global mode
2022-05-07 15:24:21 +02:00
lawnjelly 0ab077fcef Physics Interpolation - add interpolation mode property to node
Exposes the "interpolated" flag on nodes via a property, physics_interpolation_mode.

Mode can be INHERIT, OFF and ON. This makes it easy to turn off interpolation for nodes in the editor, versus via code.
2022-05-07 13:51:49 +01:00
lawnjelly caa087f888 Portals - show gridmaps using global mode
Gridmaps did not previously show at all when portals were active, due to the instances being created defaulting to static mode, and not being converted during the room conversion stage.

This PR sets gridmap instances to global mode, which enables them to show up when portals are active (using frustum culling only, no occlusion).
2022-05-07 10:09:12 +01:00
Rémi Verschelde 0ddecccd01
Merge pull request #60828 from Calinou/profiler-idle-time-rename-3.x
Rename profiler "Idle Time" to "Process Time"
2022-05-06 22:09:04 +02:00
Rémi Verschelde 3649382b37
Merge pull request #60829 from clayjohn/GLES2-html5-blendshapes
[GLES2] Unpack blend shape arrays when necessary
2022-05-06 22:08:31 +02:00
Rémi Verschelde 1f5d4e3484
Merge pull request #60832 from clayjohn/GLES3-blend-shapes
Unbind vertex buffer before calculating blend shapes
2022-05-06 22:07:57 +02:00
clayjohn b0b1e44bc1 Unbind vertex buffer before calculating blend shapes 2022-05-06 12:21:35 -07:00
clayjohn 33d825c50b Unpack blend shape arrays when necessary
Blend shapes need to be unpacked if the vertex array is being unpacked
2022-05-06 10:36:18 -07:00
Hugo Locurcio 8682874419
Rename profiler "Idle Time" to "Process Time"
References to "idle time" are progressively being replaced by
"process time" throughout the engine to avoid confusion.

This also changes some debug prints to be printed only when verbose
mode is enabled (like in `master`).
2022-05-06 19:31:31 +02:00
Rémi Verschelde 4ea6707ea3
Merge pull request #60824 from timothyqiu/import-defaults-3.x
[3.x] Make import defaults inspector honor property style settings
2022-05-06 17:51:09 +02:00
Haoyu Qiu 809a0362c1 Make import defaults inspector honor property style settings 2022-05-06 22:24:51 +08:00