Commit Graph

14167 Commits

Author SHA1 Message Date
kobewi 01bd005a1f Change AnimationLibEditor's mixer to actual Mixer 2023-11-06 23:27:44 +01:00
Nikita Krasnov c0a18e17ba Fix pressing Enter being ignored in "Create Shader" dialogue 2023-11-06 19:20:18 +03:00
Yuri Sizov 14cc639bc3 Merge pull request #81018 from jsjtxietian/return-use-friendly-info-in-scriptStackVariable-serialize
Fix `_get_debug_tooltip` crash if tooltip string is too large
2023-11-06 15:43:21 +01:00
Yuri Sizov fae8ace6fb Merge pull request #84361 from YuriSizov/editor-fix-sprite2d-regional-issues
Prevent crash and error spam related to Sprite2D with a region
2023-11-06 13:23:11 +01:00
Yuri Sizov 3c68ab679a Merge pull request #84271 from aaronfranke/gltf-compat-version
Implement glTF compat version system for files from older Godot versions
2023-11-06 13:23:07 +01:00
Yuri Sizov 8b11ae9cf5 Merge pull request #83596 from SaracenOne/node_copy_paste_fix
Fix ownership bugs in node copy and pasting.
2023-11-06 13:23:03 +01:00
Yuri Sizov a8bcbff59f Merge pull request #82133 from MewPurPur/svg-tweaks
Optimize and tweak some SVGs, improve consistency between icons, and fix broken masks in light mode
2023-11-06 13:22:59 +01:00
jsjtxietian 155d738163 Fix _get_debug_tooltip will crash if tooltip string is too large 2023-11-06 20:09:17 +08:00
Saracen 26576cc210 Fix ownership bugs in node copy and pasting. 2023-11-04 20:14:09 +00:00
MewPurPur 03d1830176 Optimize, tweak, improve consistency in SVG icons, and fix masks in light mode 2023-11-04 17:36:18 +02:00
Yuri Sizov 111a5e90da Prevent crash and error spam related to Sprite2D with a region 2023-11-04 13:03:28 +01:00
Aaron Franke 58076b9ccb
Implement glTF compat version system for files from older Godot versions 2023-11-03 12:07:25 -05:00
Yuri Sizov 5ee983188d Merge pull request #84404 from MewPurPur/engine-config-old-icon-convention
Fix engine configuration icons using old convention
2023-11-03 12:52:37 +01:00
Yuri Sizov 64705bc3af Merge pull request #84374 from AThousandShips/format_fix
Fix inverted condition when unwrapping lightmap
2023-11-03 12:52:28 +01:00
Yuri Sizov c929f79f99 Merge pull request #84282 from SaracenOne/animation_rename
Fix perform_node_renames handling of AnimationMixers track paths
2023-11-03 12:52:24 +01:00
Yuri Sizov 330d22e99a Merge pull request #84217 from SaracenOne/fix_filesystem_rename_crash
Fix file rename crash after toggling split mode.
2023-11-03 12:52:20 +01:00
Yuri Sizov 802813d8f9 Merge pull request #83036 from jsjtxietian/move-animation-slice-processing-to-_post_fix_animations
Move animation slice processing to `_post_fix_animations`
2023-11-03 12:52:08 +01:00
MewPurPur e0399689f4 Fix engine configuration icons using old convention 2023-11-03 12:50:12 +02:00
Saracen 4f0790a214 Fix perform_node_renames handling of AnimationMixers track paths 2023-11-02 21:38:32 +00:00
Saracen 7fea0cef4c Fix file rename crash after toggling split mode. 2023-11-02 21:29:01 +00:00
Yuri Sizov b733901e9e Merge pull request #84354 from RandomShaper/gdext_no_cache_doc
Polish & fix editor help cache generation
2023-11-02 20:34:22 +01:00
A Thousand Ships 2cb94fa362 Fix inverted condition when unwrapping lightmap 2023-11-02 18:33:58 +01:00
Pedro J. Estébanez a1d8fc1af9 Polish & fix editor help cache generation
- Isolated the generation of extensions's docs. They're now not cached and refreshed as needed.
- Removed superfluous sorting of the class list.
- Removed some superfluous/unused elements.
- Renamed some items for clarity.
2023-11-02 13:46:37 +01:00
Rémi Verschelde 44a54f4500
Merge pull request #84252 from clayjohn/ensure_tangents
Enhance checks and user experience around tangent arrays in meshes.
2023-11-02 09:11:32 +01:00
Rémi Verschelde 64bb27aefd
Merge pull request #83600 from jsjtxietian/make-translation-import-more-robust
Make translation importer skip not-supported lang tag, make it more robust
2023-11-02 09:11:00 +01:00
clayjohn d1043a5f93 Enhance checks and user experience around tangents.
Ensure `ensure_tangents` option actually creates tangent array. Even if it is just a dummy array.

