Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-02-13 | Cleanup Window callbacks before destroying in to avoid callback calls with ↵ | bruvzg | |
invalid object. | |||
2023-02-11 | Merge pull request #73040 from Rindbee/popup_centered_consider_current_size | Rémi Verschelde | |
Calling popup_center* with the default size will use the current size | |||
2023-02-11 | Calling popup_center* with the default size will use the current size | Rindbee | |
2023-02-10 | Merge pull request #73000 from Sauermann/fix-editor-viewport-size-zero-crash | Rémi Verschelde | |
Fix crash in editor when setting `SubViewport.size` to zero | |||
2023-02-10 | Fix crash in editor when setting `SubViewport.size` to zero | Markus Sauermann | |
`Viewport::_set_size` now verifies, that the minimum size is at least 2x2. Also fix `RendererViewport::viewport_set_size` fail condition. | |||
2023-02-09 | Fix that `popup_centered` didn't take the window's size into consideration | Markus Sauermann | |
2023-02-08 | Optimize `draw_dashed_line()` and `draw_rect()` | Danil Alexeev | |
2023-02-07 | Merge pull request #62179 from Rindbee/fix-popup_center-off-center | Rémi Verschelde | |
Use min_size/max_size to limit window size and position while popup center | |||
2023-02-07 | Merge pull request #72829 from Sauermann/fix-code-simplifications | Rémi Verschelde | |
Some code simplifications | |||
2023-02-07 | Some code simplifications | Markus Sauermann | |
1. `number_width` isn't used later 2. `return_type` is used only once 3. AudioServer::get_singleton()->get_channel_count() always returns a channel_count of 1 or larger 4. negative `aa->backward` conditional 5. `current_canvas` == `find_world_2d()->get_canvas()` 6. identical if `render_shadows` | |||
2023-02-07 | Use min_size/max_size to limit the window size and the position while popup ↵ | Rindbee | |
center | |||
2023-02-07 | Fix Viewport::get_mouse_position for SubViewports | Markus Sauermann | |
SubViewports don't have a cached mouse position available. This PR calculates the mouse position from the screen position of the mouse cursor. | |||
2023-02-06 | Merge pull request #72740 from Sauermann/fix-event-device-id | Rémi Verschelde | |
Fix mouse/drag/touch InputEvents having no device id | |||
2023-02-06 | Fix mouse/drag/touch InputEvents having no device id | Markus Sauermann | |
Some internally created emulated/instantiated events didn't have a device id. This PR sets for these cases a device id. Also rename `DEVICE_ID_TOUCH_MOUSE` to the more generic `DEVICE_ID_EMULATION`. | |||
2023-02-06 | Fix MOUSE_FILTER_STOP not affecting emulated mouse events | Markus Sauermann | |
Touch and Drag events are now stopped by MOUSE_FILTER_STOP | |||
2023-02-06 | Merge pull request #68492 from Sauermann/fix-picking-sort | Rémi Verschelde | |
Fix propagation order for 2D physics picking events | |||
2023-02-04 | Fix propagation order for 2D physics picking events | Markus Sauermann | |
This patch adds a viewport-configuration-option for sorting physics-picking events by the Z-Index and the scene tree position of the collision objects. | |||
2023-02-03 | Fix Camera2D crash due to ParallaxBackground node | kobewi | |
2023-02-02 | Remove `Viewport::_get_input_pre_xform` | Markus Sauermann | |
This function is only relevant for `Window`. So this PR moves the functionality to the `Window`-class. | |||
2023-02-02 | Merge pull request #72618 from Sauermann/fix-simplify-set-size | Rémi Verschelde | |
Simplify Viewport::_set_size | |||
2023-02-02 | Simplify Viewport::_set_size | Markus Sauermann | |
`Viewport.to_screen_rect` is used only in a single location to compare it to `Rect2i()`. When called from `SubViewport`, `to_screen_rect` is always equal to `Rect2i()`. When called from `Window`, `to_screen_rect` is always different from `Rect2i()`. So the comparison `to_screen_rect != Rect2i()` can be replaced by `Object::cast_to<Window>(this)`. This allows the removal of `Viewport.to_screen_rect` and the simplification of `Viewport::_set_size`. | |||
2023-02-02 | Fix toplevel nomenclature | Markus Sauermann | |
toplevel was 3.x top_level is 4.x | |||
2023-02-01 | Fix Camera2D crashes | kobewi | |
2023-02-01 | More codespell fixes, do more changes from previous ignore list | Rémi Verschelde | |
2023-02-01 | Merge pull request #67331 from Sauermann/fix-subviewport-no-stretch-update | Rémi Verschelde | |
Fix stretch transform when resizing SubViewports | |||
2023-02-01 | Merge pull request #58610 from Sauermann/fix-physics-mouse | Rémi Verschelde | |
Fix execution of physics picking events at unexpected times | |||
2023-02-01 | Fix various typos with codespell | Rémi Verschelde | |
Finally do the childs -> children rename too. | |||
2023-02-01 | Fix stretch transform when resizing SubViewports | Markus Sauermann | |
Move calculation of stretch transform from outside to inside of `Viewport::_set_size` function. | |||
2023-02-01 | Merge pull request #71936 from akien-mga/remove-some-unused-signals | Rémi Verschelde | |
Remove some unused signals | |||
2023-02-01 | Merge pull request #71479 from raulsntos/virtual-return-type | Rémi Verschelde | |
Use enum instead of int in virtual methods return type | |||
2023-02-01 | Merge pull request #66906 from Sauermann/fix-prohibit-inconsistent-size-state | Rémi Verschelde | |
Prohibit inconsistent size state for SubViewport | |||
2023-01-31 | Prohibit inconsistent size state for SubViewport | Markus Sauermann | |
Prohibit size changes of SubViewports with parent SubViewportContainers that have stretch mode enabled. | |||
2023-01-31 | Use enum instead of int in virtual methods return type | Raul Santos | |
2023-01-31 | Merge pull request #65698 from KoBeWi/cameraman | Rémi Verschelde | |
Rework how current Camera2D is determined | |||
2023-01-31 | Remove some unused signals | Rémi Verschelde | |
Part of #37604. | |||
2023-01-31 | Fix MSVC shadow local warning | Rémi Verschelde | |
2023-01-31 | Merge pull request #59310 from Sauermann/proposal-event-transform | Rémi Verschelde | |
Calculate window input event transform only on window change | |||
2023-01-31 | Merge pull request #67507 from Sauermann/fix-toplevel-root-control-node | Rémi Verschelde | |
Fix event propagation to child after set_as_toplevel | |||
2023-01-30 | Merge pull request #71995 from Faless/net/4.x_tls_verify | Rémi Verschelde | |
[NET] Refactor TLS configuration. | |||
2023-01-30 | Merge pull request #72115 from AThousandShips/clip_children_fix | Rémi Verschelde | |
Hide `clip_children` for some non-drawn CanvasItems | |||
2023-01-30 | Hide clip_children for non-drawn CanvasItems | Ninni Pipping | |
2023-01-30 | Fix Editor Description tooltip not changing until scene is reopened | Hugo Locurcio | |
You still need to select another node to see the tooltip updated first, but you no longer need to save and reopen the scene to view the updated tooltip. | |||
2023-01-28 | [NET] Refactor TLS configuration. | Fabio Alessandrelli | |
Use a TLSOptions configuration object which is created via static functions. - "TLSOptions.client": uses the standard CA and common name verification. - "TLSOptions.client_unsafe": uses optional CA verification (i.e. if specified) - "TLSOptions.server": is the standard server configuration (chain + key) This will allow us to expand the TLS configuration options to include e.g. mutual authentication without bloating the classes that uses StreamPeerTLS and PacketPeerDTLS as underlying peers. | |||
2023-01-27 | Merge pull request #71470 from YeldhamDev/window_fixes | Rémi Verschelde | |
Fix some small bugs in the `Window` node | |||
2023-01-26 | Added assertion check | Markus Sauermann | |
2023-01-26 | Merge pull request #68007 from Sauermann/fix-3d-capture | Rémi Verschelde | |
Fix event-content and mouse-signals with 3D-capture-on-drag | |||
2023-01-26 | Merge pull request #68627 from Sauermann/fix-tooltip-position | Rémi Verschelde | |
Fix position of Tooltips | |||
2023-01-26 | Include the Window-transform into Viewport::get_final_transform | Markus Sauermann | |
2023-01-26 | Fix position of Tooltips | Markus Sauermann | |
CanvasItem::get_screen_transform returns a transform from the CanvasItem to the coordinate system, where a Popup - created as a child of the CanvasItem - should be opened. get_screen_transform makes some simplifications, that work well, when used in the editor, but not in general cases. Since Popups like Tooltips are now used more commonly in projects, it becomes necessary to correct these simplifications. This solution introduces Viewport::get_popup_base_transform, which makes the necessary calculations. | |||
2023-01-24 | PropertyUsage: Rename "DO_NOT_SHARE_ON_DUPLICATE" to "ALWAYS_DUPLICATE" | Aaron Franke | |