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
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
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
kobewi
7c6203a60e
Cache script icons in editor
...
(cherry picked from commit 3f50dad460
)
2022-05-05 15:54:58 +02:00
Rémi Verschelde
4dfc44ecc3
Merge pull request #60788 from akien-mga/3.x-cherrypicks
2022-05-05 15:54:33 +02:00
Haoyu Qiu
84cc0c9c47
Improve documentation of `rand_range`
2022-05-05 21:52:30 +08:00
Rémi Verschelde
07b844e5b9
Merge pull request #60791 from kleonc/tree-item_edited-docs-fix
2022-05-05 15:24:39 +02:00
kleonc
b0bcbcc094
Tree::get_edited Fix in docs example code
2022-05-05 15:07:40 +02:00
Rémi Verschelde
9e37599f36
Core: Rename math 'phi' arguments to 'angle'
...
(cherry picked from commit e7a58a7eb6
)
2022-05-05 15:02:46 +02:00
Micky
15f9803d28
Specify return value of Transform3D.scaled() and more
...
Add more `[code]` (Transform3D)
Co-authored-by: kleonc <9283098+kleonc@users.noreply.github.com>
Add more `[code]` (Transform2D)
Co-authored-by: kleonc <9283098+kleonc@users.noreply.github.com>
(cherry picked from commit 87599054d2
)
2022-05-05 15:02:46 +02:00
Rémi Verschelde
c89c21145b
Sync controller mappings DB with SDL2 community repo
...
Synced with gabomdq/SDL_GameControllerDB@b7d126eb71
(cherry picked from commit 30fbb8964d
)
2022-05-05 15:02:46 +02:00
Haoyu Qiu
6d706da25c
Add Simplified Chinese translation for Linux desktop file
...
(cherry picked from commit 31394aced3
)
2022-05-05 15:02:46 +02:00
mdavisprog
53fb0440d3
Add OS::is_process_running function.
...
Adds the is_process_running function to the native OS class and exposes it to script.
This is implemented on Windows and Unix platforms. A stub is provided for other platforms that do not support this function.
Documentation is updated to reflect new API function.
(cherry picked from commit f3c1232c59
)
2022-05-05 15:02:46 +02:00
Rémi Verschelde
c648c8e7ce
Merge pull request #60780 from akien-mga/3.x-crash-handler-logs
...
[3.x] Crash handler: Use `print_error` to include backtrace in logs
2022-05-05 14:47:41 +02:00