Commit Graph

16602 Commits

Author SHA1 Message Date
Rémi Verschelde 8d120a5d08
Merge pull request #95965 from Hilderin/update-script-documentation-file-remove-on-startup
Update script documentation removed files on startup
2024-09-04 17:11:54 +02:00
Rémi Verschelde de2f50777e
Merge pull request #95343 from Giganzo/unique-name-dialog
Add ConfirmationDialog when clicking on % button in SceneTree
2024-09-04 17:11:46 +02:00
A Thousand Ships ab04d76e0e
[Editor] Prevent duplicate `Open in Editor` buttons in scene tree dock
Duplicate buttons were added when editor description changed
2024-09-04 17:00:57 +02:00
Danil Alexeev 2dd043d1f6
Docs: Add missing deprecated/experimental tag support for theme items 2024-09-04 17:49:05 +03:00
Hilderin 1c3bc2f980 Update script documentation removed files on startup 2024-09-04 06:12:22 -04:00
Giganzo 89c009b105 Add ConfirmationDialog when clicking on % button in SceneTree 2024-09-04 12:08:32 +02:00
Hugo Locurcio ef35ca2d8f
Use antialiased line drawing in animation Bezier editor
This applies both to tangents and general line drawing, making the
animation Bezier editor match the Curve editor inspector.
2024-09-04 11:54:38 +02:00
Rémi Verschelde 906a4e9db9
Merge pull request #96525 from bruvzg/rem_gl_renderer_incl
Store GLES over GL status in the OS to avoid direct renderer includes in the editor.
2024-09-04 11:16:48 +02:00
Rémi Verschelde 3e8ebb9a99
Merge pull request #96554 from bruvzg/mac_title_dblc
[macOS] Make gaps between editor titlebar buttons unclickabe to prevent accidental window move/resize.
2024-09-04 11:16:45 +02:00
Rémi Verschelde 52838efaad
Merge pull request #95179 from DanielKinsman/profiler-target-fps
Add target fps editor setting to visual profiler
2024-09-04 11:16:39 +02:00
Rémi Verschelde 7881dc2b11
Merge pull request #94945 from ArshPanesar/fix-anim-player-root-crash
Fix `AnimationPlayer` crash when it's made the scene root
2024-09-04 11:16:36 +02:00
Rémi Verschelde 7f6e1693dd
Merge pull request #92407 from timothyqiu/section-dropping
Remove unused member variable in `EditorInspectorSection`
2024-09-04 11:16:28 +02:00
Arsh Panesar e905be8249
Fix `AnimationPlayer` crash when it's made the scene root
When an AnimationPlayer is made root of a scene,
the track links may become broken and clicking on
them will crash.

Current master branch also breaks node links when
AnimationPlayer is made scene root, and can also
crash the engine if another node was made scene
root prior to the AnimationPlayer.

This happens because when made root, the editor
loses track of AnimPlayer's root node. By keeping
a copy of the AnimPlayer's root_node, the track
links remain functional.

