Commit Graph

16403 Commits

Author SHA1 Message Date
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
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
Rémi Verschelde e52cf86661
Merge pull request #94100 from Calinou/obj-import-remove-unused-optimize-mesh
Remove unused Optimize Mesh import option from OBJ mesh import
2024-08-16 10:34:16 +02:00
Rémi Verschelde e58a7530aa
Merge pull request #93727 from zeux/raycast-opt
Disable normal raycaster for LOD generation by default
2024-08-16 10:34:03 +02:00
Rémi Verschelde 12eb1436f4
Merge pull request #92734 from lawnjelly/faster_editor_grid4
Optimize Editor `_init_grid()`
2024-08-16 10:33:53 +02:00
Aaron Franke 99e997ae15
Make shader language editors inherit the same base class 2024-08-15 15:12:39 -07:00
Chris Cranford b1421a0d98 Remove superfluous `print_line` call 2024-08-15 14:42:51 -04:00
kobewi 0dea6ef251 Allow picking partial properties in PropertySelector 2024-08-15 17:32:57 +02:00
kobewi 4c6b3191db Remove type icon array from PropertySelector 2024-08-15 09:01:19 +02:00
Haoyu Qiu 7343dc3a5d Split TranslationServer into its own file 2024-08-15 15:00:47 +08:00
kobewi 065dd099dd Remove empty bind_methods() 2024-08-15 08:24:32 +02:00
Hilderin a0cc8c5c3b Fix FileSystem not updated on file deletion 2024-08-14 18:24:46 -04:00
Ian McCleary 140f9dc3e7 Fix custom resources using incorrect icons 2024-08-14 12:18:01 -05:00
Rémi Verschelde 8e666adeed
i18n: Sync translations with Weblate
Adds Irish (ga) translations.
2024-08-14 16:14:54 +02:00
Lyuma e7de6f8725 Avoid [] for external_animation_library import option
Some uses of operator[] were causing "rest_pose/external_animation_library": null to be added to the .import file.
2024-08-13 17:53:46 -07:00
A Thousand Ships 4fe0d0ee86
[Editor] Fix `AnimationTrackEditor::timeline_changed` signal
Signal was declared with two arguments, emitted with both two and three
2024-08-13 15:09:53 +02:00
Cory Petkovsek b1a45d9487 Ensure selected node is a descendant of the edited scene 2024-08-13 12:08:47 +07:00
Rémi Verschelde a7a124a57d
i18n: Sync translations with Weblate 2024-08-12 23:51:35 +02:00
Michael Alexsander 84c5403578
Fix incorrect parsing of nested nodes when generating the POT 2024-08-12 18:05:58 -03:00
Rémi Verschelde 29a0e51b87
Merge pull request #95400 from AThousandShips/anim_signal_fix
[Editor] Fix missing bind for animation editor callback
2024-08-12 22:42:08 +02:00
Rémi Verschelde e231d04d0e
Merge pull request #95364 from ajreckof/fix-label-update-for-dict-on-item-deletion
Fix label update for dict on item deletion.
2024-08-12 22:22:32 +02:00
Hugo Locurcio 14dda6a4b9
Tweak missing tile source message in the TileSet editor
This also renames the Tiles tab in the TileSet bottom panel
to Tile Sources to make it more explicit (and avoid using
the same name as the Tiles tab in the TileMap editor).
2024-08-12 21:41:50 +02:00
Rémi Verschelde 39fc116c5f
Merge pull request #94968 from jsjtxietian/obj-import
Fix obj's name set in wrong order when importing
2024-08-12 18:24:27 +02:00
Rémi Verschelde 47d0bdd558
Merge pull request #95405 from TokageItLab/fix-double-seeking
Prevent to seek doubly on AnimationPlayerEditor
2024-08-12 18:18:15 +02:00
Silc Lizard (Tokage) Renew 81399ae9ba Prevent to seek doubly on AnimationPlayerEditor 2024-08-13 00:49:53 +09:00
Zi Ye 1fc8255355 Corrected rotation gizmo plane math for off-center perspective view. 2024-08-11 14:19:23 -05:00
A Thousand Ships 7eed651f38
[Editor] Fix missing bind for animation editor callback
`timeline_changed` signal was connected to a method with three arguments
but provides two.
2024-08-11 19:07:39 +02:00
ajreckof 6577a39bd0 Fix label update for dict on item deletion. 2024-08-10 23:25:46 +02:00
kleonc 3dfac1644d Fix transposed tiles drawing in GenericTilePolygonEditor 2024-08-09 19:26:09 +02:00
kleonc 6895f6f8cc Fix TileAtlasView bounds checks for transposed tiles 2024-08-09 19:26:02 +02:00
Giganzo eb96b7b850 Fix order of Lock and Group icons in SceneTree 2024-08-09 14:06:55 +02:00
Mikael Hermansson 6435112e97 Fix use-after-free in `EditorHelp` 2024-08-09 02:42:58 +02:00
Rio Arswendo Rachmad 138bcc7cfd fix: project settings not properly saved after a file removal 2024-08-08 20:14:53 +07:00
Giganzo 36c9d31a9e Fix huge tscn icon in FileSystem split mode using list view 2024-08-08 11:59:14 +02:00
bruvzg 600e770f39
[Editor] Allow MSDF font rendering for custom fonts, add editor setting to control it. 2024-08-08 10:59:33 +03:00
Hilderin b1c111d033 Fix reimport file multiple scenes 2024-08-07 20:22:46 -04:00
Rémi Verschelde 4bef4d9808
Merge pull request #95225 from Hilderin/fix-performance-reimport-file
Fix performance issue reimport file reload scene
2024-08-07 23:47:06 +02:00
Rémi Verschelde d775887c83
Merge pull request #95061 from Geometror/vs-style-improvements1
[VisualShader] Reduce size changes of nodes when connecting/disconnecting
2024-08-07 23:46:50 +02:00
kleonc 6b82c48bc6 Fix leaf Bone2Ds drawing in Polygon2D UV editor 2024-08-07 21:06:00 +02:00
kobewi 8623a75380 Fix usage of add_inspector_plugin() 2024-08-07 14:16:02 +02:00
kobewi 9a8ba93963 Initialize project name when importing project 2024-08-07 13:22:55 +02:00
jsjtxietian 78dc310103 Fix Pressing Escape doesn't exit freelook in the 3D editor 2024-08-07 11:11:28 +08:00
Hilderin 7934e73d78 Fix performance issue reimport file reload scene 2024-08-06 22:29:04 -04:00
Rémi Verschelde eabeafd8c3
Merge pull request #95086 from m4gr3d/fix_import_button_not_showing_directories
[Android editor] Fix issue with importing projects
2024-08-06 23:59:20 +02:00
Rémi Verschelde 3158bbdb6d
Merge pull request #95084 from Hilderin/fix-crash-reimport-scene-with-animations
Fix crash on reimport scene with animations
2024-08-06 23:15:52 +02:00
Rémi Verschelde ee986b7d47
Merge pull request #95090 from timothyqiu/scene-drop
Don't drop `PackedScene` as property
2024-08-06 12:31:47 +02:00
Rémi Verschelde f544c461f0
Merge pull request #95082 from m4gr3d/fix_display_scale_project_settings
[Android editor] Enable the display scale option in the Project manager's quick settings
2024-08-06 12:31:38 +02:00
Giganzo 7d6ce3345b Fix checkbox alignment when using compact theme spacing 2024-08-06 12:26:55 +02:00
kobewi e47ec7eeb0 Avoid saving EditorSettings on startup 2024-08-05 21:14:24 +02:00
kobewi 30da21f073 Fix project name cleared when browsing path 2024-08-05 14:27:37 +02:00
Haoyu Qiu 8b3400e634 Don't drop PackedScene as property 2024-08-03 14:43:24 +08:00
Fredia Huya-Kouadio fb42b9ce65 Fix issue with import projects for the Android editor 2024-08-02 14:49:25 -07:00
Hilderin 769424388e Fix crash on reimport scene with animations 2024-08-02 16:50:22 -04:00
Fredia Huya-Kouadio eaf85e6582 Enable the display scale option in the Project manager's quick settings dialog 2024-08-02 12:58:06 -07:00
clayjohn 04d0e7f7a4 Check if RD is supported in the ProjectManager and disable creating RD projects if not supported. 2024-08-02 12:36:45 -07:00
Hendrik Brucker de7ce9a85f Reduce size changes of visual shader nodes when connecting/disconnecting
- plus small internal rename
2024-08-02 13:26:49 +02:00
kobewi ab4c23583a Add keep_screen_on editor setting 2024-08-02 03:44:29 +02:00
kit d357a7d0f9 Fix EditorSpinSlider when hidden 2024-08-01 12:14:56 -04:00
kobewi 0d1c388991 Fix some legacy code 2024-08-01 12:08:14 +02:00
Hilderin 1ed723bd19 Fix global class cache file not present when no class name 2024-07-31 16:57:25 -04:00
Thaddeus Crews 0163705640
SCons: Add method to generate raw cstrings 2024-07-31 14:22:04 -05:00
Rémi Verschelde 6cd2876c98
i18n: Sync translations with Weblate 2024-07-31 17:56:37 +02:00
Hugo Locurcio 789f3135ad
Split editor documentation cache by minor version
This avoids conflicts with other editor versions and ensures the
cache remains valid if you regularly switch between editor versions.
2024-07-31 17:17:45 +02:00
kit 06b17a4d2f Fix goto line issues in code editor 2024-07-31 10:34:10 -04:00
Rémi Verschelde 0f172b1beb
Merge pull request #94975 from akien-mga/fix-reimport-textures-with-changed-settings
Fix reimporting textures after changing import project settings
2024-07-31 16:13:18 +02:00
Rémi Verschelde e2be29c2a9
Merge pull request #93404 from TokisanGames/fix-empty-scene-crash
Fix crash in Node3DEditorViewport selecting on empty scene
2024-07-31 16:13:12 +02:00
Rémi Verschelde 5914023be9
Fix reimporting textures after changing import project settings
Fixes #94882.
2024-07-31 13:48:42 +02:00
Rémi Verschelde 4cc56e1c22
Merge pull request #94932 from Hilderin/fix-editor-settings-still-displayed-when-replaced
Fix editor settings still displayed when replaced
2024-07-31 11:37:44 +02:00
Rémi Verschelde 9fe4cb6a76
Merge pull request #93284 from rune-scape/missing-import-settings-crash
Avoid crashing when scene import settings are empty
2024-07-31 11:37:34 +02:00
jsjtxietian eab49cf256 Fix obj's name set in wrong order when importing 2024-07-31 14:50:02 +08:00
Hilderin 20f4d26510 Fix editor settings still displayed when replaced 2024-07-30 17:35:26 -04:00
Rémi Verschelde db79f52736
Merge pull request #94729 from Chaosus/vs_fix_param_set
Fix incorrect passing of parameter to visual shader preview
2024-07-30 12:28:51 +02:00
skyace65 cffc5cacbc
Fix Skeleton 3D insert key tooltips 2024-07-30 12:24:07 +02:00
Rémi Verschelde 4f2d818680
Merge pull request #94875 from Chaosus/vs_fix_expanded_port_updating
Fix expanded output ports disconnection on updating in visual shader
2024-07-29 15:17:36 +02:00
Rémi Verschelde f9474f0925
Merge pull request #93764 from patwork/fix-aspect-div-by-zero
Fix division by zero in aspect ratio calculation
2024-07-29 15:17:22 +02:00
Yahkub-R b89aee45d7 Fix for folding "Editable Children" nodes in Scene tree not being saved 2024-07-29 08:12:34 -04:00
bruvzg cbcc8fab73
[GenericTilePolygonEditor] Add support for Pan and Magnify gestures. 2024-07-29 11:41:15 +03:00
Rémi Verschelde 1ad905c027
Merge pull request #85654 from Listwon/quit-to-project-list-wipe-fix-40968
Defer creating new editor process in "Quit to Project List" just like in "Reload Current Project"
2024-07-28 17:46:23 +02:00
Yuri Rubinsky 5893b38ddd Fix expanded output ports disconnection on updating in visual shader 2024-07-28 15:55:18 +03:00
Hilderin 2d4e573b20 Fix autoload node cannot be accessed by plugin on start-up 2024-07-26 10:29:38 -04:00
Rémi Verschelde c98a7060f0
Merge pull request #94787 from jsjtxietian/gdinc_-
Update shader list after saving `gdshaderinc` file
2024-07-26 13:44:22 +02:00
Rémi Verschelde c7f862d90d
Merge pull request #94738 from TokageItLab/blendshape-edit
Fix BlendShapeTrack insertion not working
2024-07-26 13:44:16 +02:00
Rémi Verschelde 6a1ac99a98
Merge pull request #94387 from mihe/fix-3d-selection-list
Fix "selectable nodes at position clicked" feature in 3D editor
2024-07-26 13:44:01 +02:00
jsjtxietian 3be7aaa624 Update shader list after save `gdshaderinc` file 2024-07-26 18:07:00 +08:00
Silc Lizard (Tokage) Renew b075eba68c Fix BlendShapeTrack insertion totally not working 2024-07-25 23:52:31 +09:00
Yuri Rubinsky 02a6f3944a Fix incorrect passing of parameter to visual shader preview 2024-07-25 11:54:22 +03:00
Rémi Verschelde 7acb61d346
Android Editor: Disable file reimport when .import changes
This is disabling the logic added in #84974 which caused #94416.
That issue still needs to be debugged further, but this works around
the regression and should have minimal usability impact on Android.
2024-07-24 12:07:59 +02:00
bruvzg 25f78a5eb6
Replace .NET detection code with `ClassDB::class_exists("CSharpScript")`. 2024-07-23 23:46:14 +03:00
bruvzg 32bc1c2f33
[Font Import] Detect pixel fonts and disable subpixel positioning. 2024-07-23 20:34:39 +03:00
Rémi Verschelde 2b827f6d5f
Android Editor: Make progress dialog visible again 2024-07-23 17:36:07 +02:00
Rémi Verschelde 432d15e3f1
Merge pull request #94649 from AeioMuch/fix_wrong_selection
Fix node gets wrongly selected after moving another node in the tree
2024-07-23 15:55:42 +02:00
AeioMuch 393fb68aea
Fix node gets wrongly selected after moving another node in the tree 2024-07-23 15:16:45 +02:00
Rémi Verschelde 23a1104d78
Merge pull request #94610 from ajreckof/Fix-Object-encoded-as-id-in-dictionnaries-to-be-represented-as-int-in-the-inspector-
Fix Object encoded as id in dictionaries to be represented as int in the inspector.
2024-07-23 13:08:15 +02:00
Rémi Verschelde 307efbadf8
Merge pull request #94420 from TokageItLab/player-seek-internal
Handle internal seek on AnimationPlayer to process discrete correctly
2024-07-23 13:08:05 +02:00
Rémi Verschelde add558f3bc
Merge pull request #94304 from TokageItLab/fix-end-of-statemachine
Fix StateMachine process when transition to end & optimize StringName
2024-07-23 13:07:59 +02:00
Samuele Panzeri d0bcac8197 Remember editor window mode, screen, size and position on restart 2024-07-23 00:32:12 +02:00
Rémi Verschelde 40c6668044
Merge pull request #94622 from YeldhamDev/atr_corner_case
Parse `auto_translate` when generating a POT file
2024-07-22 17:24:11 +02:00
Rémi Verschelde b94b405d4b
i18n: Sync translations with Weblate 2024-07-22 16:38:48 +02:00
Rémi Verschelde 88c454539c
Merge pull request #94619 from RandomShaper/fix_gl_prev
Fix certain resource previews empty with GL compat
2024-07-22 15:41:17 +02:00
Rémi Verschelde 219cd80af8
Merge pull request #94593 from Hilderin/fix-crash-editor-invalid-editor-settings
Fix editor crash when editor settings resource is invalid
2024-07-22 15:41:10 +02:00
Michael Alexsander fe4bdaf5b5
Parse `auto_translate` when generating a POT file 2024-07-22 10:00:09 -03:00
Pedro J. Estébanez 78ba8b2804 Fix certain resource previews empty with GL compat
As an additional fix, the preview render request now ignores the main viewport hierarchy so previews don't pay the cost of re-rendering the whole editor and descendant viewports.
2024-07-22 14:44:14 +02:00
Rémi Verschelde 3641df5170
Merge pull request #94597 from Malcolmnixon/root-android-template-ignore
Change  .gitignore to only exclude root android template folder
2024-07-22 14:13:12 +02:00
Rémi Verschelde 97be935253
Merge pull request #94594 from KoBeWi/scenegroups😬😬
Increase threshold for displaying scene group update progress
2024-07-22 14:13:08 +02:00
ajreckof f46e94d460 Fix Object encoded as id in dictionnaries to be represented as int in the inspector. 2024-07-22 09:53:03 +02:00
Malcolm Nixon cb5cb3fae1 Change generated .gitignore to only exclude root android template folder. 2024-07-21 14:58:17 -04:00
kobewi 8f3d66eef1 Increase threshold for displaying scene group update progress 2024-07-21 19:45:09 +02:00
Hilderin 650981a080 Fix editor crash when editor settings resource is invalid 2024-07-21 13:26:15 -04:00
Juan Pablo Arce 45f6110e26 Fix gizmos without visible geometry not being selectable
The issue was that Node3DEditorViewport was using the render server's BVH to filter out nodes,
which is not correct for gizmos that have no renderable components,
or have collision triangles that exceed the bounds of their renderable components.
2024-07-21 13:56:13 -03:00
Hugo Locurcio 41b7196ad4
Fix incorrect Curve editor preview thumbnail scaling
`EDSCALE` scaling was applied even though it shouldn't be, which led
to pixelated thumbnails due to double scaling. For reference,
AudioStream previews don't use `EDSCALE` and look fine at any editor
scale (the editor itself already scales the thumbnail requests).
2024-07-21 05:59:01 +02:00
Rémi Verschelde e25f3c0d38
Merge pull request #94302 from TokageItLab/reset-after-change-animation-editor
Fix the behavior of after selecting animation on AnimationPlayerEditor to reset position to `0`
2024-07-20 21:43:50 +02:00
Rémi Verschelde cca22015d5
Merge pull request #94113 from jsjtxietian/project-dialog
Make `fdialog_project` up to become the child of `ProjectManager` instead of child of `ProjectDialog`
2024-07-19 17:31:45 +02:00
Rémi Verschelde 50eee00180
Merge pull request #94093 from Yahkub-R/94056-fix
Fix instanced .blend/GLTF scenes lose all children after update until .tscn is reopened
2024-07-19 17:31:39 +02:00
jsjtxietian 092d21a2ec Make `fdialog_project` up to become sibling of `ProjectDialog` instead of child 2024-07-19 21:03:58 +08:00
Yahkub-R 66822a8948 Fix instanced .blend/GLTF scenes lose all children after update until .tscn is reopened
Co-Authored-By: Tomek <kobewi4e@gmail.com>
Co-Authored-By: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
Co-Authored-By: Hilderin <81109165+Hilderin@users.noreply.github.com>
2024-07-19 08:51:23 -04:00
Roy Berardo 298432317d Make "Remove Item" appear at the top of the list that appears when editing the type of value in an array or dictionary 2024-07-19 03:14:47 -07:00
Rémi Verschelde 2549205aa8
Merge pull request #94450 from jamie-pate/fix_94274
Fix crash when adding scenes with a group to the level scene
2024-07-19 11:10:51 +02:00
Rémi Verschelde f649112dfc
Merge pull request #94116 from bruvzg/ed_quit_unload
[Editor] Unload addons when using `--import` or `--quit`.
2024-07-19 11:10:37 +02:00
Jamie Pate 8e1e0d4b42 Fix Crash when adding scenes with a group to the level scene
Fixes #94274
2024-07-18 17:02:39 -07:00
Rémi Verschelde 72e434bad4
Merge pull request #94497 from Chaosus/vs_rotation_by_axis
Few fixes for `VisualShaderNodeRotationByAxis`
2024-07-18 15:38:24 +02:00
Rémi Verschelde 6b5825a0cb
Merge pull request #94494 from ckaiser/better-curve-preview
Improve Curve preview colors for consistency
2024-07-18 10:45:53 +02:00
Rémi Verschelde 5ae8ac5c59
Merge pull request #94491 from iiMidknightii/fix-unique-name-on-scene-root
Disable unique name in scene when making a node the root node
2024-07-18 10:45:46 +02:00
Rémi Verschelde 43902f43d5
Merge pull request #94237 from BlueCube3310/lightmap-atlas-loop-fix-always
Lightmapper: Prevent infinite loop while blitting lightmaps into an atlas
2024-07-18 10:45:33 +02:00
Yuri Rubinsky cf70cb57ee Few fixes for `VisualShaderNodeRotationByAxis` 2024-07-18 11:10:36 +03:00
Christian Kaiser 5f4f088552 Improve Curve preview colors for consistency 2024-07-18 02:05:00 -03:00
iiMidknightii 2bbba84f79 Removed Unique Name Access From Node Moved To Root 2024-07-17 16:17:22 -07:00
RedMser f9258ff928 Fix typos 2024-07-17 18:53:03 +02:00
Rémi Verschelde da4f6e439c
Merge pull request #94474 from dalexeev/editor-fix-jump-to-error-column
Editor: Consider tabs when calculating column for jump to error
2024-07-17 18:33:48 +02:00
Danil Alexeev 063a362755
Editor: Consider tabs when calculating column for jump to error 2024-07-17 18:20:50 +03:00
Rémi Verschelde 4d97269e11
Merge pull request #94357 from KoBeWi/your_file_is_broken._just_saying
Don't attempt to re-import broken files if they didn't change
2024-07-17 15:45:07 +02:00
Rémi Verschelde c4806ed2a9
Merge pull request #94356 from KoBeWi/metas_everywhere
Make sure that selected tile source is remembered
2024-07-17 15:45:04 +02:00
Rémi Verschelde a4312eebaa
Merge pull request #94468 from m4gr3d/restart_editor_when_updating_touchscreen_settings
[Android Editor] Resolve issues with the editor touchscreen settings
2024-07-17 12:24:14 +02:00
Rémi Verschelde ee9f20b457
Merge pull request #94435 from Hilderin/fix-removing-folder-with-files
Fix removing a folder that contains a file is not removed from the FileSystem Dock
2024-07-17 11:44:42 +02:00
Rémi Verschelde 7b12dbd74d
Merge pull request #94425 from m4gr3d/fix_remote_android_button_not_enabling
Fix issue preventing enabling the remote button for Android/iOS
2024-07-17 11:44:34 +02:00
Rémi Verschelde cb2650cea9
Merge pull request #94405 from ydeltastar/fix-export-no-params
Fix error when exporting files without import parameters
2024-07-17 11:44:27 +02:00
Rémi Verschelde ed13b2a66d
Merge pull request #94272 from Chaosus/vs_add_vec4_switch
Add `SwitchVector4D` shortcut to visual shader members
2024-07-17 11:43:43 +02:00
Rémi Verschelde 69a8aed59a
Merge pull request #94101 from aaronfranke/fix-editor-insp-crash
Fix editor inspector crashing when the old object is no longer valid
2024-07-17 11:43:11 +02:00
Rémi Verschelde 2380ed5e1b
Merge pull request #94058 from Hilderin/fix-scene-project-importation-settings
Fix missing options in Project Import Defaults
2024-07-17 11:42:59 +02:00
Rémi Verschelde efae318304
Merge pull request #94053 from Hilderin/fix-toggle-last-opened-bottom-panel-after-restoring-to-side
Fix Toggle Last Opened Bottom Panel not working after restoring FileSystem Dock to the side
2024-07-17 11:42:55 +02:00
Rémi Verschelde 496fd12b17
Merge pull request #94052 from m4gr3d/clean_input_dispatch_settings
Cleanup Android input on render thread settings
2024-07-17 11:42:52 +02:00
Rémi Verschelde ef3443ef35
Merge pull request #93165 from passivestar/scenetree-shortcut-focus
Prevent node rename shortcut from stealing focus from controls
2024-07-17 11:42:38 +02:00
Fredia Huya-Kouadio 8f7dc86223 Enable `restart_if_changed` for the touchscreen editor settings
The alternative was to regenerate the theme which caused the Android Editor to freeze while the regeneration was ongoing.
2024-07-17 02:30:30 -07:00
Hilderin a1ef54fd3b Fix removing a folder that contains a file is not removed from the FileSystem Dock 2024-07-16 08:52:39 -04:00
Mikael Hermansson 08ef14a037 Fix animation library copy-paste not preserving resource reference 2024-07-16 11:34:44 +02:00
Fredia Huya-Kouadio 5b327aee96 Fix issue preventing enabling the remote button for Android
https://github.com/godotengine/godot/pull/92032 updated the logic to enable / disable the remote debug button, and in doing so added a `can_export` check.

