summaryrefslogtreecommitdiff
path: root/scene
AgeCommit message (Collapse)Author
2022-02-09Merge pull request #57810 from timothyqiu/tree-button-idRémi Verschelde
2022-02-09Merge pull request #57837 from YeldhamDev/that_was_pointlessRémi Verschelde
2022-02-09Remove code to update the layout direction of submenus from `PopupMenu`Michael Alexsander
2022-02-09Merge pull request #57832 from Sauermann/fix-id-creationRémi Verschelde
2022-02-09Merge pull request #57813 from MisoMosiSpy/disabled_iconsRémi Verschelde
2022-02-09Adjust id creation in PopupMenu to avoid duplicate idsMarkus Sauermann
2022-02-09Updated alpha value for disabled icons in default theme.MisoMosiSpy
2022-02-08Merge pull request #57627 from JFonS/occluder_improvementsRémi Verschelde
2022-02-08Merge pull request #57773 from pfertyk/issue_57710_tabbar_update_hoverRémi Verschelde
2022-02-08Merge pull request #57819 from Jojox/fix_padded_texture_formatRémi Verschelde
2022-02-08Fix `TabBar._update_hover` crashPaweł Fertyk
Fixes #57710.
2022-02-08Use source image format when creating padded textureJoJoX
2022-02-08Add array element type to `_get_polygons` and `_get_outlines`Raul Santos
2022-02-08Improve TreeItem button APIHaoyu Qiu
2022-02-08Merge pull request #57692 from YeldhamDev/popping_optionsRémi Verschelde
2022-02-08Merge pull request #40140 from hinlopen/tree-scroll-centerRémi Verschelde
2022-02-08Merge pull request #57796 from akien-mga/revert-sname-theme-settersRémi Verschelde
2022-02-08Merge pull request #57720 from akien-mga/prefer-cast-to-get_class-string-compareRémi Verschelde
2022-02-08Revert "Add missing SNAME macro optimization to all theme methods call"Rémi Verschelde
This reverts commit a988fad9a092053434545c32afae91ccbdfbe792. As discussed in #57725 and clarified in #57788, `SNAME` is not meant to be used everywhere but only in critical code paths. For theme methods specifically, it was by design that only getters use `SNAME` and not setters.
2022-02-08Refactor some object type checking code with `cast_to`Rémi Verschelde
Less stringly typed logic, and less String allocations and comparisons.
2022-02-08Fix RayCast{2,3}D.clear_exceptions clears parentHaoyu Qiu
2022-02-07Fix theming for floating window docksMichael Alexsander
2022-02-07Improvements and fixes to occludersjfons
Improvements: * Occluder3D is now an abstract type inherited by: ArrayOccluder3D, QuadOccluder3D, BoxOccluder3D, SphereOccluder3D and PolygonOccluder3D. ArrayOccluder3D serves the same purpose as the old Occluder3D (triangle mesh occluder) while the rest are primitives that can be used to manually place simple occluders. * Occluder baking can now apply simplification. The "bake_simplification_distance" property can be used to set a world-space distance as the desired maximum error, set to 0.1 by default. * Occluders can now be generated on import. Using the "occ" and "occonly" keywords (similar to "col" and "colonly" for colliders) or by enabling on MeshInstance3Ds in the scene's import window. Fixes: * Fixed saving of occluder files after bake. * Fixed a small error where occluders didn't correctly update in the rendering server. Bonus content: * Generalized "CollisionPolygon3DEditor" so it can also be used to edit Resources. Renamed it to "Polygon3DEditor" since it was already being used by other things, not just colliders. * Fixed a small bug in "EditorPropertyArray" where a call to "remove" was left after the "remove_at" rename.
2022-02-07Merge pull request #57741 from Chaosus/vs_fixesRémi Verschelde
2022-02-07Merge pull request #57725 from jmb462/missing-sname-theme-settersRémi Verschelde
2022-02-07Merge pull request #57684 from KoBeWi/todo_optimizeRémi Verschelde
2022-02-07Add some more fixes to visual shaderYuri Roubinsky
2022-02-06Make popups from `MenuButton`, `OptionButton`, and submenus obey the layout ↵Michael Alexsander
direction
2022-02-06Add missing SNAME macro optimization to all theme methods calljmb462
2022-02-06Merge pull request #57716 from Chaosus/vs_vector_3dRémi Verschelde
Rename `PORT_TYPE_VECTOR` to `PORT_TYPE_VECTOR_3D` in visual shaders
2022-02-06Merge pull request #57721 from YeldhamDev/separate_from_separatorsRémi Verschelde
Better handle icons and checkboxes with separators in `PopupMenu`
2022-02-06Better handle icons and checkboxes with separators in `PopupMenu`Michael Alexsander
2022-02-06Enhancements and fixes for `OptionButton` and `PopupMenu`Michael Alexsander
2022-02-06Rename `PORT_TYPE_VECTOR` to `PORT_TYPE_VECTOR_3D`Yuri Roubinsky
2022-02-06Add missing SNAME macro optimization in some function callsjmb462
2022-02-06Rework CanvasItem visibility propagationkobewi
2022-02-05Merge pull request #57646 from Faless/mp/4.x_interfacesRémi Verschelde
[Net] Move RPC, Node cache out of MultiplayerAPI.
2022-02-05Merge pull request #48006 from KoBeWi/incognito_layerRémi Verschelde
Add visibility to CanvasLayer
2022-02-05Add visibility to CanvasLayerkobewi
2022-02-05Add shortcut_cell double click functionalityGer Hean
2022-02-05Center when scrolling to tree item.Stijn Hinlopen
2022-02-05Rework TextureButton stretchkobewi
2022-02-05[Net] Move RPC, Node cache out of MultiplayerAPI.Fabio Alessandrelli
Now uses two interfaces so it can be overridden in the future, and core no longer depends on Node. The interfaces are implements in scene/multiplayer. Replaces root_node with root_path. Remove all Node references from MultiplayerAPI.
2022-02-04Merge pull request #55950 from Faless/mp/4.x_replication_nodesRémi Verschelde
2022-02-04[Net] New replication interface, spawner and synchronizer nodes.Fabio Alessandrelli
Initial implementation of the MultiplayerReplicationInterface and its default implementation (SceneReplicationInterface). New MultiplayerSpawner node helps dealing with instantiation of scenes on remote peers (e.g. clients). It supports both custom spawns via a `_spawn_custom` virtual function, and optional auto-spawn of known scenes via a TypedArray<PackedScenes> property. New MultiplayerSynchornizer helps synchronizing states between the local and remote peers, supports both sync and spawn properties and is configured via a `SceneReplicationConfig` resource. It can also sync via path (i.e. without being spawned by a MultiplayerSpawner if both peers has it in tree, but will not send the spawn state in that case, only the sync one.
2022-02-04Merge pull request #57341 from bruvzg/win_multiwin_fsRémi Verschelde
2022-02-04[Windows] Add WS_BORDER flag to windows in WINDOW_MODE_FULLSCREEN mode to ↵bruvzg
allow multi-window interface in full-screen. [Windows] Add WINDOW_MODE_EXCLUSIVE_FULLSCREEN without WS_BORDER flag enabled (no multi-window support).
2022-02-04Cleanup and move char functions to the `char_utils.h` header.bruvzg
2022-02-04Merge pull request #57541 from reduz/node-add-remove-hookRémi Verschelde
2022-02-03Merge pull request #57562 from AnilBK/string-add-containsRémi Verschelde
String: Add contains().