Commit Graph

13945 Commits

Author SHA1 Message Date
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
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
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
风青山 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
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
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
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 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
Rémi Verschelde a60fc7f7c8
Merge pull request #83382 from Lunarisnia/fix/diff-comment-delimiter
Fix multiple comment delimiter break toggle comment shortcut
2023-10-16 14:43:10 +02:00
Rémi Verschelde 391897bc44
Merge pull request #83335 from KoBeWi/focusing_search_power
Fix FindReplaceBar focus problems
2023-10-16 14:42:47 +02:00
Rémi Verschelde 3d9ce123fa
Merge pull request #83386 from SaracenOne/make_local_inherited
Disallow 'Make Local' command on inherited nodes.
2023-10-16 13:00:59 +02:00
Rémi Verschelde 0258fa4db9
Merge pull request #83137 from jsjtxietian/close-shader-file-in-visual-editor-when-delete-file
Close shader in Shader Editor tab when deleting shader file in FileSystem panel
2023-10-16 12:59:49 +02:00
jsjtxietian 15e66ccb9b Close shader in Shader Editor tab when deleting shader file in FileSystem panel 2023-10-16 18:50:56 +08:00
Lunarisnia 85d592dbf0 Fix multiple comment delimiter break toggle comment shortcut 2023-10-16 16:43:49 +07:00
kobewi c09a43abd7 Fix FindReplaceBar focus problems 2023-10-16 11:12:49 +02:00
Rémi Verschelde 7211c03ba5
Merge pull request #83402 from YeldhamDev/edit_transitions_hide
Disable "Edit Transitions..." item if no animations are present
2023-10-16 10:43:02 +02:00
Rémi Verschelde 81f4953c3a
Merge pull request #83263 from KoBeWi/invalid_node﹖oh_no…_anyway
Don't try updating wrong NodePaths in resources
2023-10-16 10:40:36 +02:00
Rémi Verschelde 50620c7361
Merge pull request #82937 from Calinou/editor-primitivemesh-unwrap-uv2
Enable UV2 on primitive meshes when using the MeshInstance3D context menu
2023-10-16 10:39:23 +02:00
Rémi Verschelde c2d410a19e
Merge pull request #82868 from SaracenOne/multi_session_debugger_fixes
Fix debugger behaviour with multi-session debugging
2023-10-16 10:38:58 +02:00