Age | Commit message (Collapse) | Author |
|
|
|
`SceneTree` Fix storing removed nodes to be skipped by the group calls
|
|
Strip ERR_FAIL from `Node.remove_from_group()`
|
|
|
|
Fix Windowfocus on resizing
|
|
|
|
Also simplifies group check removing unnecessary `!data.grouped.has`
|
|
|
|
Allow canceling Drag and Drop with the Escape-Key
|
|
This patch implements the functionality to cancel Drag and Drop
by using the escape key or more general, the ui_cancel action.
Since this would be the third location, where the finalization of
Drag and Drop would have to be implemented, that functionality was
put into the private function _perform_drop.
Simplified gui.drag_data.get_type() != Variant::NIL to gui.dragging
because they are equivalent.
|
|
|
|
A SubViewport with default-size doesn't display its content, but shows
pink color, until it is resized.
This patch makes sure, that the size gets set during initialization.
|
|
When resizing a non-focused window, the previously focused
Window got resized.
This patch grabs focus for the actually resized window, before
starting with the resizing.
|
|
|
|
|
|
[MP] Add peer authentication support to the default MultiplayerAPI.
|
|
Added Viewport canvas cull mask feature
|
|
Now handled directly by the MultiplayerAPI implementation.
|
|
Update root order on layer change
|
|
[MP] Add MultiplayerPeer disconnect_peer, close.
|
|
Co-authored-by: Valentin Zagura <puthre@gmail.com>
|
|
Unify usage of GLOBAL/EDITOR_GET
|
|
Remove error condition from get_global_transform()
|
|
Simplify GDVIRTUAL_CALL calls
|
|
Fix invalid tooltip position
|
|
Rename queue_delete => queue_free
|
|
Fix get_path() error when calling get_node()
|
|
Fix for 3D-physics processing:
- with enabled input_capture_on_drag now report correct position and
normals in _input_event
- mouse_enter and mouse_exit signals are emitted when the mouse cursor
leaves the visible area of the 3D-object, independently of pressed mouse
button or input_capture_on_drag
- make sure that collision input events are sent in the right order with
respect to mouse_enter and mouse_exit signals
|
|
Update ENet, WebRTC, and WebSocket to support peer disconnection and
unify the close function.
|
|
|
|
Prevent windows from having a size greater than device limit
|
|
Improve behaviour of clip_children by clipping to parent alpha value but still retaining parent color
|
|
Fix calling `_call_shortcut_input` on a node that has been removed
|
|
Remove unnecessary casts
|
|
MultiplayerPeer changes:
- Adds is_server_relay_supported virtual method
Informs the upper MultiplayerAPI layer if it can signal peers connected
to the server to other clients, and perform packet relaying among them.
- Adds get_packet_channel and get_packet_mode virtual methods
Allows the MultiplayerAPI to retrieve the channel and transfer modes to
use when relaying the last received packet.
SceneMultiplayerPeer changes:
- Implement peer signaling and packet relaying when the MultiplayerPeer
advertise they are supported.
ENet, WebRTC, WebSocket changes:
- Removed custom code for relaying from WebSocket and ENet, and let it
be handled by the upper layer.
- Update WebRTC to split create_client, create_server, and create_mesh,
with the latter behaving like the old initialize with
"server_compatibility = false", and the first two supporting the upper
layer relaying protocol.
|
|
Nodes may have been deleted by shortcuts. For example, when switching
scenes with `Ctrl` + `Tab` / `Ctrl` + `Shift` + `Tab`, some controls
will be deleted and recreated.
|
|
# Conflicts:
# editor/plugins/tiles/tiles_editor_plugin.cpp
|
|
|
|
button_add_item and button_add are both Button
p_parent is a Node3D
CanvasItem can never be cast to Viewport
|
|
|
|
|
|
|
|
|
|
In certain conditions events did not get propagated to Control childs of
Node2D nodes when setting a parent of the Node2D to toplevel.
This patch makes sure that such Control nodes become root control in the
viewport.
|
|
|
|
|
|
|
|
|
|
When the mouse cursor is over a embedded Window, the Viewport's
last_mouse_position did not get updated.
This patch makes sure that the update happens on every InputEventMouse.
Document canvas layer of embedded Windows.
|
|
Comment not to remove `data` structs in some Nodes
|