Age | Commit message (Collapse) | Author |
|
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.
|
|
[HTML5] Linting, fixes.
|
|
Should I write a poem about this whole new world? ;)
|
|
Applies to javascript files inside the platform library folder, the
exposed Engine code, and any javascript files in modules.
Files ending with ".externs.js" will be ignored, you can create a
".eslintignore" file to specify extra files to be ignored.
|
|
Make warning about Reference singletons more accurate
|
|
|
|
Move and add new RegEx test cases
|
|
Use Vector2i instead of Vector2 for Image get_pixelv and set_pixelv
|
|
GDScript: Typed VM Take 2
|
|
Add a test suite for AABB
|
|
Use a power-of-two value for Primary Grid Steps in the 3D editor
|
|
Document that vertex displacement isn't visible in overdraw debug mode
|
|
Test cases for 'RegEx' are moved from 'test_string.h' to own test suite
in 'test_regex.h'. Additionally, new tests are introduced and '_init' is
removed as it isn't implemented/used anywhere.
|
|
Document that WebM videos don't support the alpha channel
|
|
|
|
See #24232.
|
|
Bind the editor's Search Help function to F1 by default
|
|
Now that the F1 key is available, we can bind Search Help to the key
generally used in other applications to open the help menu.
|
|
fix for two incorrectly bound texture formats
|
|
Fix variant getters not setting return type
|
|
This matches the 2D editor default behavior.
Powers of two are usually better for grid divisions as they are often
used in level design.
|
|
Only for built-in types.
|
|
|
|
Methods from builtin types can be called by using the function pointer
when the argument and base types are known at compile time.
|
|
|
|
When the base type is known at compile-time, we can get a direct
function pointer that is faster than the regular set/get paths.
|
|
It now uses the direct operator function pointer, which increases
performance in evaluation.
|
|
Almost all instructions need variant arguments. With this change they
are loaded in an array before each instruction call. This makes the
addressing code be localized to less places, improving compilation
overhead and binary size by a small margin.
This should not affect performance.
|
|
To improve organization and reduce the size of compilation units.
|
|
- Allow getting an opaque pointer, no matter the type (for ptrcall).
- Allow setting object pointer and id directly.
- Allow initializing the data given a type, to allow properly setting
return types on ptrcalls.
|
|
Initial work to make liniting easier.
This includes:
- Rename http_request.js to library_godot_http_request.js.
- Rename externs.js to engine.externs.js.
- New library_godot_runtime.js (GodotRuntime) wraps around emscripten
functions.
- Refactor of XMLHttpRequest handler in engine/preloader.js.
- Few fixes to bugs spotted by early stage linting.
|
|
Co-authored-by: Andrii Doroshenko <xrayez@gmail.com>
|
|
Since they do pretty much the same thing. The validated_get() was
renamed to get() since that is more performant.
|
|
The validated getters were only setting the value without changing the
type, leading to wrong results. This uses the same path used for
methods to the same purpose.
|
|
|
|
doc: Warn about using Node internal processing
|
|
Export: Reorder options for consistency across platforms
|
|
nanosvg: Sync with upstream 3e403ec
|
|
Add a test suite for Object
|
|
Add a test suite for Rect2 and Rect2i
|
|
doctest: Update to 2.4.1
|
|
|
|
|
|
|
|
Includes a patch for breakpoint inline assembly for macOS.
|
|
Add a test suite for JSON
|
|
doctest: Do not override command-line options
|
|
Those options were likely copy-pasted from documentation examples.
This change also allows to break in the debugger by default when
assertions fail, and this can be configured via command-line interface.
|
|
Includes some loop condition fixes after fuzzing.
The previously identified regression (#43641) is now fixed upstream.
|
|
|