Age | Commit message (Collapse) | Author |
|
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
|
|
|
|
|
|
|
|
- Add some missing descriptions.
- Add links to tutorials for ARVR and AnimationTree.
- Style fixes.
- Engine changes:
* Make `AnimationNodeTransition.input_<number>` properties internal
so that they don't appear in the docs. They still appear in the
inspector based on the actual number of inputs requested.
* Drop unimplemented `CPUParticles.flatness`. It's only used for 3D
particles in `ParticlesMaterial`, and thus only relevant for
`CPUParticles3D`.
|
|
Disabled re-assigning 'self'
|
|
|
|
|
|
Fix MultiplayerAPI crash when peer implementation misbehave.
|
|
Also fix WebSocketMultiplayer::get_available_packet_count() return value
when peer is not configured to use the multiplayer API.
|
|
Add dummy preprocessor for the C# script class parser
|
|
As our script class parser is error prone, we should not impede the build from continuing because of a parsing error.
This should be reverted in the future once we switch to Roslyn.
|
|
No attempts are made at conditional compilation. The main if branch is always assumed to be true.
|
|
Fixes #33715.
|
|
Also fixed the editor not including the parse error message in the error.
|
|
Icons are no longer upsampled when using an integer editor scale.
This makes some icons slightly less crisp, but the icons themselves
can be adjusted to mitigate this. When using a non-integer editor
scale setting, upsampling is kept as it improves crispness in a
far more visible manner.
When upsampling is disabled, this speeds up the theme generation
by about 100 ms on average, making the project manager and editor
start slightly faster. This also speeds up switching between themes.
|
|
Fix subclass finding in extend statement for sub-sub classes
|
|
- `EditorNavigationMeshGenerator` was being registered as part of the Core API,
even after d3f48f88bb84d22b7805ce971ac86cf1953a29fd. We must make sure to
set Editor as the current ClassDB API type before creating an instance.
- The `VisualScriptEngineSingleton.constant` property has a property hint string
that's different between tools and non-tools builds. This commit makes the
hint string to no longer be set in `_bind_methods`, and to instead set it in
`_validate_property`. This way it's ignored when calculating the API hash.
- `JavaClassWrapper` is now registered in ClassDB on all platforms,
using a dummy implementation on platforms other than Android.
This fixes API portability between Android and other platforms.
- Updated `--class-db-json` command to ignore non-virtual methods that start
with an underscore (see: 4be87c6016a5893cbde897924e540df4c988cee5).
|
|
lookup was always done on top level script instead of advancing to subclass each time.
this commit changes the lookup to always be at last found subclass
|
|
ChibiDenDen/constant_lookup_through_subclass_instance
Fix constant access in base class through subclass instance
|
|
Fixes as issue where a subclass calls a base class method that tries to access a constant from the script.
The original code went through every ower class, and for each owner, went through its inheritance tree.
This seems like the wrong order, the modified code goes to each base class, and for each base class goes through the owner tree.
This is more in line with what the parser does, as the current impelemtation allows an access that the parser does not support.
This change should not negatively affect existing code due to the way the parser works
|