1
0
Fork 0
Commit Graph

6998 Commits

Author SHA1 Message Date
Thaddeus Crews 461c45f2a1
Merge pull request #106188 from smix8/nav2d_editorplugins
Move 2d navigation related editor plugins to `navigation_2d` module.
2025-05-09 11:29:20 -05:00
Thaddeus Crews df3485812a
Merge pull request #105519 from KoBeWi/translation_library
Improve AssetLib auto-translation
2025-05-09 11:29:17 -05:00
Thaddeus Crews f0edac3d36
Merge pull request #102933 from KoBeWi/antivirus
Don't synchronize scripts with errors
2025-05-09 11:29:13 -05:00
Thaddeus Crews cb0f2b5230
Merge pull request #106117 from jaydensipe/zoom-performance-smoooooth
Improve zoom performance in `Script` and `Shader` editors
2025-05-09 11:29:12 -05:00
kobewi 92659a69a3 Fix wrongly assigned emission_normal_texture 2025-05-09 14:38:53 +02:00
Haoyu Qiu 97de0ac66c Script Editor: Fix Ctrl-Drag unique-name Editable Children 2025-05-09 09:34:57 +08:00
Jayden Sipe a874863c46 Improve zoom performance in Script and Shader editors 2025-05-08 19:33:21 -04:00
smix8 cc1b51e8a2 Move 2d navigation related editor plugins to navigation_2d module
Moves 2d navigation related editor plugins to navigation_2d module.
2025-05-08 23:59:13 +02:00
smix8 e9a8c7e858 Move NavigationLink3DGizmoPlugin to navigation_3d module
Moves NavigationLink3DGizmoPlugin to navigation_3d module. Adds stub NavigationLink3DEditorPlugin.
2025-05-08 22:28:58 +02:00
kobewi 9e0203a58a Don't synchronize scripts with errors 2025-05-08 17:29:15 +02:00
kobewi 22198497fe Improve AssetLib auto-translation 2025-05-08 14:37:15 +02:00
Thaddeus Crews e36632a71d
Merge pull request #105588 from smix8/navobstacle_3d_plugin
Move `NavigationObstacle3DEditorPlugin` to `navigation_3d` module
2025-05-08 07:19:38 -05:00
Thaddeus Crews e9ddf57791
Merge pull request #105593 from smix8/navregion_3d_gizmo_plugin
Move `NavigationRegion3DGizmoPlugin` to `navigation_3d` module.
2025-05-07 12:48:32 -05:00
Thaddeus Crews 02206f45b7
Merge pull request #106134 from stuartcarnie/macos_embedded_followup
macOS: Additional improvements and fixes for embedded window support
2025-05-07 12:48:23 -05:00
Thaddeus Crews affbfa5b4e
Merge pull request #89746 from KoBeWi/NOTification
Remove `NOTIFICATION_ENTER_TREE` when `NOTIFICATION_THEME_CHANGED` is used
2025-05-07 12:48:21 -05:00
Stuart Carnie 9290adee38 MacOS: Additional improvements and fixes for embedded window support 2025-05-07 06:11:05 +10:00
smix8 3307be5038 Move NavigationObstacle3DEditorPlugin to navigation_3d module
Moves NavigationObstacle3DEditorPlugin to navigation_3d module.
2025-05-06 20:50:28 +02:00
smix8 63bd35e7cf Move NavigationRegion3DGizmoPlugin to navigation_3d module
Moves NavigationRegion3DGizmoPlugin to navigation_3d module.
2025-05-06 20:49:42 +02:00
Thaddeus Crews bd22587170
Merge pull request #106093 from KoBeWi/deprecated_forever
Remove registration of deprecated classes
2025-05-06 08:38:05 -05:00
Thaddeus Crews aa24e3b671
Merge pull request #105884 from stuartcarnie/macos_embedded
macOS: Embedded window support.
2025-05-06 08:37:59 -05:00
kobewi d32d2e9b51 Remove NOTIFICATION_ENTER_TREE when NOTIFICATION_THEME_CHANGED is used 2025-05-06 15:28:03 +02:00
Stuart Carnie 00e1fdec2c MacOS: Embedded window support. 2025-05-06 06:09:05 +10:00
Danil Alexeev 0a07ae7bf1
Editor: Fix documentation for built-in scripts 2025-05-05 21:26:30 +03:00
kobewi 242293c451 Remove registration of deprecated classes 2025-05-05 20:16:50 +02:00
Thaddeus Crews e348d09e1a
Merge pull request #90558 from Daylily-Zeleen/daylily-zeleen/add_include_exclude_to_FindInFiles
Add include/exclude to `FindInFiles` for filtering files.
2025-05-05 11:24:13 -05:00
Daylily-Zeleen 1bccf5c9a3 Add include/exclude to `FindInFiles` for filtering files. 2025-05-03 23:31:52 +08:00
Thaddeus Crews da462c093a
Merge pull request #105147 from Lazy-Rabbit-2001/sprite_stretching
Allow `Sprite2D` being dragged to change their `region_rect`
2025-05-02 09:25:27 -05:00
hamid 82e23da12e Add drag zoom feature with CTRL+MiddleMouseButton
This change introduces a DragType enum to scene/gui/view_panner.cpp of
dragging, which includes:

