Commit Graph

13965 Commits

Author SHA1 Message Date
风青山 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
Rémi Verschelde e897a46a5f
Merge pull request #82627 from kleonc/animation-editor-audio-clip-offset-sliders-limit-to-length
Limit animation audio clip inspector offset sliders to clip length
2023-10-16 10:38:08 +02:00
Michael Alexsander 2102d09812
Disable "Edit Transitions..." item if no animations are present 2023-10-15 12:28:04 -03:00
Saracen 0f36040321 Disallow 'Make Local' command on inherited nodes. 2023-10-15 13:35:19 +01:00
Rémi Verschelde fc6d6b2c00
Merge pull request #82381 from dervus/issue-81916
Fix grid snapping for box shape gizmos
2023-10-13 22:16:39 +02:00
Vladimir Zapparov 088cf59e7a Fix grid snapping for box shape gizmos
"Extruding" box face (i.e. moving it without holding Alt key) will now
always snap new box size exactly to the nearest snap step.
2023-10-13 17:34:59 +02:00
kobewi a5c984412c Don't try updating wrong NodePaths in resources 2023-10-13 13:31:13 +02:00
Rémi Verschelde 51f81e1c88
Merge pull request #82957 from bruvzg/fs_case_check
Add method to check if filesystem is case sensitive.
2023-10-13 12:55:35 +02:00
bruvzg 9a1e0e4aef
[Bitmap fonts] Add support for scaling. 2023-10-13 12:57:45 +03:00
Rémi Verschelde 37ee293be8
Merge pull request #83244 from KoBeWi/tile_map_is_now_tile_set_and_vice_versa
Swap TileMap and TileSet buttons
2023-10-13 11:47:55 +02:00
Rémi Verschelde f6ff4159a7
Merge pull request #83233 from timothyqiu/babel
Disable port name auto translation in Visual Shader editor
2023-10-13 11:47:08 +02:00
Rémi Verschelde cbb95bc8ab
Merge pull request #83211 from clayjohn/cleanup-mesh-stuff
Cleanup instances of using uint32_t for mesh formats
2023-10-13 11:46:20 +02:00
Rémi Verschelde f9c0c608d4
Merge pull request #83210 from alfredbaudisch/manager-search-box-enter
Project Manager: Open project when "Enter" is pressed when the search box is focused
2023-10-13 11:45:56 +02:00
Rémi Verschelde 94a8d37d54
Merge pull request #83177 from timothyqiu/the-theme-identity
Don't auto translate theme type list
2023-10-13 11:44:22 +02:00
Rémi Verschelde 230bdda872
Merge pull request #82742 from kitbdev/empty-dock-layout
Fix loading floating dock layout
2023-10-13 11:43:35 +02:00
kobewi 291be2c66c Swap TileMap and TileSet 2023-10-13 09:55:24 +02:00
Alfred Reinold Baudisch 0c584ddde1 Handle "Enter" when the search box is focused 2023-10-13 08:54:35 +02:00
Haoyu Qiu 56f47cc129 Disable port name auto translation in Visual Shader editor 2023-10-13 11:07:05 +08:00
Clay acb65377cd Cleanup instances of using uint32_t for mesh formats
And tidy up some leftovers from the attribute compression PR
2023-10-12 22:01:41 +02:00
Haoyu Qiu 26b21f110a Don't auto translate theme type list 2023-10-12 10:04:53 +08:00
Rémi Verschelde 25fa5eadd5
Merge pull request #82986 from OmarShehata/fix-external-editor-hot-reload
Fix external editor hot reload for GDScript
2023-10-11 22:38:42 +02:00
Rémi Verschelde efc0b08371
Merge pull request #82832 from bruvzg/oidn_external_exe
Re-add optional OIDN denoise as an external executable.
2023-10-11 22:38:18 +02:00
bruvzg 899e56de5d
Re-add optional OIDN denoise as an external executable. 2023-10-11 19:52:18 +03:00
kobewi 41fa6c32b4 Disable update spinner when debug redraw is active 2023-10-11 13:21:29 +02:00
Rémi Verschelde 4b7cc99bc1
Merge pull request #79169 from reduz/debug-canvas-item-redraw
Debug CanvasItem redraw
2023-10-11 08:40:05 +02:00
Rémi Verschelde b36e6dc9e9
Merge pull request #83101 from joao-pedro-braz/fix-find-in-files-selection-offset
Fix highlight rect in "Whole search" being slightly offseted
2023-10-10 22:51:17 +02:00
Rémi Verschelde 87460bdc3c
Merge pull request #83094 from dalexeev/editor-fix-some-editor-help-tooltip-issues
Editor: Fix some issues with `EditorHelpTooltip`
2023-10-10 22:50:05 +02:00
Danil Alexeev f56532c577
Editor: Fix some issues with `EditorHelpTooltip` 2023-10-10 20:02:47 +03:00
Rémi Verschelde fc64dfedfb
Merge pull request #80817 from garychia/reparent_node
Avoid creating any useless undo action when dragging nodes in place
2023-10-10 15:06:06 +02:00
João Pedro Braz 7945ca9378 Fix highlight in Search panel being offseted
This commit fixes the match highlight in the Find In Files
result panel being slightly offseted.
2023-10-10 09:08:54 -03:00
Rémi Verschelde d80ce0c52a
Merge pull request #83093 from groud/fix_polygon_editor_undo_redo
Fixes undo/redo in tileset polygon editor
2023-10-10 12:34:46 +02:00
Gilles Roudière 8b608f3e6e Fixes undo/redo in tileset polygon editor 2023-10-10 10:33:05 +02:00
Rémi Verschelde fb6dc8c630
Merge pull request #83076 from SaracenOne/make_rest_fixer_tracks_imported
Set new SkeletonRestFixer tracks as imported
2023-10-10 09:12:42 +02:00
Saracen 96c3d0e73e Set new RestFixer tracks as imported 2023-10-09 23:43:37 +01:00
Rémi Verschelde 0e547bccd5
Merge pull request #83024 from SaracenOne/dependency_menu_fix
Fix dependency menu not showing up if scene failed to load.
2023-10-09 23:23:59 +02:00
Rémi Verschelde 98287fe607
Merge pull request #82075 from VedatGunel/fix-filesystem-rename-crash
Fix several issues with renaming in FileSystem dock
2023-10-09 23:22:47 +02:00
Rémi Verschelde 71a8ac41fb
Merge pull request #72751 from dalexeev/doc-comment-color
Highlight doc comments in a different color
2023-10-09 23:21:54 +02:00
Vedat Gunel ecb9ecee54 Fix several issues with renaming in FileSystem dock 2023-10-09 23:18:27 +03:00
Rémi Verschelde a1d7c62df7
Merge pull request #83003 from AThousandShips/null_check_extra
Replace `ERR_FAIL_COND` with `ERR_FAIL_NULL` where applicable
2023-10-09 15:37:14 +02:00
Rémi Verschelde a7fcde4dab
Merge pull request #82940 from Calinou/editor-tooltip-metadata
Tweak metadata property tooltip to avoid being misleading
2023-10-09 15:34:45 +02:00
Rémi Verschelde 15d08c6adb
Merge pull request #82924 from SaracenOne/rmb_breakpoint_menu_fix
Fix right-click menu position for the debugger breakpoint tree.
2023-10-09 15:34:15 +02:00
Rémi Verschelde dffd320421
Merge pull request #82907 from mihe/gdext-failed-modal
Remove I/O error popup when failing to load/unload extension
2023-10-09 15:33:50 +02:00
Rémi Verschelde 7513ae6d06
Merge pull request #81812 from MewPurPur/zoomies
Incorporate min and max zoom limits into the EditorZoomWidget
2023-10-09 15:31:49 +02:00
bruvzg 97bcd8a631 Add method to check if filesystem is case sensitive. 2023-10-09 11:00:15 +03:00
Saracen c0e872c05b Fix dependency menu not showing up if scene failed to load. 2023-10-09 03:15:46 +01:00
Danil Alexeev de7cbe8789
Highlight doc comments in a different color 2023-10-08 19:26:10 +03:00
A Thousand Ships f18aa00e85 Replace `ERR_FAIL_COND` with `ERR_FAIL_NULL` where applicable 2023-10-08 17:23:33 +02:00
Omar Shehata c25a2d832b Fix external editor hot reload 2023-10-07 22:14:54 -04:00
MewPurPur 44d782681c Incorporate min and max zoom limits into the EditorZoomWidget 2023-10-07 20:41:59 +03:00
RealMadvicius e7a35d1521 Fix crash when clicking on "Interpolation Mode" with nonexistent node path
issue reference [https://github.com/godotengine/godot/issues/81769]
#81769 AnimationPlayer: Editor crashes when clicking on "Interpolation Mode" with nonexistent node path

- adding a nullptr check on a Node pointer obtained from get_node(NodePath) in case it is null now we wont execute the next instruction

> ClassDB::get_property_info(nd->get_class(), prop, &prop_info);

Which then prevents the crash
2023-10-07 11:34:02 +02:00
Hugo Locurcio eb824dc6a5
Tweak metadata property tooltip to avoid being misleading 2023-10-07 03:08:16 +02:00
Hugo Locurcio ac723b3e44
Enable UV2 on primitive meshes when using the MeshInstance3D context menu
This makes it easier to discover the UV2 generation functionality
on primitive meshes.
2023-10-07 02:18:55 +02:00
Saracen 3700ce7318 Fix right-click menu position for the debugger breakpoint tree. 2023-10-06 19:47:19 +01:00
Saracen 3defc17646 Fix debugger behaviour with multi-session debugging:
Fixes script editor debug menu on sessions other than 1
Fixes breakpoint toggle from menu in sessions other than 1
Removes execution display when switching to non-breaked sessions
2023-10-06 19:20:37 +01:00
Rémi Verschelde 62ca46cea4
Merge pull request #82913 from timothyqiu/toasters
Fix garbled text in editor toasters
2023-10-06 16:51:01 +02:00
Rémi Verschelde 49e2bd9d5b
Merge pull request #81523 from KoBeWi/epic_self_roast
Allow contextual plugins to persist temporarily
2023-10-06 16:50:53 +02:00
Rémi Verschelde 7b999ee074
Merge pull request #81284 from YeldhamDev/this_one_was_in_the_backlog_for_a_while
Show doc tooltips when hovering properties in the theme editor
2023-10-06 16:50:48 +02:00
kobewi a6de7a8a3f Allow contextual plugins to persist temporarily 2023-10-06 15:58:50 +02:00
Haoyu Qiu 3006394a69 Fix garbled text in editor toasters 2023-10-06 21:38:34 +08:00
Mikael Hermansson 1a80508d0f Remove I/O error popup when failing to load/unload extension 2023-10-06 13:57:53 +02:00
Rémi Verschelde fba341ce44
Merge pull request #82901 from kleonc/sprite-base-3d-gizmo-plugin
Make gizmo plugin handle `SpriteBase3D` instead of `Sprite3D`
2023-10-06 12:53:13 +02:00
Rémi Verschelde 373c4b22d3
Fix various typos with codespell
Using 2.2.7.dev5+g2af65969.
2023-10-06 12:52:22 +02:00
kleonc db6a8956b2 Make gizmo plugin handle SpriteBase3D instead of Sprite3D 2023-10-06 11:03:44 +02:00
Rémi Verschelde 4c799d44d0
Merge pull request #82875 from SaracenOne/disconnect_button_disable
Disable disconnect button for inherited signals
2023-10-05 22:51:00 +02:00
Rémi Verschelde f02695cc04
Merge pull request #81138 from clayjohn/attribute-compression
Vertex and attribute compression
2023-10-05 22:48:55 +02:00
Rémi Verschelde 642479db1e
Merge pull request #79872 from dalexeev/sprite-frames-editor-2
SpriteFrames Editor: Fix Frame Duration applied to wrong frame when switching frame
2023-10-05 22:48:04 +02:00
Rémi Verschelde 3cf1bc0a24
Merge pull request #79692 from dalexeev/sprite-frames-editor
SpriteFrames Editor: Fix FPS applied to two animations when switching animation
2023-10-05 22:47:37 +02:00
Saracen 054934fde3 Disable disconnect button for inherited signals 2023-10-05 19:10:51 +01:00
clayjohn 51ed3aef63 Vertex and attribute compression to reduce the size of the vertex format.
This allows Godot to automatically compress meshes to save a lot of bandwidth.

In general, this requires no interaction from the user and should result in
no noticable quality loss.

This scheme is not backwards compatible, so we have provided an upgrade
mechanism, and a mesh versioning mechanism.

Existing meshes can still be used as a result, but users can get a
performance boost by reimporting assets.
2023-10-05 12:02:23 -06:00
kobewi 47adf88ed0 Provide translation strings for folder colors 2023-10-05 17:21:48 +02:00
kobewi 5d85551ab3 Fix unsaved changes not getting discarded 2023-10-05 14:03:02 +02:00
kobewi 09b30be86d Add vararg call() method to C++ Callable 2023-10-05 11:35:29 +02:00
Rémi Verschelde aa554e8278
Merge pull request #82694 from BrianMacIntosh/master
"Whole Words" search can detect word boundaries inside the search term.
2023-10-05 10:08:58 +02:00
Rémi Verschelde b9bf46de9e
Merge pull request #82067 from dalexeev/gds-docgen-fix-metatypes-and-values
GDScript DocGen: Fix and improve appearance of metatypes and values
2023-10-05 10:07:43 +02:00
Michael Alexsander 34e6b86134
Show doc tooltips when hovering properties in the theme editor 2023-10-04 11:53:08 -03:00
Rémi Verschelde bfd78bb917
Merge pull request #82779 from emacser0/typo
Fix some typos in source
2023-10-04 15:46:29 +02:00
Rémi Verschelde 7a9947f7f5
Merge pull request #82754 from BrunoArmondBraga/wrong_extents_conversion
Removes extents to size conversion
2023-10-04 15:45:16 +02:00
kleonc 6f941cd8e3 Fix transform calculations for drag-moving CanvasItems in editor 2023-10-04 15:44:34 +02:00
Rémi Verschelde 1e544505be
Merge pull request #82691 from YuriSizov/rst-validate-with-exceptions
Validate `code` tags for class and member references
2023-10-04 15:42:42 +02:00
Rémi Verschelde d92c02002f
Merge pull request #82653 from MewPurPur/simplify-region-folding-icon
Tweak the region folding icons
2023-10-04 15:35:57 +02:00
Rémi Verschelde 03ff9fedb6
Merge pull request #82101 from bruvzg/x11_gles
[X11] Add support for using EGL/GLES instead of GLX.
2023-10-04 15:35:05 +02:00
Rémi Verschelde bb30c8377c
Merge pull request #82051 from YeldhamDev/i_just_wanted_to_add_tooltips_to_theme_items_man
Revamp how documentation tooltips work
2023-10-04 15:34:40 +02:00
Rémi Verschelde 219a5eff6f
Merge pull request #80977 from ajreckof/Paste-Value-emptying-an-array-on-some-right-click-location
Fix paste value emptying an array on some right click location
2023-10-04 15:33:52 +02:00
Rémi Verschelde 5680d729f2
Merge pull request #80939 from RandomShaper/fix_onion
Revive onion skinning
2023-10-04 15:33:25 +02:00