summaryrefslogtreecommitdiff
path: root/scene
AgeCommit message (Collapse)Author
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-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-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-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
2022-10-13Do not allow editing Scene-inherited signal connectionsMicky
Inherited connections are also highlighted with the warning color in the Node dock.
2022-10-13Optimize Convex CollisionJuan Linietsky
Implements the Gauss Mapping optimization to SAT convex collision test. * Described [here](https://ubm-twvideo01.s3.amazonaws.com/o1/vault/gdc2013/slides/822403Gregorius_Dirk_TheSeparatingAxisTest.pdf) by Dirk Gregorius. * Requires adding of face information to edges in MeshData * Took the chance to convert MeshData to LocalVector for performance.
2022-10-13Merge pull request #67348 from Mickeon/salvage-a-dear-commentRémi Verschelde
Comment not to remove `data` structs in some Nodes
2022-10-13Comment not to remove `data` structs in some NodesMicky
2022-10-13Merge pull request #67336 from jbcolli2/Normal-of-CylinderMeshRémi Verschelde
Fix bug in CylinderMesh when computing normals
2022-10-13Merge pull request #66337 from EricEzaM/sprite-framesRémi Verschelde
Ensure control built-in shortcuts are matched exactly & add shortcuts for SpriteFrames editor
2022-10-13Merge pull request #66357 from EricEzaM/shortcut-context-on-nodeRémi Verschelde
Move Shortcut Context to control and fix `shortcut_input` with `shortcut_context`
2022-10-13Changed normal of CylinderMesh to account for slanted side.jbcolli2