Rémi Verschelde
4abe9183e3
Merge pull request #89926 from Sauermann/fix-button-mask-special-case
...
Fix a special case for button masks
2024-04-04 14:35:24 +02:00
Rémi Verschelde
32dcaa0659
Merge pull request #89920 from Sauermann/fix-event-order
...
Prohibit execution of delayed input events by different means
2024-04-04 14:35:20 +02:00
Rémi Verschelde
2ac88339e4
Merge pull request #89721 from KoBeWi/position_who
...
Rename some arguments called "position"
2024-04-04 14:31:35 +02:00
Rémi Verschelde
1dacd6a527
Merge pull request #89179 from groud/expose_tile_map_layer
...
Expose TileMapLayer
2024-04-04 14:31:16 +02:00
Rémi Verschelde
f47f4a02c8
Merge pull request #89992 from ajreckof/fix-my-mistake-with-replace-in-update-scene
...
Fix node duplication in update after external changes.
2024-04-04 02:53:57 +02:00
ajreckof
ae472865d0
fix node duplication in update after external changes.
2024-04-03 12:19:38 +02:00
Gilles Roudière
3cd4b2859c
Expose TileMapLayer
2024-04-03 11:02:34 +02:00
Markus Sauermann
48ea019322
Fix a special case for button masks
...
In certain situations it is possible that in a `Viewport` the same
mouse button is pressed twice in series without releasing it in
between.
In this case, focus stealing should happen to ensure, that the
mouse button is not sent unintentionally to the previously focused
Control node.
2024-03-28 20:22:49 +01:00
Rémi Verschelde
af08342fd8
Merge pull request #89957 from warriormaster12/regress-dup
...
Fix regression when duplicating a node with a resource attached
2024-03-28 10:47:39 +01:00
Markus Sauermann
945babc619
Prohibit execution of delayed input events by different means
...
In some cases it can happen, that the order of input events and
window events is not followed, when input buffering or input accumulation
is active.
The display server order `InputEvent` => window-event gets changed to
window-event => `InputEvent` which becomes problematic in certain
situations.
This PR makes sure, that the order is adhered to by flushing input events
before a window event is sent.
Previously this problem was mitigated by discarding these delayed events.
But this solution was problematic in the setting of android input events.
2024-03-27 20:58:15 +01:00
warriormaster12
9533543aa5
Fix duplicating resources regression
2024-03-27 11:51:29 +02:00
kobewi
25f9f923a1
Rename some arguments called "position"
2024-03-27 01:28:24 +01:00
Rémi Verschelde
d66539e485
Merge pull request #89673 from bruvzg/f_na_ed
...
Do not apply `force_native` to the edited scene windows.
2024-03-25 13:16:03 +01:00
Rémi Verschelde
17c66c0bea
Merge pull request #89805 from AThousandShips/viewport_report
...
Add missing `RenderInfoType` enum to `Viewport`
2024-03-25 11:18:43 +01:00
Rémi Verschelde
9d8697ab01
Merge pull request #89686 from kleonc/unique-node-names-check-owned-then-in-owner
...
Always look for unique node names in owner if not found in owned nodes
2024-03-24 01:21:28 +01:00
Rémi Verschelde
1d4907243e
Merge pull request #89628 from twobitadder/whoops_no_internals_pls
...
Fix crash on `reparent()` with Node containing internal children
2024-03-24 01:19:34 +01:00
Rémi Verschelde
cd4e4c0fcc
Merge pull request #89111 from AThousandShips/vec_use
...
Use `Vector*` component-wise `min/max/clamp` functions where applicable
2024-03-24 01:14:51 +01:00
Rémi Verschelde
e92806c7e7
Merge pull request #88424 from rburing/fti_2d
...
Physics interpolation (2D)
2024-03-24 01:13:53 +01:00
Rémi Verschelde
8c470749f1
Merge pull request #87387 from warriormaster12/dup_prop_refactor
...
Fix property of type Node duplication when script is attached to a child node
2024-03-24 01:12:57 +01:00
A Thousand Ships
8a88e5ea07
Add missing RenderInfoType
enum to Viewport
2024-03-23 14:03:08 +01:00
Ricardo Buring
2ed2ccc2d8
Fixed Timestep Interpolation (2D)
...
Adds fixed timestep interpolation to the rendering server (2D only).
Switchable on and off with a project setting (default is off).
Co-authored-by: lawnjelly <lawnjelly@gmail.com>
2024-03-23 12:28:36 +01:00
A Thousand Ships
79ba22a73f
Use Vector*
component-wise min/max/clamp
functions where applicable
2024-03-20 13:47:42 +01:00
kleonc
95ced4bbdc
Always look for unique node names in owner if not found in owned nodes
2024-03-19 22:13:10 +01:00
bruvzg
92d69da7a6
Do not apply "force_native" to the edited scene windows.
2024-03-19 12:39:50 +02:00
twobit
b9bade8db1
fixes crash on nodes with internal children
2024-03-17 22:44:05 -04:00
warriormaster12
9851c1bdd8
Fix property duplication when duplicating a parent node
2024-03-17 09:57:38 +02:00
Rémi Verschelde
453485aede
Merge pull request #89270 from Repiteo/enforce-typename-in-templates
...
Enforce template syntax `typename` over `class`
2024-03-14 22:34:37 +01:00
Aaron Franke
6aac3e4a16
Disable all 3D nodes, physics, and resources when compiling without 3D
2024-03-11 01:00:55 -07:00
Rémi Verschelde
ba062e1f46
Merge pull request #89298 from Mickeon/CanvasItem-error-clean-as-hell
...
Make CanvasItem's "drawing outside of NOTIFICATION_DRAW" error a macro
2024-03-10 21:12:57 +01:00
Aaron Franke
c1e9842afb
Organize 2D audio, camera, and physics in Viewport
2024-03-10 13:10:13 -07:00
Micky
e08fb19bd1
Make CanvasItem's "drawing outside of NOTIFICATION_DRAW" error a macro
2024-03-09 22:47:54 +01:00
Thaddeus Crews
9903e6779b
Enforce template syntax typename
over class
2024-03-07 22:39:09 -06:00
bruvzg
cfdb968848
[Window] Allow to override viewport and project settings and force use of native window.
2024-03-04 23:06:27 +02:00
Micky
7b3e1a5bde
Optimize SceneTree's change_scene_to_file
autocompletion
2024-03-01 15:12:52 +01:00
Rémi Verschelde
c1377920cd
Merge pull request #86743 from Mickeon/autocompletion-optimise-object
...
Optimise comparisons for Object's `get_argument_options`
2024-03-01 14:56:06 +01:00
Micky
cd2032a90b
Optimise Object's get_argument_options
2024-02-29 18:00:54 +01:00
Rémi Verschelde
99ba2519ea
Merge pull request #88992 from Sauermann/fix-window-mouse-notification
...
Fix mouse entered notifications
2024-02-29 13:55:12 +01:00
Rémi Verschelde
9cf48f5365
Merge pull request #88963 from adamscott/hide-to-advanced-snap-2d-vertices
...
Move `rendering/2d/snap/snap_2d_vertices_to_pixel` setting to advanced view
2024-02-29 13:54:46 +01:00
Markus Sauermann
d259f979f5
Fix mouse entered notifications
...
Make sure, that a windows initial state is `mouse_in_viewport = false`.
This makes sure, that the mouse entered notification is sent when the
mouse hovers a window for the first time.
For embedded Windows, `NOTIFICATION_WM_MOUSE_ENTER` is currently sent
twice in a row. Remove one of the places where it is sent.
`Window::_update_mouse_over()` is the correct one, because there it is
also called for native windows.
2024-02-29 00:57:31 +01:00
Adam Scott
dcf4cf79fd
Hide snap_2d_vertices_to_pixel setting to advanced
2024-02-28 10:59:41 -05:00
Michael Alexsander
d70c45b5c8
Add option to add built-in strings in the POT generation
2024-02-28 11:34:26 -03:00
Rémi Verschelde
3dca3c22fc
Merge pull request #88497 from Sauermann/fix-owner-import
...
Fix owner when importing meshes
2024-02-27 21:23:00 +01:00
smix8
35dafc9fa8
Split monolithic physics class files
...
Splits monolithic physics class files.
2024-02-27 11:18:16 +01:00
Markus Sauermann
c58607c32f
Fix owner when importing meshes
...
Handle the case correctly, that a child of a replaced node has
as owner an ancestor of the replaced node.
2024-02-26 22:24:57 +01:00
Aaron Franke
c399424db9
Move 3D-only resources to their own folder
2024-02-26 05:23:04 -06:00
Rémi Verschelde
10694ea027
Merge pull request #88755 from stoofin/debug-draw-enum-names
...
Add all `Viewport.debug_draw` enum options to dropdown
2024-02-26 10:49:12 +01:00
kobewi
75ba837612
Fix inefficient list iteration in Node
2024-02-24 23:18:44 +01:00
stoofin
b6c033fc39
Add all Viewport.debug_draw enum options to dropdown
2024-02-23 23:55:01 -08:00
A Thousand Ships
3a707b1f54
Fix some additional errors with 3D disabled
...
* Disabled 2D navigation tests as they do not work
* Disabled tests for primitive meshes
* Unbound some `Mesh` methods that rely on 3D resources
* Unexposed `World3D` as it depends on physics (and isn't useful)
* Unexposed some `Viewport` vrs related properties that had unexposed
methods
2024-02-23 20:58:56 +01:00
Rémi Verschelde
3ce9ae71fc
Merge pull request #84906 from /fix-some-defvals
2024-02-23 11:29:22 +01:00