Age | Commit message (Collapse) | Author |
|
Viewport environment is updated properly when set to own world
|
|
Happy new year to the wonderful Godot community!
We're starting a new decade with a well-established, non-profit, free
and open source game engine, and tons of further improvements in the
pipeline from hundreds of contributors.
Godot will keep getting better, and we're looking forward to all the
games that the community will keep developing and releasing with it.
|
|
This reverts commit cafb888361eba08297dd88b18dc71f4d418525c0.
Fixes #34405.
Reopens #8799, #24064.
|
|
|
|
When own_world property is set, the viewport stores a unique resource for the world. With this change it keeps being updated from changes made to the world property instead of storing a default empty world with environment settings that can't be modified.
Fixes #23412
|
|
following up f392c4ea7a778db6c5c73a1c6b9348b84707ee81
|
|
Add MSAA mode for Quest
|
|
|
|
Drop the physics mouseover whenever a input has been handled.
|
|
Game camera override
|
|
Allow tab key to be used for shortcuts
|
|
Implemented uniform API in Viewport class to override 2D and/or
3D camera.
Added buttons in 2D and 3D editor viewport toolbars that override
the running game camera transform with the editor viewport camera
transform. Implemented via remote debugger protocol and camera
override API.
Removed LiveEditFuncs function pointers from ScriptDebugger class.
Since the debugger got access to the SceneTree instance (if one
exists), there is no need to store the function pointers. The live
edit functions in SceneTree are used directly instead. Also removed
the static version of live edit functions in SceneTree for the same
reason. This reduced the SceneTree -> Debugger coupling too since
the function pointers don't need to be set from SceneTree anymore.
Moved script_debugger_remote.h/cpp from 'core/' to 'scene/debugger/'.
This is because the remote debugger is now using SceneTree directly
and 'core/' classes should not depend on 'scene/' classes.
|
|
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
|
|
|
|
|
|
Fixes #29575
|
|
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.
|
|
|