Age | Commit message (Collapse) | Author |
|
|
|
Add a soft line length guideline to the script editor
|
|
Allow using `MeshLibrary.get_item_preview()` in non-editor builds again
|
|
Improve the `Node.add_child_below_node()` documentation
|
|
This closes https://github.com/godotengine/godot-docs/issues/2730.
|
|
Use left/right arrow to move cursor when unselecting in LineEdit
|
|
|
|
Add support for integer type in visual shaders
|
|
|
|
Although destructor call was missing, it still doesn't heal #36537 memory leaks. Further description how that might be overcome - on GitHub
Partialy covers #36537
|
|
Fix debugger crash inspecting freed object.
|
|
This seems to be the correct way to validate a reference.
Why is cast_to failing? Is this the correct way of checking if the
object is valid?
|
|
- Renames PackedIntArray to PackedInt32Array.
- Renames PackedFloatArray to PackedFloat32Array.
- Adds PackedInt64Array and PackedFloat64Array.
- Renames Variant::REAL to Variant::FLOAT for consistency.
Packed arrays are for storing large amount of data and creating stuff like
meshes, buffers. textures, etc. Forcing them to be 64 is a huge waste of
memory. That said, many users requested the ability to have 64 bits packed
arrays for their games, so this is just an optional added type.
For Variant, the float datatype is always 64 bits, and exposed as `float`.
We still have `real_t` which is the datatype that can change from 32 to 64
bits depending on a compile flag (not entirely working right now, but that's
the idea). It affects math related datatypes and code only.
Neither Variant nor PackedArray make use of real_t, which is only intended
for math precision, so the term is removed from there to keep only float.
|
|
Changed default capsule axis to vertical
|
|
Fix: auto brace complete for quoted strings
|
|
Co-authored-by: Hugo Locurcio <https://hugo.pro>
|
|
Added tween support for Rect2
|
|
Fixes #34575
|
|
This attribute is now part of the standard we target so we no longer
need compiler-specific hacks.
Also enables -Wimplicit-fallthrough for Clang now that we can properly
support it. It's already on by default for GCC's -Wextra.
Fixes new warnings raised by Clang's -Wimplicit-fallthrough.
|
|
Remove unused theme constants in Tab(Container)
|
|
|
|
Fixes #36002
|
|
Refactor node processing in visual shader member dialog
|
|
|
|
Also changed all relevant properties defined manually to StringName.
|
|
Add support for named binds in Skin.
|
|
Helps better reutilization of skeletons from Maya exported files.
|
|
|
|
objects and made them default.
|
|
Fix MIMPAMPS typos in constants throughout the engine
|
|
|
|
|
|
Fix -Wunused-variable, -Wunused-but-set-variable and -Wswitch warnings
raised by GCC 8 and 9.
Fix -Wunused-function, -Wunused-private-field and
-Wtautological-constant-out-of-range-compare raised by Clang.
Fix MSVC 2019 warning C4804 (unsafe use of type 'bool' in comparison
operation).
GCC -Wcpp warnings/Clang -W#warnings (`#warning`) are no longer raising
errors and will thus not abort compilation with `werror=yes`.
Treat glslang headers are system headers to avoid raising warnings.
Re-enables us to build with `werror=yes` on Linux and macOS, thus
catching warnings that would be introduced by new code.
Fixes #36132.
|
|
- Vector3 get_closest_point_to_segment(const Vector3 &p_from, const Vector3 &p_to, const bool &p_use_collision = false);
- Vector3 get_closest_point(const Vector3 &p_point);
- Vector3 get_closest_point_normal(const Vector3 &p_point);
- Object *get_closest_point_owner(const Vector3 &p_point);
|
|
Fix CanvasItem bindings and Mono build
|
|
Revert "Remove TextFile from public API"
|
|
|
|
|
|
Typed `PoolTypeArray` types are now renamed `PackedTypeArray` and are
sugar for `Vector<Type>`.
|
|
RichTextLabel: proper handling of internal key events
|
|
[AudioStreamPlayer/2D/3D] Reduce the max value of pitch_scale's inspector slider
|
|
|
|
This closes #36268.
|
|
|
|
-- useful for rename dialog (the filename portion is selected by
default, and usually, want to change the end of the name, not the
beginning)
|
|
|
|
|
|
|
|
The default value is 80. The hard line length guideline's
default column has been moved to 100 to account for the new
soft line length guideline.
It can be disabled by setting its value to the same column as the
hard line length guideline.
This closes https://github.com/godotengine/godot-proposals/issues/347.
|
|
Fixes #36211
|