Commit graph

16274 commits

Author SHA1 Message Date
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
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
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
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
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
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
BlueCube3310
e0f30d30e2 Improve layered texture preview 2024-08-16 18:20:55 +02:00
Arseny Kapoulkine
0fde03c0e0 Optimize base and shadow meshes for cache
Previously, vertex cache optimization was ran for the LOD meshes, but
was never ran for the base mesh or for the shadow meshes, including
shadow LOD chain (shadow LOD chain would sometimes get implicitly
optimized for vertex cache as a byproduct of base LOD optimization, but
not always). This could significantly affect the rendering performance
of geometry heavy scenes, especially for depth or shadow passes where
the fragment load is light.
2024-08-16 07:36:12 -07:00
Rémi Verschelde
96be44c0ec
Merge pull request #94802 from Hilderin/fix-autoload-node-cannot-be-accessed-plugin-start-up
Fix autoload node cannot be accessed by plugin on start-up
2024-08-16 14:52:42 +02:00
bruvzg
4cc065c2db
[ImageFont] Fix escape sequence parsing, add note to the docs. 2024-08-16 15:48:56 +03:00
Rémi Verschelde
ca8508bee4
Merge pull request #95554 from KoBeWi/subproperty_of_a_subproperty_of_a_property
Allow picking partial properties in PropertySelector
2024-08-16 14:36:21 +02:00
Rémi Verschelde
f01e052162
Merge pull request #95549 from timothyqiu/split-translation-server
Split `TranslationServer` into its own file
2024-08-16 14:36:16 +02:00
Rémi Verschelde
c153b15110
Merge pull request #95546 from KoBeWi/that_array
Remove type icon array from PropertySelector
2024-08-16 14:36:03 +02:00
Rémi Verschelde
0f9925c0f9
Merge pull request #95542 from KoBeWi/go_bind_yourself
Remove empty `bind_methods()`
2024-08-16 14:35:51 +02:00
Rémi Verschelde
5847d362de
Merge pull request #95505 from lyuma/import_null_external_animation_library
Avoid `[]` for `external_animation_library` import option
2024-08-16 14:35:20 +02:00
Rémi Verschelde
1c43f931ae
Merge pull request #95444 from YeldhamDev/pot_gen_fix
Fix incorrect parsing of nested nodes when generating the POT
2024-08-16 14:34:43 +02:00
Rémi Verschelde
a3904585bc
Merge pull request #95440 from Calinou/tileset-editor-tweak-no-tile-source-message
Tweak missing tile source message in the TileSet editor
2024-08-16 14:34:37 +02:00
Rémi Verschelde
45342d06a6
Merge pull request #95420 from TokisanGames/fix-crash-selecting-notdescendant
Fix crash by ensuring selected node is a descendant of the edited scene
2024-08-16 14:34:15 +02:00
Rémi Verschelde
60b0b5cd42
Merge pull request #95337 from kleonc/tile_set_editor_fix_transposed_polygons_editing
Fix polygon drawing for transposed tiles in `TileSet` editor
2024-08-16 14:33:37 +02:00
Rémi Verschelde
9527da4329
Merge pull request #95278 from Giganzo/fix-huge-tscn-icon-in-filesystem-split-mode-list-view
Fix huge tscn icon in FileSystem split mode using list view
2024-08-16 14:33:18 +02:00
Rémi Verschelde
252ba2e0e3
Merge pull request #95230 from bruvzg/msdf_custom
[Editor] Allow MSDF font rendering for custom fonts, add editor setting to control it.
2024-08-16 14:33:12 +02:00
Rémi Verschelde
6fd0076ac4
Merge pull request #95028 from kitbdev/fix-spin-slider-hidden
Fix EditorSpinSlider when hidden
2024-08-16 14:32:57 +02:00
Rémi Verschelde
8f6116d3f4
Merge pull request #94904 from bruvzg/tile_poly_gestures
[GenericTilePolygonEditor] Add support for Pan and Magnify gestures.
2024-08-16 14:32:45 +02:00
Rémi Verschelde
58020c8e0d
Merge pull request #94854 from ianmccleary/custom-resource-icon-fix
Fix custom resources using incorrect icons
2024-08-16 14:32:38 +02:00
Rémi Verschelde
7865266f24
Merge pull request #94609 from bruvzg/pixel_font_detect
[Font Import] Detect pixel fonts and disable subpixel positioning.
2024-08-16 14:32:14 +02:00
Rémi Verschelde
f02e89bd04
Merge pull request #93869 from MajorMcDoom/ortho-grids
Make viewport grid visible on all three planes in ortho camera view
2024-08-16 14:32:06 +02:00
Rémi Verschelde
8766361279
Merge pull request #95581 from Naros/remove-print
Remove superfluous `print_line` call
2024-08-16 10:36:51 +02:00
Rémi Verschelde
3ba9f4304e
Merge pull request #95402 from MajorMcDoom/rotation-gizmo-fix
Correct rotation gizmo plane math for off-center perspective view
2024-08-16 10:35:51 +02:00