Age | Commit message (Collapse) | Author |
|
Fix inherited C# scene not inheriting parent's fields
|
|
C#: Support for building with the dotnet CLI
|
|
By adding a reference to the 'Microsoft.NETFramework.ReferenceAssemblies' nuget
package, we can build projects targeting .NET Framework with the dotnet CLI.
By referencing this package we also don't need to install Mono on Linux/macOS
or .NET Framework on Windows, as the assemblies are taken from the package.
|
|
|
|
When a child scene inherits a parent scene with a C# root node, the
parent scene's export variables appear to assume values set in the
parent scene, in the child scene's Inspector. However, when the child
scene is played, the parent scene's export variables assume default
values.
When a node is created, it inherits its parent C# script's fields from
the map CSharpScriptInstance::script->member_info. However this map was
not initialized outside the editor, and this commit ensured it is. This
fixes issues #36480 and #37581.
|
|
This reverts commit ec7b481170dcd6a7b4cf0e6c1221e204ff7945f3.
This was wrong, `d` is not a distance but the `d` constant in the
parametric equation `ax + by + cz = d` describing the plane.
|
|
Style: clang-format: Disable if statements and case labels on single line
|
|
Switch to nuget Microsoft.Build and rewrite GodotTools messasing protocol
|
|
Part of #33027.
|
|
Part of #33027, also discussed in #29848.
Enforcing the use of brackets even on single line statements would be
preferred, but `clang-format` doesn't have this functionality yet.
|
|
ThakeeNathees/saveing-cyclic-inheritance-crash-fix
Fix: saving gdscript with cyclic inheritance crash the editor
|
|
Allow using integer vectors for iteration and make range() use them
|
|
Fix: more clearer unexpected statement end error messages
|
|
|
|
Fix: #9609
|
|
|
|
Fix object leaks caused by unfulfilled yields
|
|
fix: dict2inst crash when constructor has arguments
|
|
GDScript class var type resolve bug fixed
|
|
python like string escape implemented
|
|
|
|
|
|
parser error for static func access non-static variables
|
|
Not sure if we should check revision too, but this is good enough for what we want.
This will be needed to load the correct Microsoft.Build when we switch to the nuget version.
|
|
Causes issues with some editors as it's confused with `string.Empty`.
Should use `string.IsNullOrEmpty(str)` instead.
|
|
Mono: Use msbuild instead of nuget.exe for restoring
|
|
- Make GodotTools output directly to the SCons output directory.
- Removed xbuild_fallback from the build system.
|
|
A minor bugfix
|
|
|
|
|
|
Add a Color constructor for Color with alpha
|
|
Now the stack saved in a `GDScriptFunctionState` is cleared as soon as the `yield()` operation is known not to be resumed because either the script, the instance or both are deleted.
This clears problems like leaked objects by eliminating cases of circular references between `GDScriptFunctionState`s preventing them and the objects they refer to in their saved stacks from being released. As an example, this makes using `SceneTreeTimer` safer.
Furthermore, with this change it's now possible to print early warnings about `yield()`s to released script/instances, as now we know they won't be successfully resumed as the condition for that happens. However, this PR doesn't add such messages, to keep the observed behavior the same for the time being.
Also, now a backup of the function name in `GDScriptFunctionState` is used, since the script may not be valid by the time the function name is needed for the resume-after-yield error messages.
|
|
Improved go-to definition (Ctrl + Click)
|
|
Co-Authored-By: Bojidar Marinov <bojidar.marinov.bg@gmail.com>
|
|
Change non-existent World to World3D
|
|
Make `dict2inst` to work with arbitrary `_init` parameters
|
|
Mark "Indented block expected" error after function declaration
|
|
Fix: #38408
|
|
|
|
|
|
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
|
|
|