Fixes #91043.
2024-09-04 10:45:07 +02:00
bruvzg 8009d7c6da
[macOS] Make gaps between editor titlebar buttons unclickabe to prevent accidental window move/resize. 2024-09-04 10:48:42 +03:00
DCTewi 5bfd8db7b7
Fix ProcessDialog errors appeared after rebuilding .NET project 2024-09-04 14:26:48 +08:00
Giganzo 7d78d753b5 Fix Set Frame Title popup position 2024-09-04 01:52:07 +02:00
Daniel Kinsman 5e04f0760a Add target fps editor setting to visual profiler
Use same max fps as project setting

Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2024-09-04 09:47:26 +10:00
kobewi ecc0ab8061 Add EditorContextMenuPluginManager and refactor menu plugins 2024-09-03 23:59:25 +02:00
Rémi Verschelde e2dd56bea7
Merge pull request #95902 from kitbdev/remove-forced-mouse-focus
Clean up Viewport's `forced_mouse_focus`
2024-09-03 17:38:17 +02:00
Rémi Verschelde 13a90e938f
Merge pull request #70096 from rune-scape/stringname-dict
StringName Dictionary keys
2024-09-03 17:38:06 +02:00
Rémi Verschelde 514c564a8c
Merge pull request #96520 from Giganzo/fix-make-floating-tooltip
Mention screen selector in Make Floating button tooltip
2024-09-03 16:14:08 +02:00
Rémi Verschelde d0a7dcd8c0
Merge pull request #96371 from KoBeWi/mentos
Improve dropping code in script editor
2024-09-03 16:14:02 +02:00
Rémi Verschelde d15de6f264
Merge pull request #96292 from AThousandShips/null_check_ref_fix
Cleanup of raw `nullptr` checks with `Ref`
2024-09-03 16:13:55 +02:00
Rémi Verschelde b104f21841
Merge pull request #96237 from KoBeWi/you_expected_path_to_even_less_bugs_branch_but_it_was_me,_dio
Fix Path2D splitting
2024-09-03 16:13:51 +02:00
Rémi Verschelde 79da448d5f
Merge pull request #94582 from citizenll/feat_context_menu_plugin4.x
Add support for custom items to editor right-click context menus
2024-09-03 16:13:47 +02:00
Rémi Verschelde 5a374548fa
Merge pull request #94263 from Arnklit/collapse_expand_remote_scene_view
Add Expand/Collapse Branch right click option to remote scene view
2024-09-03 16:13:41 +02:00
Gilles Roudière d75c5ec7ba Implement multiple occlusion polygons within each TileSet occlusion layer 2024-09-03 15:38:51 +02:00
bruvzg d4e78b8db5
Store GLES over GL status in the OS to avoid direct renderer includes in the editor. 2024-09-03 16:11:59 +03:00
citizenl 6b2348adac Add support for custom items to editor right-click context menus 2024-09-03 20:14:14 +08:00
Rémi Verschelde f4cc60fe0c
Merge pull request #96446 from Hilderin/fix-missing-material-override-after-two-glb-reimports
Fix missing material override after two glb reimports
2024-09-03 11:43:56 +02:00
Rémi Verschelde 8eb106e318
Merge pull request #96388 from passivestar/quick-open-shortcut-conflict
[macOS] Fix Quick Open shortcut conflict
2024-09-03 11:43:45 +02:00
Rémi Verschelde 69888aabb8
Merge pull request #96179 from passivestar/mac-breakpoint-shortcuts
[macOS] Change breakpoint shortcuts to avoid conflicts
2024-09-03 11:43:31 +02:00
Rémi Verschelde 262c8da104
Merge pull request #95887 from bruvzg/sysinfo_drv
Update rendering driver name on fallbacks. Fix rendering driver/method in the editor system info.
2024-09-03 11:43:12 +02:00
Rémi Verschelde c282e17373
Merge pull request #94323 from Naros/GH-94322
Pass current value to `EditorInterface` node/property popups
2024-09-03 11:43:04 +02:00
Rémi Verschelde 5633080147
Merge pull request #93624 from EAinsley/complete#3942
Add duplicate animation for SpriteFrames
2024-09-03 11:43:00 +02:00
Rémi Verschelde 866099684c
Merge pull request #92667 from Hilderin/fix-addon-requires-editor-restart
Fix Addon requires editor restart to become functional
2024-09-03 11:42:52 +02:00
Chris Cranford 9122be6474 Pass current value to `EditorInterface` node/property popups 2024-09-03 00:54:55 -04:00
Hilderin 7dd235905e Fix Addon requires editor restart to become functional 2024-09-02 16:54:45 -04:00
Rémi Verschelde 7cd095dea1
Merge pull request #96401 from SaracenOne/filter_improvement
Enforce correct type for silhouette filter.
2024-09-02 18:08:12 +02:00
Rémi Verschelde 36f95ef3db
Merge pull request #95815 from DeeJayLSP/qoa-def
ResourceImporterWAV: Enable QOA compression by default
2024-09-02 18:08:03 +02:00
Kasper Arnklit Frandsen 88a866fb5a Add separate timeline snapping control to Animation Editor 2024-09-02 15:57:50 +02:00
Hristo Iliev dabeaa6a4b Fix polygon node losing its UV toolbar by adding a call to the show method when assinging a node.
Fixes #96238
2024-09-02 15:39:29 +03:00
Rémi Verschelde 71091f14ac
Merge pull request #96428 from SaracenOne/timeline_display_fix
Fix overlapping in animation timeline display.
2024-09-02 12:13:53 +02:00
Rémi Verschelde 1474bd7401
Merge pull request #96411 from larspet/uv-editor-error
Fix Polygon2D UV editor error when opening grid settings
2024-09-02 12:13:46 +02:00
Rémi Verschelde 3801b354bf
Merge pull request #96363 from Hilderin/fix-no-unsaved-indicator-save-as-resource
Fix no unsaved indicator Save As resource
2024-09-02 12:13:23 +02:00
Rémi Verschelde d06579f47a
Merge pull request #96260 from basicer/preview-keep-looking
Keep looking when a preview plugin returns an empty image.
2024-09-02 12:13:16 +02:00
Rémi Verschelde 7795849908
Merge pull request #96013 from passivestar/keyframe-navigation
Allow jumping to previous/next keyframe in animation player
2024-09-02 12:13:00 +02:00
Rémi Verschelde 2312345be8
Merge pull request #94698 from aaronp64/current_gizmos_hashset
Improve time to close scene with many 3D gizmos
2024-09-02 12:12:51 +02:00
Rob Blanckaert 28e7069ee0 Keep looking when a preview plugin returns an empty image.
EditorResourcePreviewGenerator::_generate says that
"Returning an empty texture is an OK way to fail and
let another generator take care."

