Age | Commit message (Collapse) | Author |
|
Correct misspellings of damped spring.
|
|
|
|
|
|
Update property hint from ArrayMesh to be consistent with other property hints
|
|
Fixes the right and center alignment bug of rich text label
|
|
|
|
Fix #36134
|
|
|
|
Add color option for img bbcode tag in RichTextLabel to tint images
|
|
Disable antialiasing on the DynamicFont outline as well when requested
|
|
Move `RayShape2D` implementation into its own translation unit
|
|
This also clarifies some parts in the DirectionalLight documentation.
|
|
|
|
|
|
Split `Geometry` singleton into `Geometry2D` and `Geometry3D`
|
|
This partially addresses
https://github.com/godotengine/godot-proposals/issues/943.
|
|
Extra `_2d` suffixes are removed from 2D methods accoringly.
|
|
`get_char_size()` is a public virtual function defined in the `Font`
class. Implementations exist for both `BitmapFont` and `Dynamic Font`.
However, it was only exposed to the GDScript API through the Bitmap
Font, and not for Dynamic Font.
This commit exposes the function through `Font` instead.
Fixes #23967
|
|
Custom Skeleton3DEditorPlugin
|
|
|
|
Fix resource preview in remote inspector
|
|
Fix Container sorting not working when overriding _sort_children in gdscript
|
|
The specific case for object reference seems unnecessary, as `RES res = var`
already does the work. The case where REF is invalid is never hit in the case
of already freed objects.
The assignment `res = *r` was causing the resource to be always invalidated
on the 3.2 branch.
|
|
Co-authored-by: Marios Staikopoulos <marios@staik.net>
|
|
Fixes: #38911
|
|
TextEdit search returns Dictionary instead of Vector
|
|
Fix Android LineEdit editing bugs
|
|
|
|
|
|
Add night sky to PhysicalSkyMaterial
|
|
See discussion in https://github.com/godotengine/godot-proposals/issues/43.
|
|
Replace 'add_child_below_node' with 'add_sibling' in Node
|
|
Easier to use than accessing elements in a Vector using indices given by an enum.
Breaks compatibility on existing scripts using this functionality.
|
|
|
|
|
|
Fixed text editor drawing if smooth scrolling is disabled.
|
|
Remove _sort_children from script bindings:
_sort_children is an internal method which shouldn't be exposed to scripts.
Added support for non-bound methods in MessageQueue:
So we can use deferred calls without exposing internal methods to scripts.
Added debug checks in CallableCustomMethodPointer:
Adding method pointer callables to the message queue was causing crashes
in case an object was destroyed and the same memory was allocated for
another one. The new object had a valid object id but the call was erroneous.
Release will be fixed later, along with Variant which has the same problem and
is also fixed for debug only.
|
|
|
|
Fixes #38778
|
|
As of Godot 3.0, HQ2X is no longer used to upscale the editor theme
and icons on hiDPI displays, which limited its effective uses.
HQ2X was also used to upscale the project theme when the "Use Hidpi"
project setting was enabled, but results were often less than ideal.
The new StyleBoxFlat and SVG support also make HQ2X less important
to have as a core feature.
This decreases binary sizes slightly (-150 KB on most platforms,
-212 KB on WebAssembly release).
This partially addresses #12419.
|
|
Remove get_local_mouse_position() hack in GraphEdit
|
|
|
|
|
|
Fixes: #19642
|
|
Using clang-tidy's `readability-braces-around-statements`.
https://clang.llvm.org/extra/clang-tidy/checks/readability-braces-around-statements.html
|
|
I couldn't find a tool that enforces it, so I went the manual route:
```
find -name "thirdparty" -prune \
-o -name "*.cpp" -o -name "*.h" -o -name "*.m" -o -name "*.mm" \
-o -name "*.glsl" > files
perl -0777 -pi -e 's/\n}\n([^#])/\n}\n\n\1/g' $(cat files)
misc/scripts/fix_style.sh -c
```
This adds a newline after all `}` on the first column, unless they
are followed by `#` (typically `#endif`). This leads to having lots
of places with two lines between function/class definitions, but
clang-format then fixes it as we enforce max one line of separation.
This doesn't fix potential occurrences of function definitions which
are indented (e.g. for a helper class defined in a .cpp), but it's
better than nothing. Also can't be made to run easily on CI/hooks so
we'll have to be careful with new code.
Part of #33027.
|
|
Which means that reduz' beloved style which we all became used to
will now be changed automatically to remove the first empty line.
This makes us lean closer to 1TBS (the one true brace style) instead
of hybridating it with some Allman-inspired spacing.
There's still the case of braces around single-statement blocks that
needs to be addressed (but clang-format can't help with that, but
clang-tidy may if we agree about it).
Part of #33027.
|
|
|
|
Fix C# bindings after lightmapper changes
|
|
Using clang-tidy's `modernize-redundant-void-arg`.
https://clang.llvm.org/extra/clang-tidy/checks/modernize-redundant-void-arg.html
|