Allow mesh to generate its own tangents when using compression. This allows users to compress meshes without tangents.

Warn users if they are trying to read from tangents without providing tangents.
2023-11-01 22:40:42 +01:00
Rémi Verschelde 98baac7172
Merge pull request #84200 from clayjohn/surface-upgrade-tool-rework
Overhaul the SurfaceUpgradeTool
2023-11-01 22:32:09 +01:00
Haoyu Qiu 3f00d713b8 Allow dragging editable children
But not allow dropping inside the scene tree editor.
2023-11-01 23:54:38 +08:00
clayjohn be386e1876 Overhaul the SurfaceUpgradeTool
This defers the update to a fresh restart of the editor (to ensure we aren't mid way through loading scenes anymore.

It also ensures that the popup can't be used by multiple threads at once

Co-authored-by: Yuri Sizov <yuris@humnom.net>
2023-11-01 15:32:54 +01:00
Rémi Verschelde b797f6cb83
Merge pull request #84302 from YuriSizov/editor-forget-about-file-dialogs-willya
Disconnect `EditorNode` from file dialogs on destruction
2023-11-01 15:13:18 +01:00
Rémi Verschelde 2d64e52b08
Merge pull request #84296 from bruvzg/ver_validate
[Export] Improve app / file version validation.
2023-11-01 15:12:07 +01:00
Rémi Verschelde 8a403e7432
Merge pull request #84291 from jsjtxietian/fix-import-default-save-failed
Fix press save in Import Defaults did not save the changed setting
2023-11-01 15:11:43 +01:00
Yuri Sizov 8c39a2d169 Disconnect `EditorNode` from file dialogs on destruction 2023-11-01 13:01:28 +01:00
bruvzg a0bd5f8568
[Export] Improve app / file version validation. 2023-11-01 11:25:44 +02:00
jsjtxietian 255db4df68 Fix press save in Import Defaults did not save the changed setting 2023-11-01 15:45:51 +08:00
Rémi Verschelde 8fc215893a
Merge pull request #84257 from KoBeWi/eradicate_folding_2-coiled_agony_returns_under_moonlight
Make remote inspector groups not foldable
2023-10-31 20:16:40 +01:00
Rémi Verschelde 7c2acfdf17
Merge pull request #84208 from YuriSizov/editor-animation-that-pops
Avoid popping up dialogs excessively in the Animation editor
2023-10-31 20:16:16 +01:00
Rémi Verschelde f1f92bdb30
Merge pull request #84049 from kleonc/node3d-editor-plugin-snapping
Fix some `Node3DEditor` snapping issues
2023-10-31 20:15:30 +01:00
kobewi a92ed50777 Make remote inspector groups not foldable 2023-10-31 17:29:53 +01:00
Rémi Verschelde 6271f91a8f
Merge pull request #84218 from SaracenOne/naming_conflict_crash
Fix crash on rename collision in thumbnail grid
2023-10-31 13:46:38 +01:00
Yuri Sizov 60355889f8 Avoid popping up dialogs excessively in the Animation editor 2023-10-31 11:54:02 +01:00
Saracen c640018b88 Fix crash on rename collision in thumbnail grid 2023-10-30 22:52:12 +00:00
Rémi Verschelde ec5bfbd176
Merge pull request #82707 from BrianMacIntosh/find-highlight-fix
Search terms are now highlighted when the bar opens with a selection.
2023-10-30 23:17:45 +01:00
Rémi Verschelde ca6b404739
Merge pull request #79725 from Calinou/editor-export-mode-clarify-heading
Improve headings for the export mode in the Export dialog
2023-10-30 23:16:54 +01:00
Brian MacIntosh 0d7db935aa Search terms are now highlighted when the bar opens with a selection.
This is achieved by triggering a search when the bar opens. This is slightly inefficient but cleanly updates everything that's dependent on the search and reduces code duplication.
2023-10-30 10:21:25 -07:00
Rémi Verschelde 8f0b742a9a
Merge pull request #83576 from raulsntos/fix-80883
Enable new addon after hiding ProjectSettings
2023-10-30 17:47:23 +01:00
Rémi Verschelde dcde5ba25a
Merge pull request #84129 from SaracenOne/better_warning_for_track_hint_fail
Add descriptive warning for animation track hint fails.
2023-10-30 16:27:03 +01:00
Rémi Verschelde 55fca13dc5
Merge pull request #82570 from 100gold/preprocessor_in_vshader_editor
Add preprocessor pass on visual shader when showing generated code
2023-10-30 16:25:51 +01:00
Rémi Verschelde a7c81f4275
Merge pull request #73981 from stmSi/fix-filter-files-shortcut-input-not-handling
Fix Filter Files shortcut input is not properly handled
2023-10-30 16:25:24 +01:00
Saracen 8db9884dd5 Add descriptive warning for animation track hint fails. 2023-10-30 14:34:15 +00:00
Rémi Verschelde 030dcedf93
Merge pull request #84170 from SaracenOne/update_anim_timeline_label
Fix AnimationTimeline time not updating when dragged.
2023-10-30 13:57:16 +01:00
Rémi Verschelde e2c79bcb95
Merge pull request #82471 from SaracenOne/recache_bone_attachment
Reimport bone attachment fixes
2023-10-30 10:18:00 +01:00
Saracen d9950e2370 Fix AnimationTimeline time not updating when dragged. 2023-10-30 01:59:54 +00:00
100gold 0486d40f14 Add preprocessor pass on visual shader when showing generated code 2023-10-29 19:12:08 +03:00
Rémi Verschelde b096174259
Merge pull request #84064 from jsjtxietian/fix-save-in-text-shader-editor-pass-through
Add save shortcut for text shader editor to prevent it propagating to scene
2023-10-28 18:35:21 +02:00
Rémi Verschelde dc3a643541
Merge pull request #83934 from KoBeWi/give_back_animations_to_animation_editor
Fix animation track paths updated by scene dock
2023-10-28 18:34:10 +02:00
Rémi Verschelde e7a25b262c
Merge pull request #83370 from SaracenOne/unique_name_subscene
Remove toggling of unique names in subscenes
2023-10-28 18:33:42 +02:00
Jonathan Nicholl 1419eefcc6 Allow changing keys for imported AnimationLibraries in the editor 2023-10-28 08:35:01 -04:00
Rémi Verschelde ba1bd6fc15
Merge pull request #84077 from KoBeWi/this_path_is_valid_change_my_mind
Ignore path error for built-in scripts/shaders
2023-10-28 12:32:01 +02:00
Rémi Verschelde b6c941fe9c
Merge pull request #83822 from jsjtxietian/fix-can-not-uncomment-in-text-shader-editor
Fix unable to uncomment code in text shader editor
2023-10-28 12:31:14 +02:00
Rémi Verschelde fe64786a91
Merge pull request #83498 from SaracenOne/mesh_unwrap_rules
Mesh instance UV2 unwrapping improvements
2023-10-28 12:30:22 +02:00
Saracen e865bad06a Mesh instance UV2 unwrapping improvements:
Enforce foreign resource modification rules.
Add more helpful error handling for ArrayMesh unwrapping.
2023-10-28 03:04:15 +01:00
Saracen 29c2615352 Remove toggling of unique names in subscenes 2023-10-28 02:55:45 +01:00
kobewi a7fa34db1d Ignore path error for built-in scripts/shaders 2023-10-27 21:49:34 +02:00
Saracen 4b671eec0e Reimport bone attachment fixes:
Assign bone_idx to GLTF importer to fix serialization.
Notifies Skeletons and BoneAttachments when reimporting.
Removes usage of NOTIFICATION_NODE_RECACHE_REQUESTED
2023-10-27 20:34:01 +01:00
aXu-AP d7e5c25e4a Fix UV editor not using texture transform 2023-10-27 22:33:37 +03:00
aXu-AP aa3568b8dd Fix 2D bone weight editor not accounting for offset
Skeleton was shown in wrong place in Polygon2D UV editor's bone painting mode.
2023-10-27 20:37:23 +03:00
jsjtxietian 775adc0a6d Add save shortcut for text shader editor to prevent it propagated to scene
when hit ctrl s in the shader editor
2023-10-28 00:53:03 +08:00
Rémi Verschelde b662d232a2
Merge pull request #84055 from smix8/navobstacle_editor
Fix NavigationObstacle3DEditor parenting error
2023-10-27 17:46:11 +02:00
Rémi Verschelde a725e847ea
Merge pull request #83868 from KoBeWi/−5_just_because
Remove margins from editor scrollbars
2023-10-27 17:45:20 +02:00
smix8 e8caa0aa92 Fix NavigationObstacle3DEditor parenting error
Fixes NavigationObstacle3DEditor parenting error.
2023-10-27 15:43:28 +02:00
Saracen 0e545d9e88 Unpress buttons in AnimationTree when switching to read-only mode. 2023-10-27 13:39:08 +01:00
Rémi Verschelde ba79e53dd0
Merge pull request #84048 from SaracenOne/extra_readonly_info
Add read-only info to resource embedded in other scenes.
2023-10-27 13:33:53 +02:00
Rémi Verschelde ac864d67d0
Merge pull request #84011 from YuriSizov/editor-limit-icon-sizes-in-more-hidden-places
Limit custom icons size in various editor widgets
2023-10-27 13:33:03 +02:00
Saracen ada1f66fc1 Add read-only info to resource embedded in other scenes. 2023-10-27 12:01:22 +01:00
kleonc 74a35526e0 Fix some Node3DEditor snapping issues 2023-10-27 13:00:49 +02:00
Rémi Verschelde dd74ffde95
Merge pull request #84022 from SaracenOne/validate_renames
Add foreign validation warning for rename actions.
2023-10-27 11:39:20 +02:00
Rémi Verschelde d88ef223e3
Merge pull request #82853 from KoBeWi/line_surgery
Prioritize points in polygon editor hover
2023-10-27 11:36:09 +02:00
Rémi Verschelde 8919d1c2b5
Merge pull request #82806 from Vilcrow/fix-ensure-selected-visible
Fix checking the visibility condition of selected file in the Godot editor's dock
2023-10-27 11:35:40 +02:00
Saracen 5deff6c2dd Add foreign validation warning for rename actions. 2023-10-26 22:14:48 +01:00
Yuri Sizov 6e20c78c20 Limit custom icons size in various editor widgets 2023-10-26 17:56:09 +02:00
kobewi 7cffb30254 Prioritize points in polygon editor hover 2023-10-26 16:03:55 +02:00
Rémi Verschelde 80e5484a82
Merge pull request #83941 from Jordyfel/hashset-not-vector
Use Hashset for dependency list when moving
2023-10-26 16:01:21 +02:00
Rémi Verschelde 4f138db264
Merge pull request #83764 from timothyqiu/suffix-only
Fix infinite loop when importing 3D object named "-colonly"
2023-10-26 16:00:08 +02:00
Rémi Verschelde 34b1c0e40b
Merge pull request #83487 from KoBeWi/crash_that_does_not_exist
Prevent crash when creating custom file tooltip
2023-10-26 15:59:19 +02:00
Rémi Verschelde 346459e9fb
Merge pull request #83986 from SaracenOne/skeleton_bones_renamed_check
Add method check for `_notify_skeleton_bones_renamed`.
2023-10-26 12:10:32 +02:00
Saracen d0e5bff542 Add method check for _notify_skeleton_bones_renamed. 2023-10-26 10:22:59 +01:00
Rémi Verschelde 53a894e520
Merge pull request #83964 from SaracenOne/skeleton_reimport_crashfix
Fix crash when reimporting with Skeleton3D selected.
2023-10-26 09:00:45 +02:00
Rémi Verschelde 27679dbfa4
Merge pull request #83937 from Jordyfel/potential-crash-on-move
Fix potential crash on failed move
2023-10-26 08:59:10 +02:00
Rémi Verschelde 9f20a4a391
Merge pull request #81510 from garychia/unedit_created_script
SceneTreeDock: Avoid changing the currently edited object when attaching a script
2023-10-26 08:57:01 +02:00
S.V.I. Vilcrow 1ec2272e0b Fix checking the visibility condition of selected file in the Godot editor's dock. 2023-10-25 23:13:18 +03:00
Saracen ed083a9fbe Fix crash when reimporting with Skeleton3D selected. 2023-10-25 21:10:57 +01:00
Jordyfel 50b7387a3f Use Hashset for dependency list when moving 2023-10-25 21:05:53 +03:00
Jordyfel 85144f0cd1 Fix potential crash on failed move. 2023-10-25 14:52:34 +03:00
kobewi 294ce2d2a7 Fix animation track paths updated by scene dock 2023-10-25 12:34:50 +02:00
Rémi Verschelde 074297d945
Merge pull request #83745 from quirkylemon/clamped-description-text
Clamp the height of description text for property selectors
2023-10-25 10:29:33 +02:00
Rémi Verschelde cd46addfca
Merge pull request #83597 from SaracenOne/duplicate_foreign_nodes
Support duplication of foreign nodes.
2023-10-25 10:28:45 +02:00
Rémi Verschelde f021d33940
Merge pull request #81167 from bitsawer/fix_sdfgi_editor_change
Reset SDFGI when changing editor scene tabs
2023-10-25 10:27:03 +02:00
Rémi Verschelde 261fe7ce6a
Merge pull request #83704 from clayjohn/misc-mesh-fixes
Some more fixes for compressed meshes
2023-10-24 10:54:23 +02:00
Rémi Verschelde bc5d5978ea
Merge pull request #83695 from YuriSizov/core-lock-and-key
Improve threading in ClassDB and EditorHelp
2023-10-24 10:54:19 +02:00
Rémi Verschelde f41e07bfe6
Merge pull request #81737 from Mickeon/fix-connection-inherited-packed-scene
Fix internal `CONNECT_INHERITED` being saved in PackedScene & Make Local
2023-10-24 10:53:37 +02:00
clayjohn 8f9cd4e1e3 Some more fixes for compressed meshes
This cleans up a few more cases of uint32_t->uint64_t

Importantly this fixes an edge case in the axis-angle compression by
using the pre-existing Basis methods instead
2023-10-24 09:38:12 +02:00
jsjtxietian 961381cad5 Fix unable to uncomment code in text shader editor 2023-10-24 11:23:59 +08:00
kobewi a3172ae8c5 Remove margins from editor scrollbars 2023-10-24 02:06:23 +02:00
Rémi Verschelde 50d17f6b8c
Merge pull request #83613 from clayjohn/surface_upgrade_tool
Add an editor tool to automatically upgrade and re-save meshes
2023-10-24 00:10:37 +02:00
clayjohn 318ef8461f Implementation of tool to automatically upgrade and re-save meshes 2023-10-23 22:39:48 +02:00
QuirkyLemon faccc8e225 Clamps the height of description text for property selectors 2023-10-23 10:54:24 -05:00
Rémi Verschelde 5e8bf6addf
Merge pull request #83815 from timothyqiu/as
Fix "as" capitalization in editor strings
2023-10-23 12:43:15 +02:00
Rémi Verschelde fe45e4ec7c
Merge pull request #83790 from OppositeNor/fix_tileset_out_of_screen
Fix TileSet painting options appear out of screen
2023-10-23 12:42:52 +02:00
Rémi Verschelde 943b7419cb
Merge pull request #83776 from SaracenOne/bezier_track_scroll
Add vertical scrolling to bézier track editor.
2023-10-23 12:41:17 +02:00
Rémi Verschelde e2dc96b66b
Merge pull request #83637 from kitbdev/tab-drag-fix
Fix `TabBar` and `TabContainer` dragging issues
2023-10-23 12:40:54 +02:00
Rémi Verschelde d08d3e95c8
Merge pull request #83507 from timothyqiu/abt-close
Readd close button for nodes in `AnimationNodeBlendTree` editor
2023-10-23 12:40:30 +02:00
Rémi Verschelde e19acaab47
Merge pull request #82486 from timothyqiu/the-node-who-lived
Fix "Some nodes are referenced by animation tracks" when deleting instance
2023-10-23 12:39:15 +02:00
Haoyu Qiu 2413952a4c Fix "as" capitalization in editor strings 2023-10-23 16:10:05 +08:00
Haoyu Qiu 920e53cacb Readd close button for nodes in AnimationNodeBlendTree editor 2023-10-23 11:11:51 +08:00
kit 701c8d8323 Fix tab dragging issues 2023-10-22 13:58:31 -04:00
OppositeNor 8f26cdcaef Fix tileset out of screen 2023-10-22 13:39:14 -04:00
Saracen 79f9d230b8 Add vertical scrolling to bézier track editor. 2023-10-22 13:51:12 +01:00
Rémi Verschelde 6bf936c4cc
Merge pull request #82667 from kleonc/canvas-item-editor-drag-moving-transforms-fix
Fix transform calculations for drag-moving CanvasItems in editor
2023-10-22 12:11:28 +02:00
Haoyu Qiu c19bf7cda9 Fix infinite loop when importing 3D object named "-colonly" 2023-10-22 11:31:28 +08:00
风青山 90768f1f7f Fix unexpected behaviors of using Duplicate To on folders
Fix folder not being copied when empty.
Fix Keep Both would generate wrong paths when copying folders.
2023-10-22 06:22:38 +08:00
Guilherme 7a76d5e6ea Fix wrong shader rename
Co-authored-by: BrunoArmondBraga <abraga3547bruno@gmail.com>
2023-10-20 22:40:41 -03:00
Yuri Sizov 9b03fb36f9 Improve threading in ClassDB and EditorHelp 2023-10-20 22:14:04 +02:00
Yuri Sizov cd31407cb3 Clean up some Editor, OpenXR, VideoStream code
- EditorNode has excessive and pointless checks for Input singleton.
- EditorNode initialization order is a bit awkward.
- OpenXR binds a method that doesn't need that (for call deferred).
- VideoStream has a formatting error.
2023-10-20 17:54:39 +02:00
Rémi Verschelde 365507fcf3
Merge pull request #83659 from aXu-AP/uv-edit-transform-points-undo
Fix Polygon2D undo on transforming vertices
2023-10-20 15:13:26 +02:00
Rémi Verschelde 68a183a2d9
Merge pull request #83626 from YuriSizov/control-less-is-more-as-in-less-excessive-notifications-is-more-performance
Add bulk change guards to successive theme overrides in Editor and GUI
2023-10-20 15:12:11 +02:00
Rémi Verschelde 15955e5d9e
Merge pull request #83512 from zaevi/fix_remove_from_floating_dock
Editor: Fix `remove_control_from_dock` fails when dock is floating.
2023-10-20 15:08:40 +02:00
aXu-AP 76f81cfc21 Fix Polygon2D undo on transforming vertices
Fix: Action not committed to history when transforming all points in UV editor's Points mode.
2023-10-20 11:59:09 +03:00
jsjtxietian 0099791fc0 Make translation importer skip not-supported lang tag
Also give better warning.
2023-10-20 16:17:29 +08:00
Yuri Sizov 215e036600 Add bulk change guards to successive theme overrides in Editor and GUI 2023-10-19 18:14:14 +02:00
Rémi Verschelde 2714a738f8
Merge pull request #83562 from YuriSizov/core-our-vessel-is-not-seaworthy
Fix StringName leaks in GDExtension, core, and editor themes
2023-10-18 21:33:16 +02:00
Raul Santos 7b34fa8dd2
Enable new addon after hiding ProjectSettings
- Enabling newly created addons can show a warning dialog, doing so before hiding the `ProjectSettingsEditor` dialog causes rendering glitches.
- Remove unused `PuginConfigDialog` in `EditorNode`. The one actually being used is an instance in `EditorPluginSettings`.
2023-10-18 20:20:46 +02:00
Saracen 9d6f570c28 Support duplication of foreign nodes. 2023-10-18 17:00:47 +01:00
Yuri Sizov 582ed157b5 Fix StringName leaks in GDExtension, core, and editor themes 2023-10-18 17:36:20 +02:00
Rémi Verschelde 7f884b4e00
Merge pull request #82537 from KoBeWi/the_files_are_back_on_the_menu
Don't remove favorite files in EditorFileDialog
2023-10-18 16:55:06 +02:00
Rémi Verschelde f7da96add3
Merge pull request #83534 from SaracenOne/blend_tree_auto_disconnect
Automatic reconnection of nodes in blend tree.
2023-10-18 16:55:02 +02:00
Rémi Verschelde 5fd3354655
Merge pull request #81643 from Rindbee/defer-rebuild-the-animations-tree-in-SpriteFramesEditor
Defer updating the animations Tree in SpriteFramesEditor to avoid crashes
2023-10-18 16:54:40 +02:00
Saracen 65016c393f Automatic reconnection of nodes in blend tree. 2023-10-18 03:19:02 +01:00
kobewi 825a18e980 Don't remove favorite files in EditorFileDialog 2023-10-18 02:06:01 +02:00
风青山 2642c6851f Defer updating the animations Tree in SpriteFramesEditor to avoid crashes
Previously, clicking the LMB while renaming an animation could cause
`SpriteFramesEditor::_update_library(false)` to be called during
`Tree::propagate_mouse_event()`. This may cause a crash.

We can defer updates to the editor interface to avoid calling
`Tree::create_item()` at the wrong time.

Enables `SpriteFramesEditor::_select_animation()` to be able to undo/redo
2023-10-18 06:46:03 +08:00
Rémi Verschelde e06d09228b
Merge pull request #83251 from Rindbee/fix-current_edited_scene-wrong-move
Fix saving wrong edited scene state when switching scene tabs
2023-10-18 00:01:24 +02:00
Rémi Verschelde 060816c3a4
Merge pull request #82858 from KoBeWi/read_between_the_comments
Provide translation strings for folder colors
2023-10-18 00:01:00 +02:00
Zae acf0d395c8 Editor: Fix `remove_control_from_dock` fails when dock is floating. 2023-10-18 01:14:26 +08:00
风青山 225a5e225f Fix saving wrong edited scene state when switching scene tabs
When creating a new scene, the scene tab will actually switch to the newly created one.
Also worth noting that switching scene tabs saves state (by `save_edited_scene_state`).

When trying New Scene again, the previously empty scene tab will be removed.

So the correct logic is: switch the tab save state first, and then remove the previous
empty scene tab. To prevent `current_edited_scene` from being incorrect when saving state.
2023-10-17 22:52:44 +08:00
Rémi Verschelde 30f2a6d611
Merge pull request #83501 from AThousandShips/tabs_shortcut
Fix shortcut input for `EditorSceneTabs`
2023-10-17 16:13:16 +02:00
A Thousand Ships a1e47c3a87 Fix shortcut input for `EditorSceneTabs` 2023-10-17 15:49:53 +02:00
kobewi ef4c214703 Prevent crash when creating custom file tooltip 2023-10-17 11:39:15 +02:00
kobewi d9afa1dd58 Fix close button in FindReplaceBar 2023-10-16 21:51:37 +02:00
Rémi Verschelde 8ac05d3cb6
Merge pull request #83447 from raulsntos/editor-iconography-2
Set `icon_max_width` in the ConnectionsDock tree
2023-10-16 18:45:38 +02:00
Raul Santos 38f1df15f0
Set icon_max_width in the ConnectionsDock tree 2023-10-16 18:04:08 +02:00