- DRAG_TYPE_NONE: Not dragging
- DRAG_TYPE_PAN: Panning (dragging using MMB)
- DRAG_TYPE_ZOOM: Zooming (dragging using CTRL+MMB)

The goal of this change is the third option, which was already available
in 3D viewport but not in 2D. This feature should work in other editors
as well such as Animation Track Editor and Visual Shader Editor and so
on.
2025-05-01 15:15:44 +03:30
Rémi Verschelde 694d034d5b
Rename editor "File" MenuOption enums for clarity 2025-04-30 16:32:11 +02:00
Thaddeus Crews b2829f3256
Merge pull request #105897 from akien-mga/mingw-remove-undef-hacks
Remove WinAPI `#undef` hacks needed for mingw-std-threads
2025-04-30 09:18:42 -05:00
dsmtE 4e68f277c6 add REGION_RECT
fix formatting

fix shader compile (region_rect after draw_data)

fix formatting

fix formatting

Review fix (move region_rect in main + remove useless visual shader options)

fix formatting

fix alphabetic order (+ remove useless action for spatial shaders)

typo + remove TYPE_LIGHT option for  region_rect
2025-04-30 11:07:22 +02:00
Thaddeus Crews bc21c322c6
Merge pull request #105880 from KoBeWi/deadline
Remove inline from constexpr variables
2025-04-29 11:24:13 -05:00
Rémi Verschelde c019b76523
Remove WinAPI `#undef` hacks needed for mingw-std-threads
Instead, we rename the conflicting symbols.
2025-04-29 14:24:03 +02:00
Thaddeus Crews 3e70fd7c83
Merge pull request #105883 from kitbdev/fix-empty-script-editor-members-overview
Fix empty Script Editor members overview visible
2025-04-28 18:45:56 -05:00
Thaddeus Crews 1d1805483f
Merge pull request #105815 from timothyqiu/anchors-presets
Fix item translation and icon in the Anchors Preset dropdown
2025-04-28 18:45:55 -05:00
kit 9b6f5cb953 Fix empty Script Editor members overview visible 2025-04-28 16:22:00 -04:00
Thaddeus Crews 627547cb7d
Merge pull request #105861 from groud/fix_flipped_tile_rendering
Fix rotated/flipped tiles rendering origin
2025-04-28 14:10:48 -05:00
kobewi 5125a273dc Remove inline from constexpr variables 2025-04-28 21:09:43 +02:00
Thaddeus Crews c87f23ce7d
Merge pull request #89324 from KoBeWi/pandora's_can_of_worms
Allow exporting variables of type Variant
2025-04-28 10:01:33 -05:00
Lazy-Rabbit-2001 1410bca5ce Allow Sprite2D being dragged to change their region_rect 2025-04-28 22:43:41 +08:00
Lukas Tenbrink bfdb0f0ecf Fix various sanitizer issues. 2025-04-28 15:23:35 +02:00
Haoyu Qiu 3578aa6acc Fix item translation and icon in the Anchors Preset dropdown
- Some items were not translated.
- Item icons did not react to light/dark theme switch.
2025-04-28 19:50:24 +08:00
Gilles Roudière 52aee9c325 Fix rotated/flipped tiles rendering origin 2025-04-28 13:34:39 +02:00
Thaddeus Crews f8a8d6cf04
Merge pull request #105700 from dementive/config-file-get-improvement
Improve ConfigFile get_sections and get_section_keys by returning Vector<String>
2025-04-27 19:21:31 -05:00
Thaddeus Crews 74fc4dae15
Merge pull request #95585 from HolonProduction/remove-cache
ScriptEditor: Remove obsolete completion cache
2025-04-27 19:21:30 -05:00
Thaddeus Crews 796b9caa09
Merge pull request #105552 from adamwych/expose-get-node-list
Expose `AnimationNode(StateMachine/BlendTree).get_node_list()`
2025-04-27 19:21:26 -05:00
Thaddeus Crews 1a2a1b07df
Merge pull request #105799 from Repiteo/scons/enum-conversion-warnings
SCons: Add enum conversion warning
2025-04-27 19:21:23 -05:00
Thaddeus Crews 7c35e3999d
Merge pull request #105797 from bruvzg/scroll_crash
Fix `AnimationNodeBlendTree` crash on `Open Editor` button press.
2025-04-27 19:21:23 -05:00
Thaddeus Crews 3947cbe3b2
Merge pull request #104386 from Repiteo/core/cpp-math
Core: Replace C math headers with C++ equivalents
2025-04-27 19:21:22 -05:00
Thaddeus Crews 69f0eb5de5
Merge pull request #103841 from GustJc/embed_add_hotkeys
Add Embed Game Window shortcut hotkeys support for `suspend/pause` and `next frame` buttons
2025-04-27 19:21:16 -05:00
Thaddeus Crews 2f1b10824b
Merge pull request #98847 from KoBeWi/illusion_wave
Add "Close Tabs Below" option to script editor context menu
2025-04-27 19:21:14 -05:00
Thaddeus Crews 9b35aaf2e2
Merge pull request #105613 from ryevdokimov/fix-editor-camera-transform
Fix incorrect transform when editor camera is moved externally
2025-04-27 19:21:12 -05:00
Thaddeus Crews b09b873adc
Merge pull request #91264 from ckaiser/script-editor-help-tooltip
Fix help overview tooltip flicker
2025-04-27 19:21:09 -05:00
HolonProduction 56bad11517 ScriptEditor: Remove obsolete completion cache 2025-04-26 22:59:10 +02:00
kobewi 92103366a5 Add "Close Tabs Below" option to script editor context menu
Co-authored-by: PrecisionRender <austin08dean@gmail.com>
2025-04-26 20:00:17 +02:00
Pāvels Nadtočajevs 7cf7e6aa95
Fix `AnimationNodeBlendTree` crash on `Open Editor` button press. 2025-04-26 20:10:44 +03:00
Thaddeus Crews dc9c34f0c6
SCons: Add enum conversion warning 2025-04-26 12:06:20 -05:00
Gustavo Jaruga Cruz bf18021462 Add Embed Game Window hotkeys support and pause/next frame shortcuts 2025-04-25 02:36:00 -03:00
dementive b8e44a0000 Improve ConfigFile get_sections and get_section_keys by returning Vector<String> 2025-04-24 20:10:31 -04:00
Pāvels Nadtočajevs 5b49fd4207
Selectively apply `FOCUS_ACCESSIBILITY` to the `Label`s instead of setting it by default. 2025-04-23 12:47:31 +03:00
Thaddeus Crews 179630278f
Merge pull request #105658 from aaronp64/blend_space_2d_sort
Sort animation nodes in `AnimationNodeBlendSpace2DEditor` popup menu
2025-04-22 18:25:52 -05:00
Adam Wychowaniec d193af78c5
Expose `AnimationNode(StateMachine/BlendTree).get_node_list()` 2025-04-22 21:08:26 +02:00
aaronp64 8584737525 Sort animation nodes in AnimationNodeBlendSpace2DEditor popup menu
Updated AnimationNodeBlendSpace2DEditor::_blend_space_gui_input to sort animation nodes for menu when adding new points, to match ordering in AnimationNodeBlendSpace1DEditor and AnimationNodeStateMachineEditor.  Old code had the sort call before adding the node names, so it wasn't reflected in the menu.
2025-04-22 12:17:27 -04:00
Thaddeus Crews c484fc9e60
Merge pull request #105568 from BlueCube3310/lightprobe-gizmo-opti
Improve and optimize lightmap probe gizmo creation
2025-04-21 08:24:23 -05:00
Robert Yevdokimov 81df850492 Fix incorrect transform when editor camera is moved externally 2025-04-21 15:45:57 +04:00
BlueCube3310 fbadaa26ff Improve and optimize lightmap probe gizmo creation 2025-04-19 17:52:21 +02:00
Thaddeus Crews c77174b346
Merge pull request #105310 from BlueCube3310/tex-preview-unify
TextureEditorPlugin: Add borders to 3D and Layered editors
2025-04-18 12:21:27 -05:00
Thaddeus Crews ad40939b6f
Core: Replace C math headers with C++ equivalents
- Minor restructuring to ensure `math_funcs.h` is the central point for math functions
2025-04-16 15:49:02 -05:00
Thaddeus Crews 00bd421089
Merge pull request #105222 from kitbdev/fix-mouse-filter-recursive-and-rename
Fix and rename mouse filter recursive behavior and focus mode recursive behavior
2025-04-16 10:45:12 -05:00
square b278cc4837
Fix division by zero when scaling 2025-04-16 02:30:25 +02:00
Pāvels Nadtočajevs df321eb135
[Polygon2DEditor] Add tool to automatically move center of gravity to origin. 2025-04-14 08:51:25 +03:00
BlueCube3310 b0626fefa1 TextureEditorPlugin: Add borders to 3D and Layered editors 2025-04-12 18:58:29 +02:00
Thaddeus Crews 7b9c5122fa
Merge pull request #105183 from lodetrick/shader-ui-shuffle
Make shader editor menu position consistent with script editor
2025-04-11 09:51:14 -05:00
Thaddeus Crews 717df3ee88
Merge pull request #105249 from Repiteo/core/math-defs-namespace
Core: Use `Math` namespace for constants
2025-04-11 09:51:04 -05:00
Thaddeus Crews 83ab8b94e5
Merge pull request #87756 from ryevdokimov/alt-transform
Allow all tool modes to select
2025-04-10 16:53:43 -05:00
Thaddeus Crews 94282d88f9
Core: Use `Math` namespace for constants 2025-04-10 16:29:30 -05:00
HolonProduction c2f33dbbe4 Editor: Add named `EditorScript`s to the command palette 2025-04-10 19:00:08 +02:00
Thaddeus Crews cade15a163
Merge pull request #92475 from AThousandShips/string_replace_char
Add `String::replace_char(s)` methods for performance and convenience
2025-04-10 10:18:16 -05:00
Thaddeus Crews c85e12223d
Merge pull request #105226 from bruvzg/vs_popup
Fix visual shader editor popups not using editor scale.
2025-04-10 10:18:12 -05:00
Thaddeus Crews ef3e8b1609
Merge pull request #102786 from Giganzo/top-toolbar-menu-button-styles
Fix MenuButton style in editor top menu bar
2025-04-10 10:18:10 -05:00
A Thousand Ships 889410dcda
Add `String::replace_char(s)` methods for performance and convenience 2025-04-10 13:08:45 +02:00
Pāvels Nadtočajevs 9870c8ca68
Fix visual shader editor popups not using editor scale. 2025-04-10 10:17:17 +03:00
Logan Detrick 07c91e80f6 Consolidate Shader Menu in plugin 2025-04-09 22:53:07 -07:00
kit d16e8b7ca4 Fix and rename mouse filter recursive behavior
and focus mode recursive behavior.
2025-04-09 23:45:03 -04:00
Thaddeus Crews c374ce211c
Merge pull request #104830 from chocola-mint/fix-#104822
Add null check for SpriteFramesEditor's SpriteFrames
2025-04-09 18:12:03 -05:00
Thaddeus Crews 1be28a7cb2
Merge pull request #102292 from HolonProduction/gizmo-capsule
Editor: Improve capsule gizmos
2025-04-09 18:11:54 -05:00
hakro 072ed20857 Adjust 2D select/move/rotate/scale shortcuts to match 3D 2025-04-09 19:48:21 +02:00
Aaron Franke d9e1f5d678
Improve 2D/3D main screen auto-switching logic
Co-authored-by: Kit Bishop <kitbdev@gmail.com>
2025-04-09 09:34:44 -07:00
Thaddeus Crews ec675fc329
Merge pull request #100333 from YYF233333/reduce_list
Use `LocalVector` instead of `List` as arg of `Dictionary::get_key_list`
2025-04-09 08:51:45 -05:00
Thaddeus Crews 4ddae0a7be
Merge pull request #105135 from timothyqiu/delete-window
Remove dead code in AnimationStateMachine editor
2025-04-09 08:51:36 -05:00
Haoyu Qiu 75314c2f87 Remove dead code in AnimationStateMachine editor 2025-04-09 08:39:27 +08:00
Hugo Locurcio e8eeccebcb
Unify Scripts Panel naming for the script and shader editors
Both use the same shortcut and action, so it makes sense to call it
a Files panel as opposed to a Scripts panel.
2025-04-09 01:17:36 +02:00
Yufeng Ying f7e4987d0e Dictionary::get_key_list use LocalVector instead of List. 2025-04-09 02:46:24 +08:00
Thaddeus Crews bb4a6b84db
Merge pull request #103731 from GustJc/embed_pause_hotkeys
Make embed floating window respect `Always On Top` configuration
2025-04-08 12:32:49 -05:00
Thaddeus Crews e6a61b1ecc
Merge pull request #76829 from bruvzg/ac_kit_direct
Implement screen reader support using AccessKit library.
2025-04-08 12:32:47 -05:00
Thaddeus Crews dc2364042f
Merge pull request #99099 from ydeltastar/align-to-orthogonal-view
Set correct position of node with `Align Transform with View` in orthographic view
2025-04-08 12:32:46 -05:00
Thaddeus Crews 6fe4d8d0f8
Merge pull request #104082 from YYF233333/dict_iter
Do not iterate `Dictionary` with `get_key_at_index`
2025-04-08 12:32:45 -05:00
Pāvels Nadtočajevs 302fa831cc
Initial editor accessibility. 2025-04-08 20:25:48 +03:00
Pāvels Nadtočajevs f37fb49739
Add separate `minimize_disabled` and `maximize_disabled` window flags. 2025-04-07 18:58:11 +03:00
Yufeng Ying bbc380b07e Do not iterate Dictionary with get_key_at_index. 2025-04-07 21:54:13 +08:00
Thaddeus Crews 0fbb22c095
Merge pull request #104432 from YYF233333/dict_iter2
Do not iterate `Dictionary` with `Dictionary::keys()`
2025-04-07 08:43:33 -05:00
Thaddeus Crews 5526a224e6
Merge pull request #105069 from KoBeWi/tUIDltip
Add UID to file tooltip
2025-04-07 08:43:32 -05:00
Thaddeus Crews 38a29f6139
Merge pull request #100287 from Chaosus/shader_ui_update
Re-organize UI in the shader editor
2025-04-07 08:43:25 -05:00
Thaddeus Crews ddae2698ce
Merge pull request #104993 from lodetrick/editor-ruler-text-align
Fix Editor 2D Ruler Text Top-Align
2025-04-07 08:43:21 -05:00
HolonProduction 02eab5e2c4 Editor: Improve capsule gizmos 2025-04-06 10:44:37 +02:00
kobewi 7d186cb28e Add UID to file tooltip 2025-04-05 22:05:49 +02:00
Yufeng Ying 8ae16699c5 Do not use Dictionary::keys() for Dictionary iteration. 2025-04-05 18:42:13 +08:00
Chaosus b983a05806 Re-organize UI in the shader editor 2025-04-05 13:12:59 +03:00
Yufeng Ying 4029051bb1 Change ClassDB::get_inheriters_from_class. 2025-04-04 23:47:19 +08:00
Logan Detrick 6ec32d0773 Top-Aligned the Ruler's text to avoid draw conflicts 2025-04-03 23:47:16 -07:00
yds e787252396
Set correct position of node with `Align Transform with View` in orthogonal mode 2025-04-03 17:21:29 -03:00
Robert Yevdokimov b98da2bd58 Allow all tool modes to select 2025-04-03 21:06:23 +04:00
Thaddeus Crews 6075e6a976
Merge pull request #104957 from arkology/empty-bitmap-crash
Fix `BitMapEditor` crash when bitmap is empty
2025-04-03 09:27:54 -05:00
Thaddeus Crews 577133e6d2
Merge pull request #104963 from beicause/display-pctex-format
Display PortableCompressedTexture's format in inspector preview
2025-04-03 09:27:48 -05:00
LuoZhihao 00f2e5be3a Display PortableCompressedTexture's format in inspector preview 2025-04-03 18:34:29 +08:00
arkology d8fca99ba0 Fix `BitMapEditor` crash when bitmap is empty 2025-04-03 05:53:28 +00:00
Yufeng Ying 7a1a970c25 size() <= 0 and size() < 1. 2025-04-02 19:18:44 +08:00
Yufeng Ying 4f4031a675 Replace size() == 0 with is_empty(). 2025-04-02 19:18:43 +08:00
Michael Alexsander 556933306a
Allow to compile templates without navigation features 2025-04-01 11:53:35 -03:00
Thaddeus Crews d52b84e472
Merge pull request #103993 from aaronfranke/geometry-segment
Directly use segment points in Geometry2D/3D function parameters
2025-04-01 08:01:34 -05:00
Thaddeus Crews e5f7ec0c30
Merge pull request #104777 from smix8/fix_boxmesh
Fix EditorNode3DGizmo::add_solid_box() GPU stalling
2025-03-31 19:02:02 -05:00
Thaddeus Crews 8f6bb119f4
Merge pull request #100602 from KoBeWi/over_100_changes_in_50_random_files_aka_the_best_kind_of_PR
Add templated version of `ObjectDB::get_instance()`
2025-03-31 12:03:47 -05:00
chocola-mint 19e8faae30 Add null check for SpriteFramesEditor's SpriteFrames 2025-03-31 22:16:49 +09:00
Aaron Franke c1acc839a8
Directly use segment points in Geometry2D/3D function parameters 2025-03-30 16:25:59 -07:00
Kiro 23129a66ed Replace append_utfx with direct String::utfx 2025-03-30 19:56:38 +02:00
smix8 6a54d2d552 Fix EditorNode3DGizmo::add_solid_box() GPU stalling
Fixes EditorNode3DGizmo::add_solid_box() stalling the GPU because it used a function that queries the mesh arrays from the GPU.
2025-03-29 21:42:28 +01:00
Thaddeus Crews ff1858ad2c
Merge pull request #102101 from KoBeWi/2d_3d_skrypt_gra_biblioteka_zasobów
Mark main screen plugin names for translation
2025-03-29 10:16:33 -05:00
Thaddeus Crews 780cf03051
Merge pull request #104556 from Ivorforce/string-extend-instead-of-parse
Use `append_` instead of `parse_` for `String` methods.
2025-03-29 10:16:33 -05:00
Rémi Verschelde fd02ff8d02
Merge pull request #104703 from bruvzg/loc_dir_icons
Fix updating editor icons on translation change.
2025-03-28 17:30:49 +01:00
Rémi Verschelde e8bc75f056
Merge pull request #103373 from YeldhamDev/build_remove_physics
Allow to compile templates without physics servers
2025-03-28 17:30:03 +01:00
Rémi Verschelde 1e595a0aa7
Merge pull request #103053 from Peelep/preview-sun-env-undoredo
Add UndoRedo actions to preview sun/environment popup
2025-03-28 17:29:58 +01:00
Rémi Verschelde b12258bd22
Merge pull request #99897 from aaronfranke/editor-top-nodes
Clarify API for top selected nodes in EditorSelection and make public
2025-03-28 17:29:51 +01:00
Rémi Verschelde 3b90bb56ad
Merge pull request #89782 from KoBeWi/stdArrayList
Use initializer list in Arrays
2025-03-28 17:29:40 +01:00
Michael Alexsander 5ad414d046
Allow to compile templates without physics servers 2025-03-28 11:00:44 -03:00
Rémi Verschelde 3fee84c78b
Merge pull request #104631 from smix8/gizmo_multi_collision_meshes
Allow multiple EditorNode3DGizmo collision meshes
2025-03-28 14:33:26 +01:00
Rémi Verschelde 8e9faae2be
Merge pull request #104058 from dugramen/path3d-outwards-curve
Path3D prefer control points for outward curve
2025-03-28 14:32:25 +01:00
Pāvels Nadtočajevs e47207ad16
Fix updating editor icons on translation change. 2025-03-28 15:04:32 +02:00
Yyf2333 22b5ec17fb Using iterator pattern instead of List::Element *.
Co-authored-by: Adam Scott <ascott.ca@gmail.com>
2025-03-28 13:29:15 +08:00
Aaron Franke 17db92b8b8
Clarify API for top selected nodes in EditorSelection and make public 2025-03-27 16:09:08 -07:00
Lukas Tenbrink ffa6ef220b Use `append_` instead of `parse_` for `String` methods. 2025-03-27 17:51:02 +01:00
kobewi bc9d0c7835 Add templated version of ObjectDB::get_instance() 2025-03-27 15:43:23 +01:00
kobewi 75881f8322 Use initializer list in Arrays 2025-03-26 18:38:15 +01:00
Peelep 419ef1b7ca Add UndoRedo actions to preview sun & env 2025-03-26 18:26:19 +02:00
dugramen 8bef789ca6 Path3D prefer control points for outward curve 2025-03-25 21:44:06 -04:00
smix8 ab917da71e Allow multiple EditorNode3DGizmo collision meshes
Allows to add multiple TriangleMesh collision meshes to a 3D gizmo.
2025-03-26 01:20:43 +01:00
Thaddeus Crews 6b5b84c0c5
Merge pull request #101737 from btgs-0/add-tile-coordinate-and-rectangle-size-display-to-terrains-editor-101634
Draw tilemap coordinate and rectangle size on the screen when using the TileMapLayer's Terrains plugin
2025-03-24 15:27:35 -05:00
Thaddeus Crews 95a0cad8b1
Merge pull request #104482 from YeldhamDev/game_view_featprof_3d
Hide 3D mode in Game view if the feature is disabled
2025-03-24 15:27:32 -05:00
Thaddeus Crews e2d3e8ff86
Merge pull request #104231 from arkology/wide-theme-editor-walking
Fix `ThemeEditor` being too wide for small screen or minimized window
2025-03-24 15:27:29 -05:00
Thaddeus Crews a5926394d3
Merge pull request #103956 from dugramen/curve-handles-outwards
Path2D prefer control points for outward curve
2025-03-24 10:01:05 -05:00
Thaddeus Crews 8cafc43f71
Merge pull request #104475 from ryevdokimov/fix-3d-view-menu-gizmo-icons
Fix 3D view menu gizmo icons being broken in empty scene
2025-03-23 19:03:56 -05:00
dugramen 4fbf38d091 Path2D prefer control points for outward curve 2025-03-22 15:41:38 -04:00
Michael Alexsander 123b5baaba
Hide 3D mode in Game view if the feature is disabled 2025-03-22 15:16:44 -03:00
Robert Yevdokimov 1abde8ce48 Fix 3D view menu gizmo icons being broken in empty scene 2025-03-22 21:12:44 +04:00
BT b954ddce28 Draw the mouse position's tilemap co-ordinate (and rectangle size) on the screen when using the TileMapLayer's Terrains plugin. 2025-03-22 10:29:24 +10:30
Thaddeus Crews 581d675eeb
Core: Convert `Math` class to namespace 2025-03-21 10:29:18 -05:00
Rémi Verschelde 1d664d996d
Merge pull request #104390 from YeldhamDev/you_will_never_take_my_3d_away
Remove pointless `_3D_DISABLED` checks in editor code
2025-03-21 13:04:11 +01:00
Rémi Verschelde e50ac32d5a
Merge pull request #82321 from ywmaa/custom_debug_color_curve3D
Allow customizing debug color of Path3D.
2025-03-21 13:02:57 +01:00
ywmaa 275f046e4a Path3D: custom debug color and custom debug show 2025-03-20 06:49:04 +02:00
Michael Alexsander c33c3fe2ed
Remove pointless `_3D_DISABLED` checks in editor code 2025-03-19 23:47:36 -03:00
Thaddeus Crews 97241ffea6
Merge pull request #99555 from Meorge/mute-game
Add "Mute Game" toggle in Game view
2025-03-19 17:46:11 -05:00
Thaddeus Crews 17ae1d7728
Merge pull request #90226 from kitbdev/dock-shortcuts
Add Open Dock shortcuts
2025-03-19 17:46:07 -05:00
Thaddeus Crews 60c706e2d5
Merge pull request #102846 from jaydensipe/fix-empty-theme-override-delete-all
Fix empty type removal in theme editor causing all empty types to be deleted
2025-03-19 17:46:04 -05:00
Malcolm Anderson 6858607e74 Add "Mute Audio" button to Game view in editor
Update servers/audio_server.cpp

Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>

