1
0
Fork 0
Commit Graph

6998 Commits

Author SHA1 Message Date
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
Thaddeus Crews 7d1e236ad9
Merge pull request #102189 from KoBeWi/frames_per_setting
Add editor setting for FPS mode and compat
2025-03-11 16:54:04 -05:00
Thaddeus Crews 37fed7790e
Merge pull request #102176 from ryevdokimov/fix-local-space-gizmo-basis
Add "active" state to one of the multiple selected Node3Ds to determine basis in Local mode
2025-03-11 16:54:00 -05:00
Thaddeus Crews 1d8fa8b58a
Merge pull request #101411 from Calinou/editor-navigationlink-increase-gizmo-detail
Increase NavigationLink3D gizmo detail to match other circle/sphere 3D gizmos
2025-03-11 16:53:54 -05:00
Thaddeus Crews 1186514fcf
Merge pull request #102666 from KoBeWi/repeatranslations
Split repeated translation in Game plugin
2025-03-11 16:53:52 -05:00
Thaddeus Crews 165fdce84e
Merge pull request #102709 from KoBeWi/repeatranslations2
Split repeated translation for floating windows
2025-03-11 16:53:50 -05:00
Thaddeus Crews e54a4408ad
Merge pull request #102249 from Arnklit/particles2d-emission-shapes
Add emission shape gizmos to Particles2D
2025-03-11 14:01:00 -05:00
Thaddeus Crews 20651f1162
Merge pull request #99680 from YeldhamDev/multi_remote_selection
Allow to select multiple remote nodes at runtime
2025-03-11 14:00:56 -05:00
Thaddeus Crews 4ba3419cf8
Merge pull request #102950 from arkology/stylebox-editor-tooltip
Add tooltip for `StyleBoxPreview` grid button
2025-03-11 14:00:43 -05:00
Thaddeus Crews 72d5401b9f
Merge pull request #103218 from matheusmdx/spriteframes-editor-minor-adjusts
Minor adjusts in the `Show in Filesystem` code in `SpriteFrames` editor
2025-03-11 14:00:41 -05:00
Thaddeus Crews 5280c0bf4a
Merge pull request #102469 from sockeye-d/warning-highlights
Highlight warning lines in Script editor
2025-03-11 14:00:33 -05:00
Michael Alexsander 5c66129e62
Allow to select multiple remote nodes at runtime 2025-03-11 12:35:41 -03:00
Thaddeus Crews f1597b3023
Merge pull request #103758 from YeldhamDev/more_game_view_settings
Make Game view follow more editor settings
2025-03-11 09:34:58 -05:00
Thaddeus Crews 69d1992d9d
Merge pull request #103533 from Calinou/3d-editor-qwer-use-physical-keys
Use physical keys for the Q/W/E/R 3D editor shortcuts
2025-03-11 09:34:52 -05:00
Kiro 5a8874ea2c improve capsule gizmo performance 2025-03-11 12:08:18 +01:00
Thaddeus Crews ff674de65e
Merge pull request #103903 from kiroxas/improveCylinderGizmo
Improve cylinder gizmo performance
2025-03-10 21:05:45 -05:00
Thaddeus Crews 13907ec474
Merge pull request #103910 from kiroxas/ImproveSphereGizmoPerformance
Improve Sphere gizmo performance
2025-03-10 21:05:44 -05:00
Kiro 8eaab62930 Improve cylinder gizmo performance 2025-03-10 20:14:45 +01:00
Kiro 4915f916a4 Improve sphere gizmo performance 2025-03-10 20:12:43 +01:00
Thaddeus Crews b40e6a55ac
Merge pull request #101884 from aaronp64/camera_gizmo_fov_fix
Fix `Camera3D` gizmo representation to accurately reflect FOV
2025-03-10 10:01:13 -05:00
A Thousand Ships 331a43a9d8
Add `String::remove_char(s)` methods for performance and convenience 2025-03-10 13:19:28 +01:00
Haoyu Qiu 82a0290871 Add auto translate mode for items in PopupMenu and OptionButton 2025-03-09 23:50:11 +08:00
Aaron Franke c7649f4f9c
Fix stuck editor cameras and fix 3D error spam for non-finite transforms 2025-03-08 23:10:30 -08:00
Haoyu Qiu f329439249 ScriptEditor: Disable auto translation of the filename label 2025-03-09 10:01:26 +08:00
A Thousand Ships 466590d0ec
Use `get_slicec` instead of `get_slice` for single character splitters 2025-03-08 20:36:37 +01:00
Aaron Franke 4f1bcbd97f
Rename internal `view_menu` in 3D editor code 2025-03-08 02:06:56 -08:00
Thaddeus Crews 324512e11c
Style: Replace header guards with `#pragma once` 2025-03-07 17:33:47 -06:00
Thaddeus Crews 3c43508ed7
Merge pull request #102427 from AThousandShips/fix_substr
Clean up some uses of `String::substr`
2025-03-07 15:12:33 -06:00
Thaddeus Crews c937b6d180
Merge pull request #102419 from Ivorforce/std-size
Use `std::size` instead of `sizeof(a) / sizeof(a[0])` pattern throughout the codebase.
2025-03-07 15:12:25 -06:00
Thaddeus Crews 30221571f2
Merge pull request #99094 from KoBeWi/preload_dct2slt82u81fo8dkxkak5o57
Drop preload Resources as UID
2025-03-07 15:12:24 -06:00
Thaddeus Crews 76952ba0a1
Merge pull request #90034 from KoBeWi/only_save_when_save
Don't save unnecessarily with `save_before_running`
2025-03-07 15:12:22 -06:00
aaronp64 7e4d635c2f Fix Camera3D gizmo representation to accurately reflect FOV
Updated gizmo drawing to keep depth proportional to width or height based on whether FOV is horizontal or vertical.
2025-03-07 14:33:54 -05:00
kobewi c1b08dda36 Don't save unnecessarily with save_before_running 2025-03-07 19:14:50 +01:00
DE-YU_H14 a49ca33a7f Implement properties that recursively disables children's focus & mouse filter.
Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2025-03-07 22:34:58 +08:00
A Thousand Ships 5113022dfe
Clean up some uses of `String::substr`
Cases where the end position is either equvalent to the default or past
the end of the string.
2025-03-07 14:50:38 +01:00
Haoyu Qiu ef4636ac59 Fix some i18n issues in visual shader editor 2025-03-07 18:39:45 +08:00
Michael Alexsander b7f823c4c7
Make Game view follow more editor settings 2025-03-06 23:08:34 -03:00
Gustavo Jaruga Cruz afe47b6850 Makes embed floating window respect always on top 2025-03-06 22:12:45 -03:00
kobewi dade8bd66f Update script modified times when saved in EditorNode 2025-03-06 14:47:33 +01:00
Rémi Verschelde b33e20be21
Merge pull request #103301 from marcgpuig/unify-csgpolygon3d-gizmos
Unify CSGPolygon3D gizmos with the other geometries
2025-03-04 01:00:47 +01:00
Hugo Locurcio 4cd2d9e210
Use physical keys for the Q/W/E/R 3D editor shortcuts
This ensures they work consistently regardless of keyboard layout,
like freelook already does. The intent is to use the first 4 letter
keys on the top row of the keyboard.
2025-03-04 00:11:17 +01:00
Hilderin 0c9caccb33 Fix invalid startup embedded game location and size after resizing editor main area 2025-03-02 06:22:02 -05:00
Marc Garcia Puig 57d8ef5d23 Disabled depth test for line and handle materials 2025-02-25 22:56:56 +01:00
matheusmdx 110a29853b Minor adjusts in the 'Show in Filesystem' code in SpriteFrames editor 2025-02-23 17:20:13 -03:00
Rémi Verschelde ba47acab0a
Merge pull request #103105 from Hilderin/fix-embedded-game-window-first-startup-location-size
Fix Embedded Game window wrong first startup location and size
2025-02-23 12:12:51 +01:00
Rémi Verschelde 05c56e8393
Merge pull request #103052 from Hilderin/fix-embedded-game-mouse-over-not-focused-windows
Fix Embedded Game does not focus when mouse over on Windows
2025-02-23 12:12:47 +01:00
Hilderin 068d40a5a9 Fix Embedded Game window wrong first startup location and size 2025-02-20 20:24:12 -05:00
Hilderin c7bc322bf6 Fix Embedded Game does not focus when mouse over on Windows 2025-02-20 16:28:18 -05:00
Rémi Verschelde fe799deee0
Merge pull request #103050 from matheusmdx/fix-show-in-filesystem-crash
Don't show `Show in Filesystem` Popup for empty frames in `SpriteFrames` editor
2025-02-20 16:51:57 +01:00
matheusmdx 63f7e4d16e Don't show 'show in files' popup for empty frames 2025-02-19 19:25:28 -03:00
A Thousand Ships fec3d9e68c
[Editor] Fix return of `EditorTranslationParserPlugin._parse_file`
Merged `_get_comments` into `_parse_file` and changed to using a
returned `Array[PackedStringArray]` instead.
2025-02-19 20:11:24 +01:00
Hilderin 136c4c64a0 Fix Embedded Game over expanded bottom panel - Simple version 2025-02-18 17:55:47 -05:00
Kasper Arnklit Frandsen 03812fde8a Add emission shape gizmos to Particles2D 2025-02-18 11:29:29 +00:00
arkology 77df31bc12 Add tooltip for `StyleBoxPreview` grid button 2025-02-17 16:08:19 +03:00
Jayden Sipe 6b257364bd Fix deleting every empty theme override 2025-02-15 23:34:02 -05:00
kobewi 012d47b089 Allow exporting variables of type Variant 2025-02-15 18:00:55 +01:00
arkology cb918cc817 Add custom minimum size for shader tabs 2025-02-14 22:40:53 +03:00
Thaddeus Crews b2aae7b729
Merge pull request #102833 from Hilderin/fix-game-embeddeing-not-available-wayland
Fix "Game embedding not available" message on Wayland
2025-02-14 08:25:37 -06:00
Thaddeus Crews 4a08fdc2a7
Merge pull request #102640 from olanti-p/fix-add-alt-tile-button
Fix multiple issues with 'add alternative tile' tileset editor button
2025-02-14 08:25:26 -06:00
Hilderin d9f653988f Fix Game Embedding Not Available message on Wayland 2025-02-14 09:09:38 -05:00
Rémi Verschelde 23634b52e1
Merge pull request #102811 from KoBeWi/LSD
Fix modified time when LSP reload script
2025-02-13 23:35:15 +01:00
Rémi Verschelde 794b9395a8
Merge pull request #102559 from stuartcarnie/sgc/fix_previews
Editor: Fix AtlasTexture editor previews for compressed textures
2025-02-13 23:35:02 +01:00
Thaddeus Crews 3dd68d8841
Merge pull request #102704 from Giganzo/add-freelook-speed
Add changeable freelook speed in Game Window
2025-02-13 10:15:46 -06:00
Thaddeus Crews b853aceece
Merge pull request #102286 from ryevdokimov/fix-collision-reposition-csgshape
Fix collision reposition with `CSGShape3D`
2025-02-13 10:15:41 -06:00
Robert Yevdokimov 6f0a0ba408 Fix collision reposition with `CSGShape3D` 2025-02-13 19:31:58 +04:00
kobewi 6abb40990a Fix modified time when LSP reload script 2025-02-13 16:15:22 +01:00
Olanti f389776d7d Fix issues with 'create alternative tile' button
Fix button sizing for small tile sizes.
Stop button from preventing MMB panning.
Support undo operations for the button.
Hide button when "Paint" mode is active.
2025-02-13 15:43:14 +03:00
Innaias eb99adb11b Added warning line highlight 2025-02-11 18:59:28 -08:00
kobewi 3448fe6c71 Split repeated translation for floating windows 2025-02-11 14:51:09 +01:00
kobewi d29a7450fa Drop preload Resources as UID 2025-02-11 14:17:05 +01:00
kobewi 59f558c8a5 Split repeated translation in Game plugin 2025-02-10 18:45:30 +01:00
Giganzo cedcc2444e Add changeable freelook speed in Game Window 2025-02-10 17:18:52 +01:00
Rémi Verschelde fa85645c1a Merge pull request #102618 from Hilderin/fix-slow-resize-embedded-game-v2
Fix lag when resizing Floating Game Window
2025-02-10 10:49:54 +01:00
Giganzo f7b6f98215 Fix MenuButton style in editor top menu bar 2025-02-10 10:03:54 +01:00
Rémi Verschelde 2fd6c635d5 Merge pull request #102744 from Hilderin/fix-floating-window-freeze-when-moving
Fix Game and editor freeze when clicking on the game's title bar
2025-02-12 11:21:11 +01:00
Rémi Verschelde bd87c3a76b Merge pull request #102247 from Hilderin/fix-embedded-game-modal-dialog
Fix Modal Dialog with Embedded Game
2025-02-12 11:21:01 +01:00
Hilderin e9fef1c833 Fix Game and editor freeze when clicking on the game's title bar 2025-02-11 21:41:03 -05:00
Rémi Verschelde caaa3e5f4b Merge pull request #102692 from a-johnston/avoid_preview_error_for_animation_node
Prevent off-thread errors when generating resource previews for animation nodes
2025-02-11 23:59:22 +01:00
Adam Johnston c82c5b0701 Prevent off-thread errors when generating resource previews for animation nodes 2025-02-11 11:19:32 -08:00
Fredia Huya-Kouadio 7495a8a02e Add support for embedding game process in the Android Editor
- Implement Android editor specific `EmbeddedGodotGame` to support embedding the game window in the Android editor
2025-02-11 02:20:18 -08:00
Giganzo 030d63eed9 Add tooltip text to Polygon3DEditor buttons 2025-02-10 08:20:08 +01:00
Danil Alexeev ead16435bf
Script Editor: Add option to disable documentation tooltips 2025-02-09 11:02:10 +03:00
Hilderin b0ac51217a Fix Lag when resizing Floating Game Window 2025-02-08 21:32:28 -05:00
Stuart Carnie 3084ed4bff editor: Fix AtlasTexture editor previews for compressed textures 2025-02-09 06:40:05 +11:00
Lukas Tenbrink e34f1f504c Use `std::size` instead of `sizeof(a) / sizeof(a[0])` pattern throughout the codebase. 2025-02-07 14:57:48 +01:00
Haoyu Qiu 577f90feba Fix heap-use-after-free when changing 2D editor selection 2025-02-07 09:30:02 +08:00
Rémi Verschelde 00d806a9ae Merge pull request #102470 from Hilderin/fix-floating-window-close-opened-dialog
Fix Floating Window request close when a dialog is opened
2025-02-07 01:39:38 +01:00
Rémi Verschelde cbb58b4a75 Merge pull request #102014 from ryevdokimov/fix-visible-viewport-gizmos-startup
Fix visible viewport gizmos when preview camera is enabled on startup
2025-02-07 01:39:23 +01:00
Hilderin a9e06b8f64 Fix Modal Dialog with Embedded Game 2025-02-05 21:14:34 -05:00
Hilderin a3d03717c0 Fix Floating Window request close when a dialog is opened 2025-02-05 20:34:32 -05:00
Rémi Verschelde ff0049e0d0 Merge pull request #102390 from stuartcarnie/102388/fix_selection
Editor: Fix node selection within SubViewports using size 2d override
2025-02-05 11:34:08 +01:00
Rémi Verschelde 7f4097a83a Merge pull request #102116 from Giganzo/tree-get_item_rect
Fix `get_item_area_rect` when tree is scrolled
2025-02-05 11:33:58 +01:00
Stuart Carnie 636b822781 editor: Fix node selection within SubViewports using size 2d override 2025-02-05 05:37:35 +11:00
Thaddeus Crews 2675997487
Merge pull request #102251 from Hilderin/fix-slow-resize-embedded-game
Fix slow resize Embedded Game Window
2025-02-03 11:14:41 -06:00
Thaddeus Crews 7c0ce4e793
Merge pull request #102278 from Chaosus/vs_fix_preview_mouse_filter
Fix mouse filter on visual shader node previews
2025-02-03 08:16:05 -06:00
Thaddeus Crews 6c53ec1c51
Merge pull request #102297 from KoBeWi/lost_modified_time
Update modified time when reloading script
2025-02-03 08:16:02 -06:00
Robert Yevdokimov 5878b880ae Add "active" state to one of the multiple selected Node3Ds to determine basis in Local mode 2025-02-03 16:57:30 +04:00
Hilderin 3387ee1ab2 Fix Floating Window focus on run 2025-02-01 21:15:54 -05:00
kobewi a65fa94a21 Update modified time when reloading script 2025-02-01 19:15:09 +01:00
Chaosus 7cc0bf79dd Fix mouse filter on visual shader node previews 2025-02-01 13:25:28 +03:00
Hilderin 65e14fd16b Fix slow resize Embedded Game Window 2025-01-31 12:02:06 -05:00