summaryrefslogtreecommitdiff
path: root/scene/main
AgeCommit message (Collapse)Author
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-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-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.
2023-01-06Merge pull request #68429 from KoBeWi/PropertySettingsRémi Verschelde
Add PropertyInfo overload for GLOBAL_DEF
2023-01-05One Copyright Update to rule them allRémi Verschelde
As many open source projects have started doing it, we're removing the current year from the copyright notice, so that we don't need to bump it every year. It seems like only the first year of publication is technically relevant for copyright notices, and even that seems to be something that many companies stopped listing altogether (in a version controlled codebase, the commits are a much better source of date of publication than a hardcoded copyright statement). We also now list Godot Engine contributors first as we're collectively the current maintainers of the project, and we clarify that the "exclusive" copyright of the co-founders covers the timespan before opensourcing (their further contributions are included as part of Godot Engine contributors). Also fixed "cf." Frenchism - it's meant as "refer to / see".
2023-01-03Merge pull request #70624 from bruvzg/cur_scRémi Verschelde
Improve `window_set_current_screen` and fix secondary window initial mode and positions.
2023-01-03Set main window min. size via Window object instead of DisplayServer to ↵bruvzg
preserve it during window updates.
2022-12-29Add safety-checks before some servers `free()`Adam Scott
2022-12-29Improve `window_set_current_screen` and fix secondary window initial mode ↵bruvzg
and positions.
2022-12-19Fix CanvasItem Z-index referring to Node2DAaron Franke
2022-12-19Merge pull request #70219 from bruvzg/msdf_outline_scalingRémi Verschelde
Scale MSDF font outline with the font size and MSDF source size to match dynamic font behavior.
2022-12-19Merge pull request #59682 from Sauermann/fix-following-viewport-transformRémi Verschelde
Include the follow-viewport-transform into CanvasLayer transform calculations
2022-12-19Add a method to get global modulatekobewi
2022-12-18Include the following-viewport-transform into CanvasLayer transformsMarkus Sauermann
The following-viewport-transform was missing from several calculations
2022-12-17Scale MSDF font outline with the font size and MSDF source size to match ↵bruvzg
dynamic font behavior.
2022-12-17Merge pull request #70202 from ↵Rémi Verschelde
Calinou/viewport-transparent-background-rename-project-setting Move transparent background project setting to a subsection
2022-12-17Move transparent background project setting to a subsectionHugo Locurcio
This prevents the project setting from being located directly within a root category, which is confusing from an UX perspective in the project settings editor.
2022-12-16Merge pull request #70075 from Sauermann/fix-missing-shortcut-handled-checkRémi Verschelde
Fix missing check if shortcut event is handled for Control-nodes