Apply suggestions from code review

Co-authored-by: Adam Scott <ascott.ca@gmail.com>

Fix a few lines for new member names

Add command-line argument `--debug-mute-audio`, and pass it to game if started with mute enabled

Apply suggestions from code review

Co-authored-by: arkology <43543909+arkology@users.noreply.github.com>
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>

Fix icon for svgo
2025-03-19 08:20:17 -07:00
kit 4a65775dc5 Add shortcuts for opening docks 2025-03-19 10:39:45 -04:00
kobewi 10f6c01b9c Remove ABS in favor of Math::abs 2025-03-19 13:52:40 +01:00
Rémi Verschelde 94f0ce4a96
Merge pull request #104192 from arkology/tile_editors_ui_ux
Improve/fix `TileMap` and `TileSet` editors UI
2025-03-19 12:27:18 +01:00
Rémi Verschelde 7ad0b9b16c
Merge pull request #97495 from Delsin-Yu/control_recursive_disable_children
[GUI] Implement properties that can recursively disable child controls' `Focus Mode` & `Mouse Filter`
2025-03-19 12:26:03 +01:00
Thaddeus Crews 1f6426066e
Merge pull request #98768 from Repiteo/core/constexpr-math-operators
Core: Add `constexpr` constructors/operators to math structs
2025-03-17 16:03:20 -05:00
kobewi 6f25babd6b Remove empty constructors and destructors from editor/ 2025-03-17 21:20:02 +01:00
Thaddeus Crews ea62170dac
Core: Add `constexpr` constructors/operators to math structs
• Begin integrating `constexpr` on math tests; use `static_assert` where appropriate
2025-03-17 12:15:31 -05:00
Thaddeus Crews 523b7fe36e
Merge pull request #102282 from YYF233333/dangerous_sig
Eliminate interior mutability in `get_selected_node_list`
2025-03-17 10:52:30 -05:00
Thaddeus Crews 8ca72e1490
Merge pull request #103848 from timothyqiu/popup-i18n
Add auto translate mode for items in `PopupMenu` and `OptionButton`
2025-03-17 10:52:26 -05:00
Thaddeus Crews a9065db5ad
Merge pull request #104130 from KoBeWi/are_tools_enabled_when_tools_are_enabled
Remove `TOOLS_ENABLED` checks from `editor/`
2025-03-17 10:52:25 -05:00
Thaddeus Crews 59809854b9
Merge pull request #104172 from kiroxas/improveGPUParticlesCollision3DGizmoPluginPerformance
Improve `GPUParticlesCollision3DGizmoPlugin` performance
2025-03-17 10:52:09 -05:00
Thaddeus Crews 437b131d28
Merge pull request #104016 from kiroxas/improveAudioStreamPlayerGizmoPerformance
Improve Audio Stream Player Gizmo Performance
2025-03-17 10:51:55 -05:00
Kiro e0b777ff99 Improve Audio Stream Player Gizmo Performance 2025-03-16 13:47:42 +01:00
Kiro 954bb22d3a improve GPUParticlesCollision3DGizmoPlugin performance 2025-03-16 13:19:06 +01:00
arkology 84e1ed8884 Fix `ThemeEditor` being too wide for small screen or minimized window 2025-03-16 14:16:03 +03:00
arkology 1be23eee2c Improve `TileMap` and `TileSet` editors UI 2025-03-16 11:21:17 +03:00
kobewi 7cb2fb189a Remove TOOLS_ENABLED checks from editor/ 2025-03-14 18:13:16 +01:00
Yyf2333 df80265d3a Eliminate interior mutability in get_selected_node_list. 2025-03-14 02:38:02 +08:00
Thaddeus Crews c1b7865ae9
Merge pull request #103557 from aaronfranke/godot-version-defines
Rename version defines to `GODOT_VERSION_*` to match GDExtension godot-cpp
2025-03-13 08:57:42 -05:00
Thaddeus Crews 0cc7e2c27a
Merge pull request #95821 from anvilfolk/cache-gd-docs
Scripting: Fix script docs not being searchable without manually recompiling scripts
2025-03-13 08:57:40 -05:00
Thaddeus Crews 4e9b7976ce
Merge pull request #103845 from aaronfranke/fix-ed-stuck-cam-nonfin-xform
Fix stuck editor cameras and fix 3D error spam for non-finite transforms
2025-03-13 08:57:25 -05:00
Thaddeus Crews 22a7079afd
Merge pull request #104047 from YYF233333/dict_iter
Add const iteration support to `Dictionary`
2025-03-13 08:57:23 -05:00
Thaddeus Crews 8b0bbe7f8d
Merge pull request #101533 from kiroxas/improveCapsuleGizmo
Improve capsule gizmo performance
2025-03-13 08:57:19 -05:00
Lars Pettersson d2d02d0ea8
EditorNode: Add function to load file as scene or resource 2025-03-12 23:59:48 +01:00
Rémi Verschelde 507df7b6ec
Merge pull request #103842 from timothyqiu/script-filename-no-i18n
ScriptEditor: Disable auto translation of the filename label
2025-03-12 22:57:13 +01:00
Bogdan Inculet b96811f424 Improve State Machine BlendTree node to properly display conditions 2025-03-12 22:06:53 +02:00
Aaron Franke 97ee05e9b7
Rename version defines to GODOT_VERSION_* to match GDExtension godot-cpp 2025-03-12 11:11:38 -07:00
ocean 72045c8306 Scripting: Add script documentation cache to project
This PR adds a script documentation cache in the project folder.
It is loaded at alongside native documentation caches. This makes
scripts fully accessible through Search Help, including their
members, etc, right from project start, without having to compile
every single script.

