Commit Graph

33704 Commits

Author SHA1 Message Date
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
Hugo Locurcio b47466bc59
Improve documentation related to Pool*Array value passing caveats 2022-05-12 23:40:31 +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
lawnjelly 328866ee6a Physics Interpolation - Reset on adding child to SceneTree
For convenience, branches added to the SceneTree now have physics interpolation reset after the first update of the transform to the VisualServer.
2022-05-10 11:09:20 +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
Rémi Verschelde 60dc792365
Merge pull request #60819 from Faless/debugger/3.x_start_server 2022-05-06 15:10:34 +02:00
Fabio Alessandrelli 225e75daba [3.x] [Debugger] Add --debug-server CLI option.
Automatically starts the editor debug server at given <IP>:<PORT>.

E.g.:
 # Run editor and debug server listening on any interface, port 8080
godot3 -e --path proj/proj_empty --debug-server *:8080

 # Run the godot project connecting to that debug server.
godot3 --path proj/proj_empty --remote-debug 127.0.0.1:8080
2022-05-06 14:02:00 +02:00
Rémi Verschelde db48b80707
Merge pull request #60816 from timothyqiu/tweener-doc 2022-05-06 08:48:18 +02:00
Rémi Verschelde dfb6b5d112
Merge pull request #60812 from smix8/astar_zero_point_weight_3.x 2022-05-06 08:40:28 +02:00
Haoyu Qiu 9b8c77fbf0 Fix wrong link in PropertyTweener doc 2022-05-06 12:58:49 +08:00
smix8 da9a88a35a Allow AStar/AStar2D zero point weight
Allow AStar/AStar2D zero point weight.

Limit was set to 1 which seemed like an arbitrary value as lower values down to zero can be useful for common gameplay navigation elements like teleports.
2022-05-06 02:33:31 +02:00
Hugo Locurcio 99d9228a2e
Handle CLI arguments without a value in `OS.get_cmdline_args()` example
Command lines such as `--host --address 127.0.0.1` are now parsed as
`{"host": "", "address": "127.0.0.1"}`.
2022-05-05 19:19:15 +02:00
Rémi Verschelde c3065e2186
Merge pull request #60773 from timothyqiu/rand-doc 2022-05-05 18:10:14 +02:00
Rémi Verschelde d662d0f95e
Merge pull request #56126 from madmiraal/fix-55850-3.x 2022-05-05 18:07:40 +02:00
Marcel Admiraal 89c758a4de Read and store joypad events in a separate thread on x11 platform 2022-05-05 16:15:33 +02:00
Rémi Verschelde 021f92a1be i18n: Sync classref translations with Weblate 2022-05-05 15:54:59 +02:00
Rémi Verschelde 0997c2de84 i18n: Sync editor translations with Weblate 2022-05-05 15:54:58 +02:00