summaryrefslogtreecommitdiff
path: root/scene
AgeCommit message (Collapse)Author
2022-10-28Change all WEBP strings and comments to WebPDeeJayLSP
2022-10-28Merge pull request #67956 from RedMser/safe-velocity-typeClay John
Fix type of `safe_velocity` parameter
2022-10-28Fix spacing of few PROPERTY_HINT_ENUM hint_stringsMicky
2022-10-27Merge pull request #67644 from alfredbaudisch/add-selection-next-occurrenceClay John
Add Selection and Caret for Next Occurrence of Selection
2022-10-27Fix type of safe_velocity parameterRedMser
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 problems with `tab_changed` signal when removing multiple tabs at onceMichael Alexsander
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-27Make NavigationAgent `target_location` a propertyHaoyu Qiu
2022-10-26Warn if isometric TileMap is not Y-sortedkobewi
2022-10-26Remove override_selected_font_color propertykobewi
2022-10-26Fix `TextLine` and `TextParagraph` `get_*_object_rect` methods not ↵bruvzg
accounting for alignment and drop cap.
2022-10-25Fix multiple issues with region editorMrBlockers
Make the filter mode of the texture preview match the node/resource being edited where applicable, and nearest neighbor with mipmaps as a fallback. Make the Edit Region button for Sprite3D only appear when region is enabled, to match behavior of Sprite2D. Fix the editor not correctly clearing reference to previously edited resources, resulting in a visual bug displaying the incorrect texture.
2022-10-25Merge pull request #67431 from Chaosus/vs_fix_nodes_codeYuri Rubinsky
2022-10-24Rename queue_delete => queue_freeMarc Gilleron
# Conflicts: # editor/plugins/tiles/tiles_editor_plugin.cpp
2022-10-24`SceneTree` Fix storing removed nodes to be skipped by the group callskleonc
2022-10-24Warn against using non-uniform scale for 3D physicsRicardo Buring
Using non-uniform scale is known to cause many issues. Add warnings to the editor and to the class reference. Also remove the warning from SoftBody3D since it is not relevant there: it simulates in global space.
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-23Add alignment options to flow containerTeggy
2022-10-22Fix `TileMap` collision shapes debug drawkleonc
2022-10-22Ensure PopupMenu item is shaped when the shortcut is set.EricEzaM
2022-10-22Fix Control rect coordinate system inconsistencyMarkus Sauermann
Fix get_rect, get_global_rect and get_screen_rect to take Controls scale into account. Simplify get_screen_position and get_screen_rect
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-21Remove error condition from get_global_transform()kobewi
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-20Add buttons in Remote Scene TreeMicky
A Scene button to any scene instantiated from file. When clicked, it opens the original PackedScene. A toggle visibility button is also available.
2022-10-20Make terrain painting not change neighbors centers bitsGilles Roudière
2022-10-20Expose Shape2D::get_rect to scriptingsquash
2022-10-20Improve validation when setting `max`/`min`/`page` in `Range`Rindbee
The incoming value is validated first and then compared. Previously, when the ScrollContainer was scrolled, the ScrollBar of the other axis of the ScrollContainer would emit the changed signal. This commit avoids that.
2022-10-20Make `BaseButton` Shortcut feedback togglableGeorge L. Albany
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