Age | Commit message (Collapse) | Author |
|
SCons: Split libmodules.a in folder-based libs
|
|
af9bb0ea15dfd3dfe8950fcfcce364485dadd92a fixed AudioServer's
`get_output_delay()` (which used to always return 0) while renaming it
to `get_output_latency()`. It now returns the latency from the
AudioDriver, which can be non-0.
While this was a clear bugfix, it broke playback for WebM files without
audio track. It seems like the playback code, even though it queried
the output delay to calculate a time compensation, was designed to work
even though the delay value was actually bogus. Now that it's correct,
it's not working.
As a workaround we comment out uses of the output latency, restoring
the behavior of Godot 3.1.
This code should still be reviewed by someone more versed in video
playback and fixed to properly account for the non-0 driver latency.
Fixes #35760.
|
|
This removes the need for the hacky split_libmodules logic on Windows,
since all libs are now of manageable size.
|
|
- Fix build with gdscript module disabled. Fixes #31011.
- Remove unused `gdscript` compile option.
- Fix build with regex module disabled.
- Fix ImageLoaderSVG to forward declare thirdparty structs.
|
|
We already had `MODULE_*_ENABLED` defines but only in the modules
environment, and a few custom `*_ENABLED` defines in the main env
when we needed the information in core.
Now this is defined in a single header which can be included in the
files that need this information.
|
|
|
|
Fix GlobalConstant/BasicTypeConstant return type in visual scripts
|
|
Fix empty audio infinite loop
|
|
- Add do..while(0) wrapper to ERR_FAIL_NULL macros.
- Add do..while(0) wrapper to ERR_FAIL_COND macros.
- Add do..while(0) wrapper to ERR_CONTINUE macros.
- Add do..while(0) wrapper to ERR_BREAK macros.
- Add do..while(0) wrapper to CRASH_COND macros.
- Add do..while(0) wrapper to ERR_FAIL macros.
- Add do..while(0) wrapper to ERR_PRINT macros.
- Add do..while(0) wrapper to WARN_PRINT macros.
- Add do..while(0) wrapper to WARN_DEPRECATED macros.
- Add do..while(0) wrapper to CRASH_NOW macros.
|
|
|
|
|
|
|
|
Update docs to version 4.0
|
|
touilleMan/remove-useless-pluginscript-get_rpc-rset_mode
Remove useless pluginscript godot_pluginscript_script_desc.get_rpc/rset_mode fields
|
|
fields
|
|
|
|
Remove deprecated GDNative wrapper code
|
|
|
|
Increase the maximum number of octaves in OpenSimplexNoise to 9
|
|
Optimize the editor icon generation
|
|
An error message is now printed when trying to set the number of octaves
above the maximum allowed value.
The magic constant was also replaced with a define that can be
easily changed.
This closes #28714.
|
|
|
|
GetNodeOrNull<T> was using GetNode instead of GetNodeOrNull
|
|
Besides being incorrect, it also caused a hard editor crash for purely
static classes or classes with more static functions than methods.
|
|
This should greatly decrease latency for the most common use cases.
A new function WebSocketPeer::set_no_delay will allow to configure it if
so desired.
|
|
Lower WebSocket latency, fixes.
|
|
doc: Drop unused 'category' property from header
|
|
Fix signals Variant arguments incorrectly listed as Nil.
Fixes #12520.
|
|
We already removed it from the online docs with #35132.
Currently it can only be "Built-In Types" (Variant types) or "Core"
(everything else), which is of limited use.
We might also want to consider dropping it from `ClassDB` altogether
in Godot 4.0.
|
|
doc: Document named color constants
|
|
Busywork but it's good for our completion rate :)
|
|
Also quick clean up of the matching C++ files.
|
|
Mention that `NoiseTexture` uses threads internally
|
|
|
|
Provided a snippet on how to properly retrieve the noise texture data
given that it's generated in a thread.
|
|
Mono/C#: Fix _update_exports possible crash with Reference types
|
|
Fix C# preprocessor infinite loop and incorrect parsing of `#if!`
|
|
The code was attempting to dynamic cast the native instance to Reference after
the managed instance was disposed. As the managed instance acts as a Ref,
the native instance was freed during that disposal.
This made the dynamic cast fail and we attempted to memdelete a second time.
The fix is to make the dynamic cast before disposal.
|
|
|
|
WSLPeer now tries to flush packet queue after put_packet call.
WSLServer::listen correctly returns TCP_Server::listen return value.
|
|
|
|
Mono/C#: Lighten up unsafe reference checks
|
|
Because of the weird case with multi-threading and ResourceLoader, it can be the case that a resource is GCed while being referenced again in the main thread. In such cases, a new unsafe reference is created before the finalizer thread removes the previous one.
|
|
Mono/C#: Add setting to include I18N assemblies in the exported game
|
|
|
|
Mono/C#: Default to net47 for new projects
|
|
Mono/C#: Add Basis.Slerp, update Quat.Xform and add some math checks
|
|
|
|
|
|
|