Age | Commit message (Collapse) | Author |
|
Make `dict2inst` to work with arbitrary `_init` parameters
|
|
Mark "Indented block expected" error after function declaration
|
|
|
|
|
|
Removed noisy ERR check from Multiplayer API.
|
|
This is achieved by skipping initializer call while creating an instance
of a GDScript. This is implemented by passing -1 as an argument count
to `_new` and interpreting any value below 0 to mean that the initializer
should not be called during instantiation, because internal members of
an instance are going to be overridden afterwards.
|
|
|
|
Fix growMargin() not returning modified Rect2/Rect2i in Mono
|
|
Fix leaked objects when game ends with yields in progress
|
|
|
|
Fix for marking assert lines as safe bug
|
|
|
|
|
|
|
|
Improve shortcut formatting in docs
|
|
Better damping implementation for Bullet rigid bodies
|
|
It changed name as part of the DisplayServer and input refactoring
in #37317, with the rationale that input no longer goes through the
main loop, so the previous Input singleton now only does filtering.
But the gains in consistency are quite limited in the renaming, and
it breaks compatibility for all scripts and tutorials that access
the Input singleton via the scripting language. A temporary option
was suggested to keep the scripting singleton named `Input` even if
its type is `InputFilter`, but that adds inconsistency and breaks C#.
Fixes godotengine/godot-proposals#639.
Fixes #37319.
Fixes #37690.
|
|
Fix CSG vertex normal calculation.
|
|
Calling _reduce_node_type from GDScriptParser::_parse_block for assert
was using a current class with a scope that didn't include all
functions. Now calling in GDScriptParser::_check_block_types uses the
right class type. We also now check the assert node message. The assert
line was added to the set_errors associated with assert, since before
the error would be reported on the next line
|
|
Add caching the lightmap unwrapping on import
|
|
Apply old method for linear & angular damping in Bullet, in order to
make it easier to tweak and consistent with Godot Physics.
|
|
Fix: export var type reduce() implemented
|
|
Update to bullet master (2.90)
|
|
|
|
|
|
Mono/C#: Fix load hook not called for some assemblies on domain reload
|
|
Fixed the auto-completion bug in gdscript_editor
|
|
Mark assert lines as safe in gdscript
|
|
autocomplete for load() function implemented
|
|
|
|
This was a regression from 93d7ec88360a467a3041c0aa08390daa1f75892b (#38110).
Mono's old implementation of Microsoft.Build hardcodes HasUnsavedChanges to
always return true.
This workaround can be reverted once we switch to official Microsoft.Build.
|
|
Mono/C#: Fix assemblies being reloaded a second time unnecesarily
|
|
Added marshalling for `System.Collections.Generic.List<T>` and
`System.Collections.Generic.Dictionary<TKey, TValue>`.
|
|
|
|
Mono/C#: Allow exporting System.Array of type Godot.Object
|
|
C#: Save copy of sln and csproj before applying fixes
|
|
Mono/C#: Allow debugging exported games
|
|
|
|
|
|
- Include PDB files in exported games.
- Release export templates also allow debugging now.
Right now the only way to enable debugging in exported games is with the environment variables, which may be cumbersome or not even possible on some platforms.
|
|
Revert "Allow parameters passed to GDScript functions to be nulled"
|
|
This commit adds caching to the lightmap mesh unwraps generated on
import. This speeds up re-imports of meshes that haven't changed and
also makes sure that the unwraps are consistent across imports.
The unwrapping process is not deterministic, so one could end up with
a different mapping every time the scene was imported, breaking any
previously baked lightmaps. The changes in this commit prevent that
from happening.
|
|
|
|
GDScript: Fix type inference for const reference to global class
|
|
Fix unassigned variable warnings for match bindings
|
|
GDScript class name existance check enhanced
|
|
Line marked unsafe when base known and index unkonwn
|
|
Autocompleting with indexing for builtin types added
|
|
Note: Only replaced 2 instances to test, Node.get_children and TileMap.get_used_cells
Note: Will do a mass replace on later PRs of whathever I can find, but probably need
a tool to grep through doc.
Warning: Mono will break, needs to be fixed (and so do TypeScript and NativeScript, need to ask respective maintainers)
|
|
Also added an easier way to load native GLSL shaders.
Extras:
Had to fix no-cache for subresources in resource loader, it was not properly working, making shaders not properly reload.
Note:
The precommit hooks are broken because they don't seem to support enums from one class being used in another.
Feel free to fix this after merging this PR.
|