This patch enables that behavior.
2024-09-01 15:17:49 -07:00
Giganzo edba5edcb8 Fix Make floating tooltip mention screen selector 2024-09-02 00:00:14 +02:00
Hilderin 79d0254a2d Fix missing material override after two glb reimports 2024-09-01 17:12:15 -04:00
bruvzg c273786758
Update rendering driver name on fallbacks. Fix rendering driver/method in the editor system info. 2024-09-01 18:22:40 +03:00
Ainsley Su 57bc1d7574 Add duplicate animation
Co-authored-by: Nonunknown <nonunknown777@gmail.com>
2024-09-01 17:00:47 +02:00
Saracen 32e1143bfc Fix overlapping in animation timeline display. 2024-09-01 09:41:19 +01:00
passivestar a7abbe5e9e Allow jumping to previous/next keyframe in animation player 2024-09-01 04:57:58 +04:00
Lars Pettersson 5a0a0257e1
Fix Polygon2D UV editor error when opening grid settings 2024-08-31 23:22:48 +02:00
Lars Pettersson 608d5598e8
Fix Path2D editor not updating gizmos on selection 2024-08-31 21:38:15 +02:00
Saracen 107f2aea88 Enforce correct type for silhouette filter. 2024-08-31 20:35:09 +01:00
Marius Hanl 74f64aaf98 Use InputMap actions consistently across all LineEdit's that filter an underlying Tree or ItemList.
- Instead of checking for Key::UP, Key::DOWN, Key::PAGEUP, Key::PAGEDOWN etc., we rather check for the action like 'ui_up' or 'ui_down'.
- Also use AcceptDialog's 'register_text_enter' functionality to consistently close a dialog when ENTER is pressed while the LineEdit has focus (instead of redirecting ENTER keys to e.g. the underlying Tree).
- Unify the LineEdit filter behavior for the SceneTreeDialog and corresponding usages
- Improve OK Button disablement (something should be selected)
2024-08-31 21:10:27 +02:00
passivestar 8befcc1113 [macOS] Fix Quick Open shortcut conflict 2024-08-31 18:08:23 +04:00
A Thousand Ships 194bdde947
Cleanup of raw `nullptr` checks with `Ref`
Using `is_valid/null` over checks with `nullptr` or `ERR_FAIL_NULL` etc.
2024-08-31 15:01:09 +02:00
Hilderin b97c128b34 Fix no unsaved indicator Save As resource 2024-08-31 08:47:35 -04:00
kobewi 731fd1f0b9 Improve dropping code in script editor 2024-08-31 11:35:59 +02:00
DeeJayLSP d3b51c4efb ResourceImporterWAV: Enable QOA compression by default 2024-08-31 00:42:56 -03:00
Rémi Verschelde 6489013675
Merge pull request #96331 from timothyqiu/offline-templates
Disable export template downloading in offline mode
2024-08-30 23:38:06 +02:00
Rémi Verschelde 52d1b0be4a
Merge pull request #96328 from object71/fix-animation-snap-96159
Add `modf` function and fix animation editor snap behavior
2024-08-30 23:38:02 +02:00
Rémi Verschelde 51d524b9a1
Merge pull request #96269 from Giganzo/floating-window-corner-radius
Fix floating window corner radius
2024-08-30 23:37:53 +02:00
Rémi Verschelde 77bc419071
Merge pull request #96174 from DeeJayLSP/wav-docs
WAV stream/importer: Improve compression/loop names and descriptions
2024-08-30 23:37:50 +02:00
Rémi Verschelde 7753900638
Merge pull request #91599 from dnllowe/realtime-animation-player-property-updates
Update AnimationPlayer in real-time when keyframe properties change
2024-08-30 23:37:42 +02:00
DeeJayLSP 5a50b3a6c5 WAV stream/importer: Improve compression/loop names and descriptions 2024-08-30 16:31:57 -03:00
passivestar 8ff190b065 Fix dock width not respecting editor scale 2024-08-30 22:00:36 +04:00
Fredia Huya-Kouadio 11d4df4bc3 Update the options for launching the Play window in PiP mode 2024-08-30 10:31:33 -07:00
Hristo Iliev fcc8518bce Add modf function and fix snap behavior
Fixes #96159
2024-08-30 17:49:57 +03:00
Haoyu Qiu 5e473b8584 Disable export template downloading in offline mode 2024-08-30 22:17:36 +08:00
Rémi Verschelde ed8baa378a
Merge pull request #96236 from kleonc/scene_tree_dock_fix_trying_to_remove_internal_node
Fix `SceneTreeDock` invalid state after trying to remove internal Node
2024-08-30 11:43:09 +02:00
Rémi Verschelde 1e57671718
Merge pull request #90130 from KoBeWi/erased_from_history
Expose EditorUndoRedoManager's `clear_history()`
2024-08-30 11:42:58 +02:00
Rémi Verschelde 7f86ca057a
Merge pull request #96308 from SaracenOne/attempt_to_reset_imported_scene
Attempt applying RESET pose during import.
2024-08-30 09:59:59 +02:00
Rémi Verschelde 84ad611565
Merge pull request #96280 from CreatedBySeb/fix-tileset-scattering
Fix TileSet Scattering setting vanishing when changing tools
2024-08-30 09:59:43 +02:00
Rémi Verschelde 228a4e7a1d
Merge pull request #96212 from Maran23/theme-type-dialog-navigatable
Make `ThemeTypeDialog` List navigatable when the `LineEdit` has focus
2024-08-30 09:59:30 +02:00
Rémi Verschelde b128e71383
Merge pull request #96208 from m4gr3d/cleanup_immersive_logic
Restore fullscreen toggle menu for the Android editor and clean up the immersive mode logic
2024-08-30 09:59:27 +02:00
Rémi Verschelde 909629d9f9
Merge pull request #96166 from AThousandShips/more_lock_raii
Use `MutexLock` in more places
2024-08-30 09:59:19 +02:00
Rémi Verschelde f0ee0bdd37
Merge pull request #93972 from Hilderin/fix-editor-needs-restart-after-adding-gdextensions
Fix editor needs restart after adding GDExtensions
2024-08-30 09:59:05 +02:00
Rémi Verschelde b310e5e064
Merge pull request #92842 from mihe/multi-node-keying
Allow keying properties when selecting multiple nodes
2024-08-30 09:59:01 +02:00
Rémi Verschelde 66dd06837c
Merge pull request #90782 from bruvzg/export_platform_extension
Allow adding custom export platforms using scripts / GDExtension.
2024-08-30 09:58:52 +02:00
Saracen 31253257b3 Attempt applying RESET pose during import. 2024-08-29 22:58:26 +01:00
rune-scape 154049ce17 StringName Dictionary keys
also added 'is_string()' method to Variant
and refactored many String type comparisons to use it instead
2024-08-29 13:39:27 -07:00
kobewi ad7a2d19a6 Expose EditorUndoRedoManager's clear_history() 2024-08-29 19:23:39 +02:00
demolke c409e6d722 Import/export GLTF extras to node->meta
This is useful for custom tagging of objects with properties (for example in Blender) and having this available in the editor for scripting.

- Adds import logic to propagate the parsed GLTF extras all the way to the resulting Node->meta
- Adds export logic to save Godot Object meta into GLTF extras
- Supports `nodes`, `meshes` and `materials` (in GLTF sense of the words)
2024-08-29 19:17:04 +02:00
A Thousand Ships e33fdb4296
Use `MutexLock` in more places 2024-08-29 14:12:59 +02:00
Sébastien Dunne Fulmer aaa157f929
Fix TileSet Scattering setting vanishing when changing tools 2024-08-29 12:17:38 +01:00
Hilderin ef6f873938 Fix editor needs restart after adding GDExtensions 2024-08-29 06:15:32 -04:00
Rémi Verschelde ad0edb8bb6
Merge pull request #96196 from SaracenOne/bone_editor_revert
Add Revert support to SkeletonEditor.
2024-08-29 10:36:34 +02:00
Rémi Verschelde c1605e47c1
Merge pull request #62524 from AThousandShips/help_search
`EditorHelpSearch` improvements
2024-08-29 10:36:04 +02:00
Giganzo 308186a89e Fix floating window corner radius 2024-08-29 10:27:27 +02:00
kobewi 7e7a4f238b Fix Path2D splitting 2024-08-28 19:29:23 +02:00
kleonc 5ae85a4fb9 Fix SceneTreeDock invalid state after trying to remove internal Node 2024-08-28 19:06:50 +02:00
Fredia Huya-Kouadio 923b0f2e56 Restore 'Toggle fullscreen' menu for the Android editor and clean up the immersive mode logic 2024-08-28 09:50:34 -07:00
A Thousand Ships 5c9cd6a604
`EditorHelpSearch` improvements
* Adds all member types to empty search
* Nests hierarchy adding constructors, methods, operators, etc. under a
  nested entry to reduce clutter