However, no events / notifications are dispatched when the value of the `can_export` check changes, which in turn prevents the logic used to enable / disable the remote debug button from running again.

The fix consists then in removing the `can_export` check, so that the remote debug button shows as `enabled` when a preset is present and is runnable.
2024-07-16 00:25:16 -07:00
Silc Lizard (Tokage) Renew 98dbd869c5 Handle internal seek on AnimationPlayer to process discrete correctly 2024-07-16 14:49:25 +09:00
yds 326e51750b Fix error when exporting files without import parameters 2024-07-15 18:24:12 -03:00
Mikael Hermansson c9e0532bc2 Fix "selectable nodes at position clicked" feature in 3D editor 2024-07-15 13:14:57 +02:00
kobewi a5d86c1327 Don't attempt to re-import broken files if they didn't change 2024-07-14 19:51:29 +02:00
kobewi a0824735a0 Make sure that selected tile source is remembered 2024-07-14 19:07:17 +02:00
kobewi 0b513b9f65 Allow box selecting over CanvasItems when Shift is held 2024-07-13 18:21:17 +02:00
BlueCube3310 60a255a0d0 Lightmapper: Prevent infinite loop when blitting lightmaps into an atlas 2024-07-13 13:10:04 +02:00
Silc Lizard (Tokage) Renew 7cdeac94d1 Fix StateMachine process when transition to end & optimize StringName 2024-07-13 17:32:31 +09:00
Silc Lizard (Tokage) Renew b326a35747 Reset position to 0 after animation selected on AnimationPlayerEditor 2024-07-13 14:27:01 +09:00
Yuri Rubinsky d375b99acf Add `SwitchVector4D` shortcut to visual shader members 2024-07-12 18:44:48 +03:00
Kasper Frandsen 5ad7cd33bd Add collapse/expand right click option to remote scene view 2024-07-12 14:33:34 +01:00
Rémi Verschelde 383a6e4ef2
Merge pull request #94172 from jsjtxietian/open-save
Prevent confirm button being override to "Open" when in save file mode
2024-07-11 09:41:18 +02:00
Rémi Verschelde cead80e7d0
Merge pull request #94015 from Grublady/strip_slash
Ignore trailing slashes in new project’s path when disabling Create Folder
2024-07-11 09:41:14 +02:00
Rémi Verschelde 685413a948
Merge pull request #94162 from anniryynanen/sprite-frames-crash
Fix edited node being removed before editor plugin handles focus loss
2024-07-11 00:27:47 +02:00
Anni Ryynänen 4a27fb7e83
Fix edited node being removed before editor plugin handles focus loss
`CanvasItemEditor::_select_click_on_item` was causing
`EditorNode::_plugin_over_edit` to be called before focus exit had time
to propagate to `SpriteFramesEditor::_animation_speed_changed`.
2024-07-10 16:32:56 +03:00
jsjtxietian 4a4968f7d8 Prevent confirm button being override to "Open" when in save file mode 2024-07-10 19:49:03 +08:00
Yuri Rubinsky af5fc8354b Fix a bunch of orphan StringName errors at ProjectSettings/Editor exit 2024-07-09 19:38:52 +03:00
Fredia Huya-Kouadio 5e59819727 Cleanup Android input on render thread settings
Follow up to https://github.com/godotengine/godot/pull/93933
Clean up the set of settings use to control whether Android input should be dispatched on the render thread.

