summaryrefslogtreecommitdiff
path: root/scene
AgeCommit message (Collapse)Author
2023-01-12Merge pull request #71250 from smix8/navigation_tweak_agent2d_4.xRémi Verschelde
Tweak NavigationAgent2D defaults
2023-01-12Rename (de)selected signals to node_(de)selected in GraphNodeHendrik Brucker
2023-01-11Tweak NavigationAgent2D defaultssmix8
Tweaks default values for NavigationAgent2D to work better out of the box within a new 2D project using default resolution.
2023-01-11Merge pull request #71219 from ↵Rémi Verschelde
EricEzaM/68176-codeedit_update_code_completion_options_crash Fix crash in CodeEdit when caret column exceeds line length.
2023-01-11Fix crash in CodeEdit when caret column exceeds line length.Eric M
2023-01-11Merge pull request #71105 from reduz/unload-current-sceneRémi Verschelde
Add SceneTree.unload_current_scene()
2023-01-11Merge pull request #71183 from YuriSizov/control-refresh-layouts-by-parentsRémi Verschelde
Ensure that the cached layout mode is in sync
2023-01-11Merge pull request #71170 from reduz/text-loader-fixesRémi Verschelde
Text resource loader fixes
2023-01-11Merge pull request #71127 from reduz/drag-forward-to-callablesRémi Verschelde
Change set_drag_forwarding() to use callables.
2023-01-11Merge pull request #71042 from ↵Rémi Verschelde
marzecdawid/only-cursor-multiselect-tree-text-search Fix text search in Tree with multiselect
2023-01-10Ensure that the cached layout mode is in syncYuri Sizov
2023-01-10Text resource loader fixesJuan Linietsky
* Moved the order of progress update to after the actual resource loading to give better % numbers. * Fix a bug introduced by #67714, which broke cache ignoring.
2023-01-10Change set_drag_forwarding() to use callables.Juan Linietsky
* This solution is much cleaner than the one in 3.x thanks to the use of callables. * Works without issues in any language (no need to worry about camel or snake case). * Editor code uses a compatibility function (too much work to redo). Fixes #59899
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-10Merge pull request #70716 from ↵Rémi Verschelde
Calinou/particles-tweak-animation-offset-property-hint Tweak particles animation offset property hint to allow more precise values
2023-01-10Merge pull request #71147 from bruvzg/get_winRémi Verschelde
Add Node::get_window() method.
2023-01-10Merge pull request #71056 from marzecdawid/add-tree-deselect-all-to-gdscriptRémi Verschelde
Expose Tree::deselect_all to GDScript
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-09Merge pull request #69616 from reduz/change-uuidRémi Verschelde
Ability to change a resource UID from API
2023-01-10Merge pull request #71121 from YuriSizov/canvas-item-long-lost-parentYuri Sizov
Clarify some parent item checks in `CanvasItem`
2023-01-09Ability to change a resource UID from APIJuan Linietsky
* Works for text, binary and imported resources * Allows better clean up of duplicate files. TODO (future PRs): * Use this API for assigning new UIDs to copied files. * Use this API for UID conflict on FS scanning (if more than one file has the same UID, the newer one(s) should get assigned a different UID).
2023-01-09Clarify some parent item checks in CanvasItemYuri Sizov
2023-01-09Removed unused property hints and `Object::get_translatable_strings()`Juan Linietsky
* Remove unused `EditorPropertyMember` and related hints, previouly used by VisualScript. Such logic should be implemented in the VS module itself. * As the above broke compatibility with the VS module, clean up the other hacks that were still in core in support of VisualScript. * `PROPERTY_USAGE_INTERNATIONALIZED` was only used in Object's `get_translatable_strings()`, which is a legacy function not used anywhere. So both are removed. * Reordered some usage flags after the above removal to minimize the diff. * General clean up. Fixes #30203. Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2023-01-09Fix inconsistent state of Controls when editing and running scenesYuri Sizov
2023-01-09Fix unpressable buttonsDanil Alexeev
2023-01-09Merge pull request #71045 from reduz/use-bitfield-in-core-typesRémi Verschelde
Use BitField<> in core type masks
2023-01-08Merge pull request #71037 from reduz/array-format-bitfieldRémi Verschelde
Use BitField<> hint for Mesh.ArrayFormat and Control.SizeFlags
2023-01-08Merge pull request #70463 from DarkKilauea/nav-server-constRémi Verschelde
[4.x] Rework const on NavigationServer methods
2023-01-08Merge pull request #71064 from DarkMessiah/expose_clear_tabsRémi Verschelde
Expose TabBar::clear_tabs to GDScript
2023-01-08Merge pull request #69809 from KoBeWi/runtime_enabler_2dRémi Verschelde
Fix VisibleOnScreenEnabler disabling in editor
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-08Use BitField<> hint for ArrayFormatJuan Linietsky
This was missing in the conversion of bitflags to BitField<>.
2023-01-08Expose TabBar::clear_tabs to GDScriptStanislav Labzyuk
2023-01-08Expose Tree::deselect_all to GDScriptDawid Marzec
2023-01-07Rework const on NavigationServer methodsJosh Jones
`const` is used on all methods, even when they cause modification of the server. This reworks the methods of the server to only use `const` on method that don't change the state of the server.
2023-01-07Fix text search in Tree with multiselectDawid Marzec
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-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-06Merge pull request #71005 from dazKind/masterRémi Verschelde
CodeEdit: Fix typo 'get_code_comletion_prefixes' -> 'get_code_completion_prefixes'
2023-01-06fix typo 'comleption' -> 'completion'Michael Bickel
2023-01-06Add `uint` type support to visual shadersYuri Rubinsky
2023-01-06Merge pull request #70963 from YuriSizov/editor-dead-codes-societyRémi Verschelde
Simplify some editor plugin logic and remove dead code
2023-01-06Merge pull request #70547 from TokageItLab/pingpong-wrapRémi Verschelde
Fix pingpong-loop with `loop_wrap` is not working & clean-up cubic interpolation key retrieve process
2023-01-05Simplify some editor plugin logic and remove dead codeYuri Sizov
2023-01-05Merge pull request #65609 from dalexeev/animated-spriteRémi Verschelde
`AnimatedSprite{2D,3D}` improvements
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-05Merge pull request #67749 from JonqsGames/clean_physical_bone_instancingRémi Verschelde
Test joint type on _set for PhysicalBone joints