Co-authored-by: MewPurPur <mew.pur.pur@gmail.com>
2024-08-28 18:32:21 +02:00
Rémi Verschelde 3bc84c2988
Merge pull request #63744 from KoBeWi/shader_spaghetti
Refactor toggling script list
2024-08-28 17:14:56 +02:00
kobewi b4c92dbd0e Refactor toggling script list 2024-08-28 17:00:51 +02:00
Yuri Rubinsky 52889ab7ee [Scene] Add SceneStringName::toggled 2024-08-28 15:14:26 +03:00
Rémi Verschelde 5a11abc899
Merge pull request #96198 from DeeJayLSP/qoa-leak
ResourceImporterWAV: Fix memory leak on QOA import
2024-08-28 13:14:27 +02:00
Rémi Verschelde 60765bebe4
Merge pull request #95700 from m4gr3d/add_pip_support_to_game_window
[Android Editor] Add support for launching the Play window in PiP mode
2024-08-28 13:14:23 +02:00
DeeJayLSP e67cc73463 Fix memory leak on QOA import 2024-08-28 08:04:20 -03:00
Marius Hanl ff9946f817 Make ThemeTypeDialog List navigatable when the LineEdit selected
This behavior is the same as in the CreateDialog.
The arrow keys or page up/page down navigate the List while the LineEdit has focus.
2024-08-28 12:57:49 +02:00
Fredia Huya-Kouadio 961394a988 Add support for launching the Play window in PiP mode 2024-08-28 03:18:51 -07:00
Rémi Verschelde 35be8acf60
Merge pull request #96199 from SaracenOne/ownerless_node_crashfix
Fix crash when selecting ownerless 3D node.
2024-08-28 09:45:44 +02:00
Rémi Verschelde c7ac89fb89
Merge pull request #96193 from ryevdokimov/save-transform-gizmo-state
Save the state of view transform gizmo option
2024-08-28 09:45:40 +02:00
Rémi Verschelde 51c7ff86ff
Merge pull request #94522 from RoyBerardo/move-array-dict-remove-item
Make "Remove Item" appear at the top of the list when editing the value of an array or dictionary
2024-08-28 09:45:31 +02:00
bruvzg 07e986f728
Allow adding custom export platforms using scripts / GDExtension. 2024-08-28 10:29:01 +03:00
Saracen 279ccd6d32 Fix crash when selecting ownerless 3D node. 2024-08-28 04:35:46 +01:00
Saracen e32856b5f1 Add revert support to SkeletonEditor. 2024-08-28 04:06:13 +01:00
Hilderin ce42d9dcfe Fix slow importation when window is unfocused 2024-08-27 19:57:38 -04:00
Robert Yevdokimov 67dfbc0816 Save the state of view transform gizmo option 2024-08-27 19:16:43 -04:00
Rémi Verschelde db24ed4ead
Merge pull request #94995 from Repiteo/scons/raw-cstrings
SCons: Add method to generate raw cstrings
2024-08-28 00:12:47 +02:00
Rémi Verschelde e98aaf1caa
Merge pull request #94477 from RedMser/typos-batch-1
Fix various typos
2024-08-28 00:12:12 +02:00
Rémi Verschelde 3e23f56c72
Merge pull request #94288 from KoBeWi/cursed_code
Allow box selecting over CanvasItems when Shift is held
2024-08-28 00:12:02 +02:00
Rémi Verschelde 9f70823eec
Merge pull request #94012 from KoBeWi/reload_everything_to_update_one_line
Allow live reloading of built-in scripts
2024-08-28 00:11:53 +02:00
Rémi Verschelde 7c02e067cc
Merge pull request #93611 from KoBeWi/path_rush
Optimize `get_path()` in EditorFileSystemDirectory
2024-08-28 00:11:16 +02:00
Rémi Verschelde 18895b8aac
Merge pull request #93017 from Chaosus/vs_mesh_emitter_drag_and_drop
Allow drag & drop Mesh to create MeshEmitter in visual shaders
2024-08-28 00:11:01 +02:00
Rémi Verschelde 48645f3d70
Merge pull request #87793 from ryevdokimov/hide-transform-gizmo
Add ability to hide editor transform gizmo
2024-08-28 00:10:32 +02:00
Rémi Verschelde cf2782911f
Merge pull request #87787 from aaronfranke/scene-import-type
ResourceImporterScene: Replace animation bool with an import type string enum
2024-08-28 00:10:27 +02:00
Rémi Verschelde 109203d472
Merge pull request #85331 from RobProductions/customize-navigation-controls
Add full customization of 3D navigation controls
2024-08-28 00:10:19 +02:00
Aaron Franke 9dd71c6414
ResourceImporterScene: Replace animation bool with an import type string enum 2024-08-27 14:58:18 -07:00
Saracen fe6762a6c7 Add Instance Placeholder validation check.
Disallow toggling placeholder on editable children
or inherited nodes.
2024-08-27 22:56:23 +01:00
Rémi Verschelde a2f097d603
Merge pull request #96176 from adamscott/fix-wrong-plural-method-debugger
Fix weird plural of public method names of `EditorDebuggerNode`
2024-08-27 22:27:55 +02:00
Rémi Verschelde 012ccbc301
Merge pull request #95048 from KoBeWi/keep_the_party_going
Add `keep_screen_on` editor setting
2024-08-27 22:27:35 +02:00
Rémi Verschelde d35bee9cdd
Merge pull request #94002 from kitbdev/fix-goto-error
Fix goto line issues in code editor
2024-08-27 22:27:25 +02:00
passivestar 06baff5f01 [macOS] Change breakpoint shortcuts to avoid conflict with the settings shortcut 2024-08-27 23:12:32 +04:00
Adam Scott dfe7ef7964
Fix weird plural public method names 2024-08-27 13:37:37 -04:00
Rémi Verschelde 431c5839fe
Merge pull request #96168 from CreatedBySeb/remove-user-prefix
Remove confusing USER prefix from script-logged errors
2024-08-27 17:52:40 +02:00
Rémi Verschelde ae241abde7
Merge pull request #95259 from kleonc/polygon2d_uv_editor_fix_zoomed_snapping
Fix snapping when zoomed in `Polygon2D` UV editor
2024-08-27 17:52:33 +02:00
kleonc 1b7626f391 Fix snapping when zoomed in Polygon2D UV editor 2024-08-27 17:01:41 +02:00
Rémi Verschelde 8e80c10704
Merge pull request #96162 from passivestar/missing-date
Fix missing project date showing the unix epoch
2024-08-27 16:55:34 +02:00
Rémi Verschelde 046ed80340
Merge pull request #96141 from jsjtxietian/custom-node-doc
Support opening custom class documentation with "Open Documentation" menu entry
2024-08-27 16:55:23 +02:00
Rémi Verschelde 23a0dac7d8
Merge pull request #96136 from SaracenOne/auto_mapper_fix
Prevent automapper throwing obscure error.
2024-08-27 16:55:19 +02:00
Rémi Verschelde 61f2a33353
Merge pull request #96007 from kitbdev/fix-external-script-reloading
Fix script overwriting with external editor
2024-08-27 16:55:11 +02:00
Rémi Verschelde 9dfc41568a
Merge pull request #95984 from timothyqiu/what-identifier
Add `String.is_valid_unicode_identifier()`
2024-08-27 16:55:06 +02:00
Rémi Verschelde 3db976bdb7
Merge pull request #95906 from larspet/change-2d-zoom
Add a zoom speed setting to the 2D editor
2024-08-27 16:55:02 +02:00
Rémi Verschelde 1b29f8bbaa
Merge pull request #95738 from SomeRanDev/shader_editor_context_menu
Add a context menu for the shader editor file list
2024-08-27 16:54:58 +02:00
Rémi Verschelde 21bcff00e9
Merge pull request #95126 from Chaosus/shader_cubemap_fix
Allow setting a cubemap as default parameter to shader
2024-08-27 16:54:50 +02:00
Rémi Verschelde 58beed3495
Merge pull request #95057 from Chaosus/shader_clip_space_far
Add `CLIP_SPACE_FAR` built-in to spatial shader
2024-08-27 16:54:46 +02:00
Rémi Verschelde 5a61e10e09
Merge pull request #89265 from davthedev/spinbox-buttons-refactor
Improve SpinBox interaction, split arrows, add theme attributes
2024-08-27 16:54:39 +02:00
Sébastien Dunne Fulmer c3ed8a842c
Remove confusing USER prefix from script-logged errors 2024-08-27 15:00:48 +01:00
jsjtxietian b5fa2a3d3a Support opening custom class documentation with "Open Documentation" menu entry 2024-08-27 21:52:07 +08:00
passivestar 6ed54ab9ba Fix missing project date showing the unix epoch 2024-08-27 16:03:19 +04:00
Giganzo 1b7d7034a4 Fix Connect Signal Dialog control alignment 2024-08-27 13:25:26 +02:00
Chaosus db251a3f99 Allow setting a cubemap as default parameter to shader 2024-08-27 09:43:05 +03:00
Chaosus f538376c3b Add `CLIP_SPACE_FAR` built-in to spatial shader 2024-08-27 08:48:46 +03:00
Robert Borghese 8a087c7ec4 Add context menu for shader editor list 2024-08-27 01:18:03 -04:00
Haoyu Qiu 8bf4ecc026 Add `String.is_valid_unicode_identifier()`
- Adds `is_valid_unicode_identifier()`
- Adds `is_valid_ascii_identifier()`
- Deprecates `is_valid_identifier()`
- Renames `validate_identifier()` to `validate_ascii_identifier()`
2024-08-27 11:34:08 +08:00
Jeronimo Schreyer 030fd71da2 add support for visualizing bones in Advanced Import Settings
When an imported model Skeleton3D type node is selected, the bones are drawn using lines or octahedrons to provide a clearer reference to their position.
Refactored Skeleton3DGizmoPlugin::redraw now uses a static function to generate bone meshes
2024-08-27 02:10:16 +01:00
Saracen 3caba6e4fb Prevent automapper throwing obscure error.
Add check to prevent the skeleton auto-mapper throwing a cryptic
error when neither a head or neck bone could initially be detected.
2024-08-26 23:45:03 +01:00
Rémi Verschelde 34779211e0
Merge pull request #95891 from KoBeWi/kilometer_long_tree_branch
Disable text trimming in SceneTreeEditor
2024-08-26 23:29:10 +02:00
Rémi Verschelde 0125b0eb03
Merge pull request #94215 from Chaosus/vs_preview_and_param_list
Add a material preview to visual shader editor
2024-08-26 23:28:46 +02:00
Rémi Verschelde a041772ecf
Merge pull request #93940 from Mickeon/deprecate_RichTextLabel_is_ready
Add RichTextLabel `is_finished()`, deprecate `is_ready()`
2024-08-26 23:28:42 +02:00
Rémi Verschelde 056bc6f279
Merge pull request #92540 from BlueCube3310/layered-texture-info
Improve layered texture preview
2024-08-26 23:28:19 +02:00
Rémi Verschelde ac5a528620
Merge pull request #84944 from KoBeWi/legacy_of_ancient_godots
Fix some legacy code
2024-08-26 23:28:14 +02:00
Rémi Verschelde 347700cd95
Merge pull request #83443 from Chaosus/vs_fix_input_sorting
Fix visual shader inputs to follow the alphabet order
2024-08-26 23:28:04 +02:00
Rémi Verschelde b34aa7b44d
Merge pull request #76085 from spanzeri/better_remember_editor_window
Remember editor window mode, screen, size and position on restart
2024-08-26 23:27:55 +02:00
Rémi Verschelde 7e8fffa008
Merge pull request #96122 from SaracenOne/fix_post_import_regression
Prevent empty post-import script paths throwing errors.
2024-08-26 22:46:14 +02:00
Rémi Verschelde b99222e57d
Merge pull request #96095 from SaracenOne/revert_advanced_importer_scale_fix
Revert scaled armature advanced importer preview fix.
2024-08-26 22:46:01 +02:00
Rémi Verschelde 002847f29c
Merge pull request #95958 from bruvzg/no_spec_ttr
Remove spaces and punctuation from the beginning of translatable strings.
2024-08-26 22:45:42 +02:00
Rémi Verschelde 4d353063f5
Merge pull request #95475 from TheSofox/sprite-sheet-guess-feature
Enable `SpriteFramesEditor` to "guess" the amount of rows and columns of a sprite sheet when loading it for the first time
2024-08-26 22:45:23 +02:00
Rémi Verschelde 0f16336be0
Merge pull request #93526 from m4gr3d/add_apksigner_util
[Android Editor] Add support for exporting platform binaries
2024-08-26 22:45:09 +02:00
Rémi Verschelde b78da13e2a
Merge pull request #93064 from Hilderin/fix-fileSystem-dock-wont-show-any-file-folders
Fix FileSystem dock won't show any file folders (v2)
2024-08-26 22:45:04 +02:00
Rémi Verschelde a5e157dd37
Merge pull request #91854 from ImpishOaths/PullReady
Don't lose in/out handles when bezier keyframe inserted on top of existing keyframe
2024-08-26 22:44:52 +02:00
Saracen 2453911013
Revert "Fix importer preview for models with scaled armatures"
This reverts commit 06709e6865.
2024-08-26 22:25:25 +02:00
Sofox eccd1452fa Enable SpriteFramesEditor to guess the amount of rows and columns of a sprite sheet when loading it for the first time 2024-08-26 20:48:04 +01:00
Fredia Huya-Kouadio a5897d579b Update the `GodotHost` interface to support signing and verifying Android apks
Update the export logic to enable apk generation and signing for Android editor builds

