jfons
6db13d3231
Fix instance index in forward clustered shader
2021-10-30 02:53:09 +02:00
Fabio Alessandrelli
dae626ad64
Merge pull request #54344 from mhilbrunner/rpc-error-msgs
...
Websockets: Fix buffer size checks in put_packet(), silent failures/connection hangs
2021-10-29 16:12:34 +02:00
Max Hilbrunner
82f88f5d56
Merge pull request #54340 from aaronfranke/time-doc
...
Update and fix Time documentation
2021-10-29 15:49:22 +02:00
Rémi Verschelde
b71270e6ea
Merge pull request #54376 from Chaosus/fix_converted_fogmaterial_crash
2021-10-29 15:43:36 +02:00
Max Hilbrunner
38126690c7
Websockets: Fix buffer size checks in put_packet()
...
Also check the error return value of wslay_event_queue_msg()
2021-10-29 15:35:57 +02:00
Rémi Verschelde
07cad91722
Merge pull request #54374 from Chaosus/fix_fogvolume_crash
...
Fix crashing of `FogVolume`s when `WorldEnvironment` was added
2021-10-29 14:09:47 +02:00
Yuri Roubinsky
e058cf93bd
Fix crashing of FogVolume
s when WorldEnvironment
was added
2021-10-29 14:25:49 +03:00
Max Hilbrunner
343414cba5
Merge pull request #54328 from YeldhamDev/tabbar_close_signal_rename
...
Rename `TabBar`'s `tab_closed` signal to `tab_close_pressed`
2021-10-29 13:21:09 +02:00
Yuri Roubinsky
a6ddfecc9f
Fix crash when opening a converted FogMaterial
2021-10-29 14:18:38 +03:00
Rémi Verschelde
75baf16bab
Merge pull request #53353 from clayjohn/VULKAN-fog-volumes
...
FogVolumes, FogShaders, FogMaterial, and overhaul of VolumetricFog
2021-10-29 10:29:04 +02:00
Rémi Verschelde
0dc809cd01
Merge pull request #54367 from lyuma/viewport_off_by_one
...
Fix off by one in Viewport.render_target_update_mode property enum
2021-10-29 07:54:52 +02:00
Rémi Verschelde
ddecaf5451
Merge pull request #54366 from lyuma/audio_stream_player_finished_signal
...
Fix crash due to reentrancy in AudioStreamPlayer* finished signal.
2021-10-29 07:53:59 +02:00
clayjohn
1b2cd9f251
Addition of FogVolumes, FogShaders, FogMaterial, and overhaul of VolumetricFog
...
Co-authored-by: Brian Semrau <brian.semrau@gmail.com>
2021-10-28 22:02:23 -07:00
Rémi Verschelde
9307808987
Merge pull request #54364 from skimmedsquare/osx-coverage
...
Adds support for 'use_coverage' flag in OSX.
2021-10-29 06:57:44 +02:00
Lyuma
c088a2dd89
Fix crash due to reentrancy in AudioStreamPlayer* finished signal.
...
This crash occurred when an audio stream finished playing in NOTIFICATION_INTERNAL_PROCESS,
during which it would iterate through a loop of playbacks,
leading to a "finished" signal, which removed the audio player from the tree
which led to a NOTIFICATION_EXIT_TREE,
which would mutate the array of playbacks while within the above loop.
This moves the signal callback outside of the loop which avoids the crash.
Note: previously, the signal was called multiple times if the same player finishes multiple times in one frame. Now it is at most once per frame.
Affects AudioStreamPlayer, AudioStreamPlayer2D and AudioStreamPlayer3D
2021-10-28 19:45:29 -07:00
Lyuma
97a4ae9e0f
Fix off by one in Viewport.render_target_update_mode property enum
2021-10-28 19:42:31 -07:00
Sean Kim
753836c373
Adds support for 'use_coverage' flag in OSX.
...
Based on #36572 which added support for Linux
2021-10-28 15:23:23 -07:00
Rémi Verschelde
d3547be9ae
Merge pull request #54359 from KoBeWi/tween_bugged()
2021-10-29 00:02:47 +02:00
kobewi
3ed20a2f5d
Fix parallel Tweens not ending correctly
2021-10-28 21:04:22 +02:00
Rémi Verschelde
9fb9b99cab
Merge pull request #42117 from nekomatata/x11-get-window-screen
...
Fix window_get_current_screen for X11 display server
2021-10-28 20:57:24 +02:00
PouleyKetchoupp
b34480b645
Fix window_get_current_screen for X11 display server
...
This method used to check which screen contains the top-left corner of
the window (and default to the first screen in case none is found),
which is not accurate in some cases.
Now the area of overlap with each screen is calculated, so we can get
the best candidate based on the window's position.
This makes window_get_current_screen consistent with Windows platform,
and fixes an issue where popups appear on the main screen when the main
window is slightly moved outside of the desktop on the top or left.
2021-10-28 10:26:05 -07:00
Michael Alexsander
4c563a51c3
Rename TabBar
's tab_closed
signal to tab_close_pressed
2021-10-28 13:10:44 -03:00
Rémi Verschelde
e7e9e663b5
Merge pull request #54354 from akien-mga/ci-clang-format-13
2021-10-28 17:24:49 +02:00
Aaron Franke
2dabdda36a
Update Time documentation
2021-10-28 10:16:56 -05:00
Rémi Verschelde
f42ef8d5f9
CI: Update to clang-format 13 using LLVM repo
2021-10-28 17:11:00 +02:00
Rémi Verschelde
f7d852b532
Merge pull request #54350 from akien-mga/clang-format-dont-align-operands
2021-10-28 17:10:52 +02:00
Rémi Verschelde
e2deec67b9
Merge pull request #54222 from JFonS/instance-fade
2021-10-28 16:05:55 +02:00
Rémi Verschelde
0ae65472e7
clang-format: Enable BreakBeforeTernaryOperators
...
clang-format keeps breaking the way it handles break *after* ternary operators,
so I give up and go with the only style they seem to actually test.
2021-10-28 15:57:41 +02:00
Rémi Verschelde
6b090e325a
Merge pull request #53526 from KoBeWi/super_print
2021-10-28 15:47:52 +02:00
Rémi Verschelde
3a6be64c12
clang-format: Various fixes to comments alignment from clang-format
13
...
All reviewed manually and occasionally rewritten to avoid bad auto formatting.
2021-10-28 15:43:36 +02:00
Rémi Verschelde
3b11e33a09
clang-format: Disable alignment of operands, too unreliable
...
Sets `AlignOperands` to `DontAlign`.
`clang-format` developers seem to mostly care about space-based indentation and
every other version of clang-format breaks the bad mismatch of tabs and spaces
that it seems to use for operand alignment. So it's better without, so that it
respects our two-tabs `ContinuationIndentWidth`.
2021-10-28 15:19:35 +02:00
Rémi Verschelde
8508f9396d
Merge pull request #54347 from mhilbrunner/mactos-mactos-mactos
2021-10-28 14:11:07 +02:00
Max Hilbrunner
7a55aac49c
Fix Macros -> Mactos typo in WEBSOCKETMACTOS_H
2021-10-28 12:45:00 +02:00
Rémi Verschelde
6d930bd270
Merge pull request #54342 from groud/remove_item_list_editor
2021-10-28 11:52:47 +02:00
Rémi Verschelde
0767a1c3f5
Merge pull request #54331 from LennyPhoenix/lennyphoenix-patch-2
2021-10-28 10:17:57 +02:00
Gilles Roudière
a51f92273a
Remove ItemList editor and replace it by a property array
2021-10-28 10:16:51 +02:00
Rémi Verschelde
c24bdfb327
Merge pull request #53737 from bruvzg/icu_strip_diacritics
2021-10-28 10:15:32 +02:00
bruvzg
63f3051154
Implement TextServer strip_diacritics
function.
2021-10-28 10:12:57 +03:00
Rémi Verschelde
0ec7763197
Merge pull request #54337 from bruvzg/icu_70_1
2021-10-28 09:09:20 +02:00
Rémi Verschelde
d4067e661c
Merge pull request #54326 from nekomatata/x11-fix-input-delay
2021-10-28 08:57:37 +02:00
bruvzg
44a241b241
ICU: Update to version 70.1
2021-10-28 09:15:28 +03:00
Rémi Verschelde
7bb568328f
Merge pull request #52985 from Calinou/editor-debugger-bottom-panel-error-warning-highlight
...
Improve appearance of the editor Debugger bottom panel menu
2021-10-28 08:12:41 +02:00
Lenny Critchley
7715301c66
Check for valid stack in set_bone_index
...
Resolves #54235
2021-10-28 00:57:41 +01:00
PouleyKetchoupp
ba96fc6a4d
Fix input events random delay on X11
...
The new system based on a thread gathering events from the X11 server
was causing delays in some scenarios where some events have just been
missed at the time of processing and we're waiting for a whole frame to
check them again.
Solved by flushing again and checking for pending events at the
beginning of the process loop, in addition to events already gathered
on the event thread.
2021-10-27 15:24:09 -07:00
Rémi Verschelde
157cba3933
Merge pull request #54321 from V-Sekai/import-scene-crash
2021-10-27 22:25:25 +02:00
Rémi Verschelde
3e26ad3a5f
Merge pull request #54320 from YeldhamDev/tabbar_close_last_fix
2021-10-27 22:24:43 +02:00
Camille Mohr-Daurat
3c527dcbbd
Merge pull request #54157 from bjauny/fix_potential_nullpointer_collision3d
...
Fix potential null pointer use, based on #54094 fix
2021-10-27 12:40:50 -07:00
K. S. Ernest (iFire) Lee
d905d3c3d3
Avoid crash in scene importer when the mesh is empty.
2021-10-27 12:16:10 -07:00
Michael Alexsander
96fdb030ec
Fix uninteractable singular tab in TabBar
2021-10-27 16:13:04 -03:00
Rémi Verschelde
21529c90f8
Merge pull request #54166 from ConteZero/unique_selection
2021-10-27 20:50:54 +02:00