Addresses comments in https://github.com/godotengine/godot/pull/93933#issuecomment-2210437977
2024-07-09 09:15:18 -07:00
Hilderin 169e732518 Fix missing options in Project Import Defaults 2024-07-09 09:33:39 -04:00
passivestar 09f967bc00 Prevent node rename shortcut from stealing focus from controls 2024-07-09 16:29:35 +04:00
bruvzg c151c7dce0
[Editor] Unload addons when using `--import` or `--quit`. 2024-07-09 09:54:41 +03:00
Rémi Verschelde b0467d07bf
Merge pull request #94105 from KoBeWi/same_parent_new_problems
Fix wrong inspected node after drag&drop
2024-07-09 00:03:32 +02:00
Rémi Verschelde 6d2fe76084
Merge pull request #94102 from Calinou/obj-import-fix-no-surfaces-error
Fix error message being printed when importing an OBJ with no surfaces
2024-07-09 00:03:26 +02:00
kobewi b51d9117ed Fix wrong inspected node after drag&drop 2024-07-08 23:52:16 +02:00
BrinerLovo bf01119cdf
Animation: Fix reset value when adding new Bezier track
Fixes #81929.

In Float and Integer types, there is no subindex – only the primary value.
Currently, trying to retrieve a subindex from these types in the Variant leads
to a return value of null. To address this, the proposed change ensures that
the default value is returned for these types instead of attempting an invalid
subindex retrieval.
2024-07-08 23:18:03 +02:00
Hugo Locurcio bbf68306c5
Fix error message being printed when importing an OBJ with no surfaces
An OBJ with no surfaces is valid, and typically happens when
you import an OBJ mesh with no associated MTL file.
2024-07-08 23:14:52 +02:00
Grublady 5583ac5218 Ignore trailing slashes in new project’s path when disabling Create Folder
In the “Create New Project” dialog, disabling the “Create Folder” slider with a trailing slash in the project path would cause it to incorrectly identify the last path component as the substring following the slash, in other words, an empty string.

By first discarding any trailing slashes when disabling the slider, the project dialog will now identify and pop the last path component as usual even when a trailing slash is present.
2024-07-08 17:10:12 -04:00
Aaron Franke 2e7526af42
Fix editor inspector crashing when the old object is no longer valid 2024-07-08 14:00:28 -07:00
Hugo Locurcio 5ee4100e4c
Remove unused Optimize Mesh import option from OBJ mesh import
This option was enabled by default, but it did nothing regardless
of whether it was enabled or not.
2024-07-08 22:58:51 +02:00
Rémi Verschelde 16f98cd707
Merge pull request #94079 from RandomShaper/editor_main_mq
Let EditorLog use the right call queue for thread safety
2024-07-08 19:13:45 +02:00
Rémi Verschelde 40d9f3a158
Merge pull request #94020 from Hilderin/fix-reimport-model-does-not-update-scene
Fix re-import glb model doesn't change the old glb model
2024-07-08 19:13:34 +02:00