Note: Only legacy builds are supported. Gradle builds are not supported at this point in time.
2024-08-26 11:16:38 -07:00
Saracen 064f471103 Prevent empty post-import script paths throwing errors. 2024-08-26 16:42:39 +01:00
Daniel Lowe 67a5932a4f Update AnimationPlayer in real-time when keyframe properties change 2024-08-26 07:19:01 -04:00
Rémi Verschelde abce2babe1
Merge pull request #94429 from mihe/animation-res-ref
Fix animation library copy-paste not preserving resource reference
2024-08-26 10:51:31 +02:00
Rémi Verschelde 04f6321ecc
Merge pull request #91166 from raulsntos/gdextension/loader
GDExtension: Implement `GDExtensionLoader` concept
2024-08-26 10:51:21 +02:00
Rémi Verschelde e63e8453da
Merge pull request #84063 from jsjtxietian/add-shortcuts-for-text-shader-editor
Add several shortcuts for text shader editor
2024-08-26 10:51:07 +02:00
jsjtxietian 5d7f87603d Add several shortcuts for text shader editor 2024-08-26 11:38:58 +08:00
Rémi Verschelde ac4410ce34
Merge pull request #96079 from adamscott/relative-import-script-path
Add import tab `import_script/path` relative path support
2024-08-25 22:24:28 +02:00
Rémi Verschelde 5beb4ee691
Merge pull request #92684 from smix8/mesh_conv_dialog
Add confirm dialog for render mesh to navigation mesh conversion
2024-08-25 22:24:10 +02:00
Rémi Verschelde bc2d0e9f39
Merge pull request #96067 from SaracenOne/advanced_importer_scale_fix
Fix importer preview for models with scaled armatures.
2024-08-25 20:18:46 +02:00
Adam Scott 7e580150f9
Add import tab "import_script/path" relative path support 2024-08-25 12:50:50 -04:00
Saracen 06709e6865 Fix importer preview for models with scaled armatures. 2024-08-25 13:15:26 +01:00
kit 23927c3d9b Fix script overwriting with external editor 2024-08-23 16:34:24 -04:00
David Giardi e371587147 Improve SpinBox interaction, split arrows, add theme attributes 2024-08-23 18:21:20 +02:00
bruvzg ea252675aa [Windows] Emit native file dialog callback from event loop, fix selected options not saved. 2024-08-23 09:53:16 +03:00
Lars Pettersson dfdf7ebcda
Add a zoom speed setting to the 2D editor 2024-08-23 07:13:16 +02:00
bruvzg fba7ad8c7b
Remove spaces and punctuation from the beginning of translatable strings. 2024-08-22 20:51:13 +03:00
passivestar 155033384c Fix animation timeline resize widget allowing impossible internal values 2024-08-22 16:32:38 +04:00
Raul Santos 4dd6e8eca5
GDExtension: Implement `GDExtensionLoader` concept
- Implements the concept of GDExtension loaders that can be used to customize how GDExtensions are loaded and initialized.
- Moves the parsing of `.gdextension` config files to the new `GDExtensionLibraryLoader`.
- `GDExtensionManager` is now meant to be the main way to load/unload extensions and can optionally take a `GDExtensionLoader`.
- `EditorFileSystem` avoids unloading extensions if the file still exists, this should prevent unloading extensions that are outside the user project.
2024-08-22 05:29:11 +02:00
Rémi Verschelde 720615a913
Merge pull request #95898 from KoBeWi/capital_of_nonexistent_properties
Remove references to deleted `capitalize_properties` setting
2024-08-22 00:10:50 +02:00
Rémi Verschelde 9396e058f5
Merge pull request #95874 from tetrapod00/remember-view-grid
Remember "View Grid" (per-viewport) setting between editor sessions
2024-08-22 00:10:43 +02:00
Rémi Verschelde 091212b4f1
Merge pull request #93602 from aaronp64/inspector_latency
Improve Editor Inspector/Theme item lookup performance
2024-08-22 00:10:26 +02:00
Rémi Verschelde 3b81db3bf0
Merge pull request #93577 from passivestar/themable-animation-editor
Allow theming animation editor
2024-08-22 00:10:22 +02:00
Rémi Verschelde d4b6bd5b60
Merge pull request #91172 from clayjohn/detect-rd
Disable creating RD projects in project manager if RD is not supported
2024-08-22 00:10:15 +02:00
kobewi b314a9105a Remove references to deleted capitalize_properties setting 2024-08-21 17:27:54 +02:00
kit 307e40e873 Clean up Viewport forced_mouse_focus 2024-08-21 09:37:44 -04:00
passivestar 6120786ddc Allow theming animation editor 2024-08-21 15:29:27 +04:00
kobewi d917d88b5b Disable text trimming in SceneTreeEditor 2024-08-21 11:08:33 +02:00
Rémi Verschelde 4b8946102b
Merge pull request #91535 from BlueCube3310/betsy-bc6h
Add Betsy to speed up BC6 compression
2024-08-21 06:38:03 +02:00
Hilderin 1b0c5cbc01 Fix FileSystem dock won't show any file folders (v2) 2024-08-20 21:23:13 -04:00
tetrapod00 080acd7246 Remember "View Grid" (per-viewport) setting between editor sessions 2024-08-20 15:59:07 -07:00
Yuri Rubinsky eef236db63 Fix visual shader inputs to follow the alphabet order 2024-08-20 20:51:47 +03:00
aaronp64 7593e55527 Improve Editor Inspector/Theme item lookup performance
Changes to reduce the latency between changing node selection in the editor and seeing the new node reflected in the Inspector tab

