Age | Commit message (Collapse) | Author |
|
Also apply clang-format.
|
|
Provide default Tween values for transition and easing types
|
|
Fixes long popup menu scroll behavior
|
|
Expose Mesh get_aabb
|
|
|
|
Fixes crash after remove_line in RichTextLabel
|
|
|
|
`ItemFrame` always have a line.
|
|
See https://github.com/godotengine/godot/pull/23658#issuecomment-562706669
The method was implemented back when Dictionary.get(key, default) did not
exist, but now that it does we do not need a custom method in CharFXTransform.
It's a new feature in 3.2, so does not break compat with 3.1.x.
|
|
TRANS_LINEAR and EASE_IN_OUT are chosen as defaults for
interpolation and follow methods.
|
|
|
|
Fixes crash after set_piece_texture with invalid texture
|
|
Fixes crash when using DynamicFont::set_font_data
|
|
Fixes crash when shader inputs/outputs is invalid string
|
|
|
|
|
|
|
|
|
|
Removed unused variables, add some constants numbers
|
|
|
|
Popup menus longer than the viewport have stange behaviors before this
fix:
* They always have one pixel outside the viewport.
* You can scroll down the long menu even if bottom outside screen and
top inside the screen. (Only menus one pixel above the screen is limited
to scroll down.)
|
|
|
|
Hide LineEdit placeholder if IME composition string is not empty.
|
|
|
|
|
|
|
|
|
|
|
|
Fixed antialiased option for Polygon2D
|
|
In the 3D version:
- Partially revert #20908 that was reverted in the 2D version as part
of #21653. This ensures that the Vector returned is always perpendicular
to the surface collided with; and not the floor_normal Vector passed to
the function when on a floor.
- Include an update of the floor velocity before multiplying by the time
delta, which was added to the 2D version as part of commit 13a8014.
In the 2D version:
- Use the Vector2.slide() function instead of Vector2.tangent() to adjust
the amount of motion the stop_on_slope undoes to ensure that it is in the
right direction. This is a implementation of the 3D approach from #30588.
- Combine the !found_collision and motion == Vector2() checks for break.
- Other minor formating changes to make the functions look identical.
Also renamed some variables to align with their use.
|
|
It was triggering a warning in bullet followed with a crash in some cases.
WARNING: assert_no_constraints: A body with a joints is destroyed. Please check the implementation in order to destroy the joint before the body.
At: modules/bullet/rigid_body_bullet.cpp:465
|
|
|
|
|
|
Update transform property in the inspector when changing translation/rotation/scale
|
|
translation/rotation/scale
|
|
Handle state machine travel before the start node is processed
|
|
Port Path2D changes to 3D
|
|
|
|
|
|
This change allows travel() to be called on AnimationNodeStateMachinePlayback during _ready(), before the start node has been processed and the state machine is considered playing.
|
|
Polygon2D:
The property wasn't used anymore after switching from canvas_item_add_polygon() to canvas_item_add_triangle_array() for drawing.
Line2D:
Added the same property as for Polygon2D & fixed smooth line drawing to use indices correctly.
Fixes #26823
|
|
|
|
This makes it consistent with Spatial.
|
|
This wasn't a very good idea as it puts too strict requirements on how
to set `min` and `max` values. For example, since the default min and
max are 0 and 100, this triggers an error:
```
set_min(256)
set_max(16384)
```
Since `min` will be higher than `max` temporarily. It can be worked
around by setting max first, but it's not really intuitive. I'll relax
the requirement as it's only a problem in `get_as_ratio`, which already
has a check.
Fix another min == max occurrence.
|
|
It will now raise an error whenever this happens so that we can fix
these situations. `max == min` is not allowed as it could lead to
divisions by zero in ratios, and `max < min` doesn't make much sense.
Fixes #33907.
|
|
|
|
Fix WindowDialog moving when resized from the left/top edge
|
|
Add download_chunk_size property to HTTPRequest.
|
|
StyleBox preview adjusted to fit all drawn content
|
|
get_combined_minimum_size() must be used in order to consider the min size
specified by the user when determining how far the left/top edge is allowed
to move. Otherwise the dialog may think it can shrink further than it
should, causing the right/bottom edge to move when the rect size is fixed in
set_size().
|