Age | Commit message (Collapse) | Author |
|
Added Viewport canvas cull mask feature
|
|
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()
|
|
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
contexts. Also ensure that controls with no context are only triggered AFTER nodes which do have a context.
|
|
Improve Popup / Window behavior in the edited scene tree.
|
|
Otherwise this can fail as the size may not fit
into current limits. This is problematic at least
on X11.
|
|
Add a project setting to make the root viewport transparent
|
|
irrelevant `Popup` flags from the editor inspector.
|
|
Co-authored-by: ryburnj <jordanryburn@gmail.com>
|
|
This allows recording videos with a transparent background without
having to create a script.
|
|
|
|
change warnings=all to use /W4.
|
|
Fix Transform2D det == 0 spam for SubViewports
|
|
|
|
Fix invalid popup position for embedded popups
|
|
Make sure to reset the tooltip of its gui_parent when the viewport is removed
|
|
|
|
|
|
- `LIBC_FILEIO_ENABLED` wasn't defined anywhere, even in _other platforms_.
- `NO_NETWORK` is also never defined. It probably isn't enough anyway to
disable network APIs in the current codebase.
- `UNIX_SOCKET_UNAVAILABLE` is never defined in this code but used by some
other platforms, clarify that.
- `NO_STATVFS` can be removed as Android supports it since API level 19,
which is our current min SDK level. It's also only used for
`DirAccessUnix::get_space_left()` which is anyway overridden by
`DirAccessJAndroid::get_space_left()` so it shouldn't make a difference.
* Fixed documentation for `DirAccess.get_space_left()`.
- `NO_FCNTL` is likely also a remnant of early Android days, in current NDK
r23 it seems to be available. Also cleaned up unused `fcntl.h` includes.
- `NO_ALLOCA` is never defined, and we use alloca in many places now.
|
|
|
|
Update mouse cursor shape after changes
|
|
Use double instead of real_t type for time-related parameters and variables
|