summaryrefslogtreecommitdiff
path: root/scene
AgeCommit message (Collapse)Author
2022-10-28[MP] Add MultiplayerPeer disconnect_peer, close.Fabio Alessandrelli
Update ENet, WebRTC, and WebSocket to support peer disconnection and unify the close function.
2022-10-27Merge pull request #67644 from alfredbaudisch/add-selection-next-occurrenceClay John
Add Selection and Caret for Next Occurrence of Selection
2022-10-27Merge pull request #67939 from sambriels/emit-signal-after-target-reachedClay John
[NavigationAgent2D/3D]: target_reached signal is emitted before internal state is updated
2022-10-27Merge pull request #64710 from MinusKube/window-size-crashClay John
Prevent windows from having a size greater than device limit
2022-10-27Merge pull request #67043 from clayjohn/clip_childrenClay John
Improve behaviour of clip_children by clipping to parent alpha value but still retaining parent color
2022-10-27Merge pull request #67926 from Rindbee/fix_call_shortcut_inputClay John
Fix calling `_call_shortcut_input` on a node that has been removed
2022-10-27Merge pull request #67832 from Sauermann/fix-remove-unnecessary-castsClay John
Remove unnecessary casts
2022-10-27Merge pull request #66383 from aaronfranke/basis-from-eulerClay John
Clean up Basis from Euler code
2022-10-27[MP] Let MultiplayerAPI handle packet relaying and peer signaling.Fabio Alessandrelli
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.
2022-10-27Emit target_reached signal after state is updatedSam Briels
2022-10-27Fix calling `_call_shortcut_input` on a node that has been removedRindbee
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.
2022-10-25Merge pull request #67431 from Chaosus/vs_fix_nodes_codeYuri Rubinsky
2022-10-24Remove unnecessary castsMarkus Sauermann
button_add_item and button_add are both Button p_parent is a Node3D CanvasItem can never be cast to Viewport
2022-10-23Merge pull request #67390 from groud/more_conservative_terrain_paintingClay John
Make terrain painting not change neighbors centers bits
2022-10-23Merge pull request #67513 from ↵Clay John
Calinou/editor-light2d-fix-shadow-filter-smooth-visibility Fix Light2D Shadow Filter Smooth property being visible with filter None
2022-10-23Merge pull request #67566 from Sauermann/fix-code-simplificationsClay John
Code simplifications
2022-10-21Clean up Basis from Euler codeAaron Franke
2022-10-21Merge pull request #67684 from patchfx/fix-typo-in-draw-rect-regionMax Hilbrunner
Fix tp_canvas_item typo in _draw_rect_region
2022-10-21Merge pull request #67627 from KoBeWi/tilterMax Hilbrunner
Fix texture filter and repeat in TileMap
2022-10-21Add Selection and Caret for Next Occurrence of SelectionAlfred Reinold Baudisch
Adds the bind `add_selection_for_next_occurrence` to TextEdit, with CTRL+D as the default shortcut. When the bind is performed, ff a selection is currently active with the last caret in text fields, searches for the next occurrence of the selection, adds a caret and selects the next occurrence. If no selection is currently active with the last caret in text fields, selects the word currently under the caret. The action can be performed sequentially for all occurrences of the selection of the last caret and for all existing carets. The viewport is adjusted to the latest newly added caret. The bind and the behaviour is similar to VS Code's "Add Selection to Next Find Match" and JetBrains' "Add Selection for Next Occurrence". It takes advantage of the multi-caret API. The default shortcut for `select_word_under_caret` has been changed to ALT+G, in order to give priority to CTRL+D for `add_selection_for_next_occurrence` to better align with popular IDEs and editors.
2022-10-20Merge pull request #67506 from squashiv/masterClay John
Expose Shape2D::get_rect to scripting
2022-10-20Fix tp_canvas_item typo in _draw_rect_regionRichard Patching
2022-10-20Make terrain painting not change neighbors centers bitsGilles Roudière
2022-10-20Expose Shape2D::get_rect to scriptingsquash
2022-10-19Fix texture filter and repeat in TileMapkobewi
2022-10-19Merge pull request #66546 from KoBeWi/rfeipletaetrClay John
Add methods to get target filter and repeat
2022-10-19Merge pull request #66279 from aaronfranke/control-min-sizeMax Hilbrunner
Revert `custom_minimum_size` type back to `Vector2` instead of `Vector2i`
2022-10-19Merge pull request #66940 from aaronfranke/doc-get-tr-aabbMax Hilbrunner
Remove the global space `get_transformed_aabb` helper method
2022-10-19Merge pull request #67249 from wuyingnan/fix_quaternion_typoMax Hilbrunner
Fix a comment typo in node_3d.h
2022-10-19Merge pull request #67527 from BastiaanOlij/fix_tracker_namesMax Hilbrunner
Fix two typos in tracker names and a bug in OpenXR haptic feedback
2022-10-19Add methods to get target filter and repeatkobewi
2022-10-19Fix code generation for some visual shader nodesYuri Rubinsky
2022-10-18Fix typo in VisualShader DistanceFade nodePatrick
2022-10-18Remove the global space `get_transformed_aabb` helper methodAaron Franke
2022-10-18Code simplificationsMarkus Sauermann
1. Viewport::get_visible_rect().position is always zero. So Control::get_window_rect is identical to Control::get_global_rect. Remove Control::get_window_rect since it is not used in the source code. 2. sqrt(a * a) = abs(a) for doubles 3. Simplify affine_inverse combination 4. Simplify calculation in shaders
2022-10-17Merge pull request #67491 from Paulb23/fix-undo-redo-viewport-adjustRémi Verschelde
Fix undo redo not adjusting TextEdit viewport to caret
2022-10-17Fix two typos in tracker names and a bug in OpenXR haptic feedbackBastiaan Olij
2022-10-17Fix Light2D Shadow Filter Smooth property being visible with filter NoneHugo Locurcio
2022-10-16Fix undo redo not adjusting TextEdit viewport to caretPaulb23
2022-10-15Expose Viewport::get_screen_transform to GDScriptMarkus Sauermann
2022-10-15Merge pull request #63332 from KoBeWi/static_images_aka_photosRémi Verschelde
Make some Image methods static
2022-10-14Rename pos -> index on NodeMiguel Gonzalez Sanchez
2022-10-14Implement multiple clip_children modes for CanvasItemsclayjohn
2022-10-14Make some Image methods statickobewi
2022-10-14Merge pull request #67385 from ↵Rémi Verschelde
Sauermann/fix-viewport-mouse-position-update-on-subwindows
2022-10-14Always update Viewport's last_mosue_positionMarkus Sauermann
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.
2022-10-14Abort LineEdit shaping if no font is set to avoid unnecessary error messages.bruvzg
2022-10-14Merge pull request #66665 from Mickeon/editor-do-not-edit-inherited-signalsRémi Verschelde
Do not allow editing Scene-inherited signal connections
2022-10-14Merge pull request #63607 from BastiaanOlij/fix_xr_originRémi Verschelde
Add current setting to XROrigin3D and fix double positioning HMD
2022-10-13Merge pull request #66294 from reduz/optimize-convex-collisionRémi Verschelde