Age | Commit message (Collapse) | Author |
|
Fix subtracting colors and quats
|
|
|
|
Several edits to the GDScript docs
|
|
Put misc. 3D tool visible instances on their own layer
|
|
Fix ccd enabled by default on Bullet bodies
|
|
Mono: Fix Android build after #36311
|
|
|
|
feat: HMAC support in Crypto APIs
|
|
xatlas should be using the options configured here
|
|
It was using the defaults by mistake
|
|
-Changed how mesh data is organized, hoping to make it more efficient on Vulkan and GLES.
-Removed compression, it now always uses the most efficient format.
-Added support for custom arrays (up to 8 custom formats)
-Added support for 8 weights in skeleton data.
-Added a simple optional versioning system for imported assets, to reimport if binary is newer
-Fixes #43979 (I needed to test)
WARNING:
-NOT backwards compatible with previous 4.x-devel, will most likely never be, but it will force reimport scenes due to version change.
-NOT backwards compatible with 3.x scenes, this will be eventually re-added.
-Skeletons not working any longer, will fix in next PR.
|
|
GDScript(2.0) Documentation generation system
|
|
GDScript default argument override bug fix
|
|
Fixes #44017 by changing the `normalize()` function to check for non-negative rather than non-zero via an epsilon check.
|
|
|
|
|
|
Fix VariantInternal initialization and setting of object
|
|
Implement proper error print, Fixes a crash when no error messages are generated by the analyser.
|
|
- Initialize Object pointer to nullptr so it's not used by mistake.
- When setting an Object check if it's a reference so refcounting works
as intended.
|
|
Values that are passed by reference are not suited for being constructed
at compile time because in this case they would be shared across all the
construction statements.
|
|
- ClassDoc added to GDScript and property reflection data were extracted
from parse tree
- GDScript comments are collected from tokenizer for documentation and
applied to the ClassDoc by the GDScript compiler
- private docs were excluded (name with underscore prefix and doesn't
have any doc comments)
- default values (of non exported vars), arguments are extraced from the
parser
- Integrated with GDScript 2.0 and new enums were added.
- merge conflicts fixed
|
|
Fix: #41766
|
|
generated by the analyser.
|
|
Shortcuts rework - fixed issues with input propagation and triggering of unwanted shortcuts.
|
|
[Complex Text Layouts] Implement TextServer interface.
|
|
Fixes crash when parse_expression returns nullptr.
|
|
GDScript: range function type check bug fixed
|
|
Fix crash due to unreachable code in properties
|
|
Fix: #43586
|
|
|
|
This is not user accessible anymore so it does not need to be show in
documentation.
|
|
GDScript: Improve handling of operators
|
|
This makes that visible stuff invisible to ReflectionProbes, whose preview in the editor shouldn't involve them.
|
|
Some GDScript fixes
|
|
- Use the new functions in Variant to determine the validity and resulting
type of operators.
- Split the operator function in codegen between binary and unary, since
the unary ones have now a special requirement of having the second
argument to be the NIL type when requesting info.
|
|
It can wait until the analyzer itself is destructed, otherwise other
phases might be using freed parsers.
|
|
Otherwise this may lead to a crash when the dependency is not present.
|
|
use Text Server interface.
Implement interface mirroring.
Add TextLine and TextParagraph classes.
Handle UTF-16 input on macOS and Windows.
|
|
|
|
|
|
HarfBuzz, Graphite).
|
|
TextServer.
|
|
|
|
It was due to main_shape_changed being called two times for each
added body. The first time it disables ccd, which sets the internal ccd
threshold to be 10000. The second time, it enables ccd again because
the internal threshold is > 0.
Bodies are now consistently set with a ccd threshold of 0 when ccd is
disabled.
This was causing crashing asserts in Bullet when adding bodies in some
scenarios, in btVector3::normalize():
btAssert(!fuzzyZero());
These crashes will still happen with ccd enabled.
|
|
A couple of GDScript fixes
|
|
GDScript: Fix mishandling of stack pointers
|
|
It was mistakenly returning the source instead of the result.
|
|
The call of range() in a for loop is optimized to use int or vectors, to
avoid allocating an array, however the type was set as array still. With
the new typed VM this is an issue as the type mismatch the actual value,
resulting in wrong instructions to be selected.
|
|
- Replace the for loop temporaries by locals. They cause conflicts with
the stack when being popped, while locals are properly handled in the
scope.
- Change the interface for the codegen so the for loop list doesn't live
through the whole block if it's a temporary.
- Keep track of the actual amount of local variables in the stack. Using
the size of the map is misleading in cases where multiple locals have
the same name (which is allowed when there's no shadowing).
- Added a few debug checks for temporaries, to avoid them being wrongly
manipulated in the future. They should not live more than a line of
code.
- Rearrange some of compiler code to make sure the temporaries don't
live across blocks.
|
|
ptrcall is now also used to optimize calls in GDScript, on top of the existing
use by the GDNative and Mono modules.
It no longer makes sense to make it optional.
|