- Fixed bad size check
- Fixed bad member initialization
- Removed unused cell_size (Bullet expects us to use localScaling)
- Accept precomputed min/max height, will be calculated if not provided
(cherry picked from commit a66e1af1689c385cc3adae0cf8eef4eb02a61d40)
This fixes the problem that `SynchronizationContext.Current` would be null
during the call to `_EnterTree`, `_Ready` and the first call to `_Process` thus
the task continuations would be scheduled outside the main thread, which is unexpected and might lead to crashes.
With this change, task continuations are scheduled always on the main thread and so async/await can be used without any explicit synchronization, which is what is expected.
Fixes#18849
(cherry picked from commit f25240cfe6a4b7f030b2dfd5db1365b4de44301d)
The function expects now a return value. Returning NULL seems to work in
this case.
(cherry picked from commit 6c74f3de6dbba53878d9ebe377a6c33ef2294afc)
- Set (Csc/Vbc/Fsc)ToolExe environment variables to point to the batch files in Mono's bin directory when building with Mono's MSBuild.
- Set Mono's MSBuild as the default build tool on Windows.
- Generate projects with portable DebugType instead of full.
(cherry picked from commit 01397a10d9f82e00638eb9b5c200b6dde8e515a9)
No longer printed when using using placeholder script instances (for non-tool scripts in the editor).
Print different error if the project assembly is not loaded
(cherry picked from commit c8945fe7d81c6168e300375d2e6d2a9b01612496)
Adds keywords to the autocomplete prediction in GDScript so
they are not replaced by irrelevant predictions.
Fixes: #5972
(cherry picked from commit 6e32157a65b208ba223c8e75c5e7a842d1684314)
The GDScriptLanguage::enter_function is wrapped in #ifdef DEBUG but the exit_function is not, resulting in a stack underflow error.
(cherry picked from commit 9149b119733aa9444a59c6940e7d8b875dfc31e8)
Taken from https://github.com/Microsoft/vswhere/wiki/Find-MSBuild
without '-products *' vswhere does not locate msbuild when installing a
tools-only (no IDE) version of the microsoft compilers.
(cherry picked from commit 0ec912a79e867dbd4beff9c19c393dce87d9a419)
This hasn't made it into master yet but is important for mono support.
If this turns out to be the wrong call we'll revert and merge whatever
next version of this becomes available.
- Make enums have an unique signature name of int. This means that when generating internal methods, there is no difference between different enums types nor between enums and int. This way enums can re-use internal methods.
- Make type resolver fallback to int if a type is not found and it's an enum.
(cherry picked from commit fbc808012f0e9a0b977997aedcec705509970b96)