Age | Commit message (Collapse) | Author |
|
Recursive calls to Control::_modal_stack_remove could cause a crash because of the list element not being invalidated while being erased from the list.
It happens in the state machine case by hiding a line edit control when it loses focus.
Fixes #23808
|
|
|
|
codecustard/fix_scrollwheel_triggering_focus_change
Fix scrollwheel triggering focus change
|
|
|
|
Clicking or using the scrollwheel outside of the focused control triggers a focus change. This makes sense for mouse clicks, but scrollwheeling outside the focuses control does not. This PR ignores scrollwheeling outside of the focused control.
|
|
Fixes #31879
|
|
|
|
|
|
|
|
Closes #30448
|
|
|
|
Fix some editor crashes
|
|
|
|
|
|
Remove always true/false values
|
|
|
|
|
|
Fix Viewport and Camera issues
|
|
|
|
|
|
|
|
This matches other applications' and OS' tooltip behaviors
more closely.
|
|
Not that this is critical, but it makes behavior of GUI and 2D/3D picking consistent among them.
This also contributes to dropping GUI focus when the mouse leaves the window (in addition to when it loses focus).
|
|
1. Consider 'own_world' as well as 'world' to stop propagating enter/exit world notifications.
2. Clean & fix handling of camera currency.
This fixes some random crashes and error logs in the editor; namely
- when enabling/disabling own world in a Viewport;
- when switching back from a subscene displayed into a main scene's Viewport;
- when exiting the editor after any of them;
- memory corruption (can that explain certain other seemingly unrelated crash reports?).
This also fixes situations where a Viewport and its main Camera get out of sync about which World is relevant to them.
|
|
Make the Tooltip Position Offset Configurable
|
|
Fix fake null-motion mouse event flood
|
|
This commit also improves a bit the code quality by making the intent of fake events (and themselves) more explicit.
Fixes #26460.
|
|
|
|
Acknowledge mouse button events as position tellers (to make picking more solid; for instance, the touch mouse is raised with a mouse unpressed event that may have a more current position)
Forget mouse position for physics if touch mouse raised (because the position known as last is no longer meaningful)
Remove needless check for mouse over/exit (now there's code to inject an spurious move for cases where camera/objects have moved)
Restrict 2D mouse over/exit to mouse events (including emulated from touch; true touches shouldn't trigger the signals)
Fixes #26460.
|
|
|
|
|
|
|
|
#23672
Also fixed a few uninitialized memory variables.
|
|
Fixes #25316.
|
|
|
|
Using codespell 1.14.0.
Method:
```
$ cat > ../godot-word-whitelist.txt << EOF
ang
doubleclick
lod
nd
numer
que
te
unselect
EOF
$ codespell -w -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po"
$ git diff // undo unwanted changes
```
|
|
Also drop some unused files.
Renamed:
- `scene/2d/navigation2d.h` -> `navigation_2d.h`
- `scene/2d/screen_button.h` -> `touch_screen_button.h`
- `scene/3d/scenario_fx.h` -> `world_environment.h`
- `scene/audio/audio_player.h` -> `audio_stream_player.h`
- `scene/resources/bit_mask.h` -> `bit_map.h`
- `scene/resources/color_ramp.h` -> `gradient.h`
- `scene/resources/shape_line_2d.h` -> `line_shape_2d.h`
- `scene/resources/scene_format_text.h` -> `resource_format_text.h`
- `scene/resources/sky_box.h` -> `sky.h`
Dropped:
- `scene/resources/bounds.h`
|
|
|
|
#19785
|
|
root, fixes #24412
|
|
Happy new year to the wonderful Godot community!
|
|
Added physics_has_last_mousepos to better deal with
situations where there is no last_mousepos
|
|
|
|
Make opening menus with the same parent on mouse focus explicit
|
|
Add missing validations to prevent crash of multiple mouse buttons being
pressed
|
|
|
|
|
|
buttons are pressed). Fixes #19154 and likely many others.
WARNING: Test well in every OS, if mouse wheel events are not properly sent as pressed+unpressed pair, it will fail and break (and the OS needs to be fixed). Only tested on X11 so far.
|
|
|
|
|