summaryrefslogtreecommitdiff
path: root/scene/main
AgeCommit message (Collapse)Author
2023-01-30Merge pull request #71995 from Faless/net/4.x_tls_verifyRémi Verschelde
[NET] Refactor TLS configuration.
2023-01-30Merge pull request #72115 from AThousandShips/clip_children_fixRémi Verschelde
Hide `clip_children` for some non-drawn CanvasItems
2023-01-30Hide clip_children for non-drawn CanvasItemsNinni Pipping
2023-01-30Fix Editor Description tooltip not changing until scene is reopenedHugo 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-27Merge pull request #71470 from YeldhamDev/window_fixesRémi Verschelde
Fix some small bugs in the `Window` node
2023-01-26Added assertion checkMarkus Sauermann
2023-01-26Merge pull request #68007 from Sauermann/fix-3d-captureRémi Verschelde
Fix event-content and mouse-signals with 3D-capture-on-drag
2023-01-26Merge pull request #68627 from Sauermann/fix-tooltip-positionRémi Verschelde
Fix position of Tooltips
2023-01-26Include the Window-transform into Viewport::get_final_transformMarkus Sauermann
2023-01-26Fix position of TooltipsMarkus 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-24PropertyUsage: Rename "DO_NOT_SHARE_ON_DUPLICATE" to "ALWAYS_DUPLICATE"Aaron Franke
2023-01-24Merge pull request #65137 from dalexeev/editor-namingYuri Sizov
Rearrange `editor/naming/*` project settings
2023-01-23Merge pull request #57606 from SaracenOne/update_on_reimportRémi Verschelde
Update instances of scenes which have been reimported.
2023-01-23Convert en_GB spelling to en_US with codespellRémi Verschelde
2023-01-22Merge pull request #71663 from bruvzg/init_pos_xRémi Verschelde
Reorganize main and sub-window initial position properties.
2023-01-21Merge pull request #70294 from KoBeWi/treedulateRémi Verschelde
Add a method to get global modulate
2023-01-21Merge pull request #71021 from reduz/prevent-physics-callback-removalRémi Verschelde
Error when removing a physics node during a physics callback
2023-01-20Merge pull request #71692 from HalcyonGarside/viewport-debug-draw-fixRémi Verschelde
Fix incorrect Viewport Debug Draw effects
2023-01-20Merge pull request #71679 from kleonc/draw_polyline_line_stripRémi Verschelde
`CanvasItem::draw_polyline` Support thin polylines drawn using line strip
2023-01-19Merge pull request #41239 from dalexeev/fix_draw_rectRémi Verschelde
Fix `CanvasItem.draw_rect` function with `filled = false`
2023-01-19Add 'Lighting' to list of Debug Draw viewport optionsHalcyonGarside
2023-01-19CanvasItem::draw_polyline Support thin polylines drawn using line stripkleonc
2023-01-19Reorganize main and sub-window initial position properties.bruvzg
2023-01-18Fix some small bugs in the `Window` nodeMichael Alexsander
2023-01-18Merge pull request #71623 from kleonc/draw_arc_clamp_to_single_circleRémi Verschelde
`CanvasItem::draw_arc` Clamp angle difference so arc won't overlap itself
2023-01-18CanvasItem::draw_arc Clamp angle difference so arc won't overlap itselfkleonc
2023-01-17Fix crash on touch releaseMai Lavelle
2023-01-17Fix `CanvasItem.draw_rect` function with `filled = false`Danil Alexeev
2023-01-16Update instances of scenes which have been reimported.SaracenOne
2023-01-16Merge pull request #69598 from Sauermann/fix-focus-inverseRémi Verschelde
Calculate the mouse focus inverse transform only when needed
2023-01-16Merge pull request #71502 from bruvzg/tooltip_clickthroughRémi Verschelde
Add `WINDOW_FLAG_MOUSE_PASSTHROUGH` flag and enabled it for tooltips.
2023-01-16Fix scaling issue in `draw_line` and similar methodsDanil Alexeev
2023-01-16Add `WINDOW_FLAG_MOUSE_PASSTHROUGH` flag and enabled it for tooltips. Expose ↵bruvzg
`window_set_mouse_passthrough` to `Window`.
2023-01-15Fix change_scene memory leak due to duplicate instantiationRémi Verschelde
Regression from #71105. Fixes #71363.
2023-01-13Improve dashed line alignment and make it optional.bruvzg
2023-01-13Merge pull request #71209 from bruvzg/ed_progress_reparentRémi Verschelde
Automatically reparent editor progress dialog to avoid error spam.
2023-01-12Rearrange `editor/naming/*` project settingsDanil Alexeev
2023-01-11Merge pull request #71105 from reduz/unload-current-sceneRémi Verschelde
Add SceneTree.unload_current_scene()
2023-01-11Automatically reparent editor progress dialog to avoid error spam.bruvzg
2023-01-10Add SceneTree.unload_current_scene()Juan Linietsky
Provides an obvious way to unload the currently loaded scene (which is nowhere to be found in the docs). The SceneTree.change_scene_to() method must now always provide a valid PackedScene. Fixes #63565.
2023-01-10Add Node::get_window() method.bruvzg
2023-01-09Merge pull request #70863 from bruvzg/win_init_minRémi Verschelde
Set main window min. size via Window object instead of DisplayServer to preserve it during window updates.
2023-01-09Calculate the mouse focus inverse transform only when neededMarkus Sauermann
Revival of #49158 Co-authored-by: Marcel Admiraal <madmiraal@users.noreply.github.com>
2023-01-09Clarify some parent item checks in CanvasItemYuri Sizov
2023-01-08Use BitField<> in core type masksJuan Linietsky
* All core types masks are now correctly marked as bitfields. * The enum hacks in MouseButtonMask and many other types are gone. This ensures that binders to other languages non C++ can actually implement type safe bitmasks. * Most bitmask operations replaced by functions in BitField<> * Key is still a problem because its enum and mask at the same time. While it kind of works in C++, this most likely can't be implemented safely in other languages and will have to be changed at some point. Mostly left as-is. * Documentation and API dump updated to reflect bitfields in core types.
2023-01-07Merge pull request #70939 from bruvzg/win_screen_2Rémi Verschelde
Add support for the custom initial screen for the main window, fix primary screen detection.
2023-01-07Merge pull request #36301 from KoBeWi/daddy_nodeRémi Verschelde
Add reparent methods to Node
2023-01-07Error when removing a phycics node during a physics callbackJuan Linietsky
* This behavior is not allowed, the error text suggests using call_deferred(). * Added a check in Node::remove_child to prevent future crashes of this type. * Fixed a performance regression introduced by #36244. Fixes #63718, probably other crashes too.
2023-01-07Add support for the custom initial screen for the main window, fix primary ↵bruvzg
screen detection.