- Use Vector instead of List for ThemeOwner::get_theme_type_dependencies and related functions
- Use Vector instead of List for ThemeContext::themes, set_themes(), and get_themes()
- Add ClassDB:get_inheritance_chain_nocheck to get all parent/ancestor classes at once, to avoid repeated ClassDB locking overhead
- Update BIND_THEME_ITEM macros and ThemeDB::update_class_instance_items to use provided StringNames for call to ThemeItemSetter, instead of creating a new StringName in each call

These changes reduce the time taken by EditorInspector::update_tree by around 30-35%
2024-08-20 13:39:40 -04:00
Stuart Carnie 2d0165574d
Add Metal support for macOS (arm64) and iOS 2024-08-20 12:11:06 +02:00
Rémi Verschelde 49e4ad1460
Merge pull request #95691 from Hilderin/fix-display-dialog-while-saving-scene
Fix display dialog while saving scene
2024-08-20 12:08:49 +02:00
Rémi Verschelde 8dfb8efaa9
Merge pull request #95849 from bruvzg/sys_theme_check
[Editor] Prevent unnecessary editor theme regeneration on unrelated system setting update.
2024-08-20 10:03:13 +02:00
Rémi Verschelde fbbc527de6
Merge pull request #95816 from matheusmdx/fix-autocomplete-icon
Fallback to theme icon when no custom icon is set in autocompletion
2024-08-20 10:02:53 +02:00
Rémi Verschelde 26e87f4fbd
Merge pull request #95687 from aryan-11825114/fix-small-graph-editor-pins
Fix small graph editor pins at higher display scales
2024-08-20 10:02:18 +02:00
Rémi Verschelde a55b6a4ac0
Merge pull request #95518 from mihe/bezier-delete-errors
Fix errors about `UndoRedo` history mismatch when deleting bezier track
2024-08-20 10:02:12 +02:00
Rémi Verschelde 8acd82f70e
Merge pull request #89919 from BlueCube3310/bicubic-lightmap
Implement bicubic sampling for lightmaps
2024-08-20 10:01:41 +02:00
Rémi Verschelde 554dc002b5
Merge pull request #85108 from theDrake/pick-main-scene-punctuation
Adjust `pick_main_scene` dialog punctuation
2024-08-20 10:01:28 +02:00
Rémi Verschelde 7f8b4364e8
Merge pull request #82093 from jsjtxietian/add-support-for-drag-a-shader-to-material
Add support for dragging a shader to user exported material property
2024-08-20 10:01:19 +02:00
bruvzg 97085358ce [Editor] Prevent unnecessary editor theme regeneration on unrelated system setting update. 2024-08-20 10:23:00 +03:00
jsjtxietian da5f7c6b40 Add support for dragging a shader to user exported material property 2024-08-20 11:05:52 +08:00
matheusmdx e8254dc3f4 Fallback to theme icon when no custom icon is set in autocompletion 2024-08-19 16:16:06 -03:00
Mikael Hermansson 4db3e6e6cd Fix errors about `UndoRedo` history mismatch when deleting bezier track 2024-08-19 17:53:49 +02:00
Rémi Verschelde da5f39889f
Merge pull request #95763 from gongpha/audiostreamplayer-icons-improvement
Improve AudioStreamPlayer icons
2024-08-19 16:05:30 +02:00
Rémi Verschelde 93fe5c6598
Merge pull request #94553 from juanjp600/gizmo-bvh
Fix gizmos without visible geometry not being selectable
2024-08-19 16:05:11 +02:00
Rémi Verschelde 80933392f3
Merge pull request #87135 from ryevdokimov/do-not-apply-material-on-ui-cancel
Clear drag preview material on `NOTIFICATION_DRAG_END`
2024-08-19 16:04:28 +02:00
oeelis bf9fdc5b96
Ignore locked nodes when click selecting in 3d editor
When selecting 3d nodes with a single click, the node closest to the
camera is selected. If the closest node was locked, it would block the
selection, even when there was unlocked nodes behind the locked node.