Co-authored-by: Hilderin <81109165+Hilderin@users.noreply.github.com>
2025-03-12 13:44:41 -04:00
arkology af48059e97 Add borders to `BitMap` in `BitMapEditor` 2025-03-12 20:41:01 +03:00
Yufeng Ying bebe037abf Add ConstIterator to Dictionary. 2025-03-13 01:28:46 +08:00
Lazy-Rabbit-2001 5ca70d88a7 Improve usability of Camera2D 2025-03-12 09:57:31 +08:00
Thaddeus Crews 3c03566d2e
Merge pull request #102281 from ryevdokimov/selection-box-color-no-restart
Do not require editor restart when changing selection box color
2025-03-11 19:54:43 -05:00
Thaddeus Crews ea892d9fee
Merge pull request #93673 from Calinou/3d-editor-debug-draw-modes-mark-unsupported
Disable debug draw modes in the 3D editor according to current rendering method
2025-03-11 19:54:42 -05:00
Robert Yevdokimov 8a6804b197 Do not require editor restart when changing selection box color 2025-03-12 03:38:44 +04:00
Hugo Locurcio 5472936b69
Disable debug draw modes in the 3D editor according to current rendering method
- Add tooltips to some debug draw modes, including when it's unsupported
  due to the current rendering method in use.
- Improve documentation related to debug draw modes.
2025-03-12 00:10:24 +01:00
kobewi c2813b902c Add editor setting for default animation step 2025-03-11 23:16:27 +01:00
Thaddeus Crews 23979663d0
Merge pull request #98133 from aaronfranke/view-layout-menu
Rename internal `view_menu` in 3D editor code
2025-03-11 16:54:07 -05:00