This PR replaces the `_select_ray` method call used to find the closest
node with the similar `_find_items_at_pos` method, which can skip any
locked nodes.

Fixes #84764
2024-08-19 14:56:02 +02:00
Rémi Verschelde 3241b440ef
Merge pull request #94911 from yahkr/91542-fix
Fix for folding "Editable Children" nodes in Scene tree not being saved
2024-08-19 14:33:58 +02:00
Rémi Verschelde 219eba940f
Merge pull request #94773 from Hilderin/fix-add-child-node-problem-no-auto-expand
Fix scene node selection problem when no auto expand
2024-08-19 14:33:53 +02:00
Rémi Verschelde 955f1535c0
Merge pull request #94703 from fstxz/fix_get_selected_paths
Fix `EditorInterface.get_selected_paths()` working incorrectly when FileSystemDock is in split mode
2024-08-19 14:33:48 +02:00
Mikael Hermansson 351f454a94 Allow keying properties with multiple nodes selected 2024-08-19 14:05:33 +02:00
Rémi Verschelde 7a4a6fbc03
Merge pull request #95768 from AThousandShips/fix_far
Fix compilation issues caused by `far` identifier
2024-08-19 12:09:43 +02:00
Rémi Verschelde 7f6b4eb5ee
Merge pull request #95704 from KoBeWi/what_in_the_name_of_godot
Don't mark settings as modified while loading
2024-08-19 12:09:29 +02:00
A Thousand Ships 0c3b975ada
Fix compilation issues caused by `far` identifier
Breaks some builds on Win due to macro use of this name
2024-08-19 11:13:56 +02:00
BlueCube3310 ef9bb1a207 Implement support for bicubic lightmap filtering
Co-authored-by: Calinou <hugo.locurcio@hugo.pro>
2024-08-19 09:52:09 +02:00
aaronp64 4d0e2ee47d Improve time to close scene with many 3D gizmos
Changed EditorNode3DGizmoPlugin::current_gizmos from List to HashSet, to avoid having to iterate through all gizmos when ~EditorNode3DGizmo unregisters itself.
2024-08-18 19:47:19 -04:00
Kongfa Waroros cb2b4ea092 Improve AudioStreamPlayer icons 2024-08-19 02:07:32 +07:00
BlueCube3310 394ea653aa Add Betsy to speed up BC6 compression 2024-08-18 11:14:05 +02:00
kobewi 84e8831b89 Don't mark settings as modified while loading 2024-08-17 19:23:06 +02:00
Artemy Fedotov b55e97cd85
Fix `EditorInterface.get_selected_paths()` working incorrectly when FileSystemDock is in split mode 2024-08-17 19:31:15 +04:00
Hilderin da31679d12 Fix display dialog while saving scene 2024-08-17 08:45:13 -04:00
Hilderin b1c97313e0 Fix uid:// Paths Fail to Load at Editor Startup 2024-08-17 07:19:08 -04:00
Hilderin e46280dbb5 Fix scene node selection problem when no auto expand 2024-08-17 06:32:56 -04:00
aryan-11825114 3f7efd2291 Fix small graph editor pins at higher display scales 2024-08-17 15:01:05 +05:30
Yuri Rubinsky f202a3d24e Add a material preview to visual shader editor 2024-08-17 08:27:54 +03:00
Rémi Verschelde 69c96144e2
Merge pull request #95344 from eobet/godot-panel-icons
Make editor panel icons more discreet
2024-08-17 00:47:02 +02:00
Rémi Verschelde 1e3258cd18
Merge pull request #95281 from Lunarisnia/fix/project-settings
Fix project settings not properly saved after a file deletion
2024-08-17 00:46:55 +02:00
Rémi Verschelde c430c775ca
Merge pull request #95258 from kleonc/polygon2d_uv_editor_fix_leaf_bone_drawing
Fix drawing leaf `Bone2D` in `Polygon2D` UV editor
2024-08-17 00:46:41 +02:00
Rémi Verschelde 9bb86dfa4a
Merge pull request #95249 from KoBeWi/pluginector
Fix usage of `add_inspector_plugin()`
2024-08-17 00:46:35 +02:00
Rémi Verschelde 01c0b39399
Merge pull request #95193 from Giganzo/fix-checkbox-alignment-compact-mode
Fix checkbox alignment when using compact theme spacing
2024-08-17 00:46:19 +02:00
Rémi Verschelde 01b87a9a9c
Merge pull request #95171 from KoBeWi/remove_save
Avoid saving EditorSettings on startup
2024-08-17 00:46:03 +02:00
Rémi Verschelde a7200cedbc
Merge pull request #95154 from jsjtxietian/quit-freelook
Fix Pressing Escape doesn't exit freelook in the 3D editor
2024-08-17 00:45:57 +02:00
Rémi Verschelde 195a174864
Merge pull request #90690 from jsjtxietian/camera-aspect
Adjust orthographic camera gizmo with respect to `keep_aspect` setting
2024-08-17 00:45:34 +02:00
Rémi Verschelde 2e400bc475
Merge pull request #95299 from bruvzg/kern_img
[ImageFont] Fix escape sequence parsing, add note to the docs.
2024-08-16 23:45:44 +02:00
Rémi Verschelde 759d7d40d3
Merge pull request #94241 from zeux/optimize-cache
Optimize base and shadow meshes for vertex cache
2024-08-16 23:45:15 +02:00
Rémi Verschelde d6175a43da
Merge pull request #92576 from aaronfranke/shader-lang-editors
Make shader language editors inherit the same base class
2024-08-16 23:44:57 +02:00
eobet da8e4a5b9e Make editor panel icons more discreet
The Godot panel icons in the main editor window is very "shouty".
In a dark theme, especially at 200% display scaling, it's a huge,
bright and shiny, near white flashlight in your eyes.

Also, not knowing what it was, I actually initially thought the icon
was missing or bugged, as it's just a white square!
2024-08-16 22:26:41 +02:00
Micky edb3d99942 Add RichTextLabel `is_finished()`, deprecate `is_ready()` 2024-08-16 20:08:38 +02:00