Commit graph

14694 commits

Author SHA1 Message Date
Rémi Verschelde
4aa8e87e50
Merge pull request #86805 from ryevdokimov/clear-nodes-on-ui-cancel-2d
Allow `ui_cancel` to unselect all nodes in all edit modes in 2D, matching 3D behavior
2024-01-08 11:56:43 +01:00
Rémi Verschelde
f46465ba14
Merge pull request #86804 from ryevdokimov/allow-all-modes-to-select
Allow all editor modes to select nodes in the viewport
2024-01-08 11:56:19 +01:00
Rémi Verschelde
c10d268974
Merge pull request #86787 from ryevdokimov/code-spell-check
Fix various spelling errors across engine solution
2024-01-08 11:55:55 +01:00
Rémi Verschelde
dd487ebb0b
Merge pull request #86568 from jsjtxietian/fix-infinite-loop-tile
Fix potential infinite loop when calculating tile editor zoom level
2024-01-08 11:55:30 +01:00
Rémi Verschelde
53d47a389c
Merge pull request #86542 from KoBeWi/merge_split_action
Improve Path2D editing
2024-01-08 11:54:42 +01:00
Rémi Verschelde
a2bd7c3301
Merge pull request #85142 from CookieBadger/animation-player-improvements
Improve usability of zooming in the animation editor
2024-01-08 11:50:38 +01:00
Rémi Verschelde
049da90fb4
Merge pull request #77832 from AThousandShips/import_fix
Fix incorrect check on importing project
2024-01-08 11:49:23 +01:00
Rémi Verschelde
15186b6606
Merge pull request #72461 from Calinou/editor-renderer-select-mobile
Make the rendering method dropdown also affect mobile if compatible
2024-01-08 11:48:59 +01:00
Alessandro Famà
4ea5c1ff2a Fix issue with dropping texture in 2D viewport causing incorrect global history registration
This fix addresses an issue where dropping a texture onto the 2D viewport in a scene without a root node incorrectly registers the action in the global history. Subsequently undoing and redoing this action in another scene results in the newly created node replacing the root of the current scene.

Fixes #86826.
2024-01-07 21:54:44 +01:00
CookieBadger
5b3d5e0a65 Improved usability of zoom features in animation player 2024-01-07 01:30:06 +01:00
A Thousand Ships
0a2ddaa6bd
Fix incorrect check on importing project 2024-01-07 00:52:16 +01:00
Micky
db10ce3d8d Add autocompletion for a few EditorInterface methods 2024-01-06 19:19:31 +01:00
A Thousand Ships
c794ce195b
[Editor] Add missing virtual bind to EditorNode3DGizmo(Plugin)
Method `_begin_handle_action` was not bound
2024-01-06 17:27:50 +01:00
Michael Alexsander
7b8c0b3a34
Parse the names of children of TabContainers on POT generation 2024-01-06 10:52:44 -03:00
Silc Lizard (Tokage) Renew
5ade1077ff Copy intrp/loop for all track & use_blend for audio when adding reset 2024-01-06 17:15:45 +09:00
jsjtxietian
42c672afd6 Fix infinite loop when calculating zoom level if tile_size * max_zoom < default 2024-01-06 16:11:26 +08:00
Robert Yevdokimov
eb565780e7 Prevent escape key from closing Editor Settings window when filtering for shorcuts 2024-01-05 19:24:55 -05:00
Zi Ye
97f9dbda81 Changed various editor transform operations to be committed in local instead of global space. Fixed a couple of bugs when syncing transforms to debug instance. 2024-01-05 17:07:20 -06:00
kobewi
f41b2c2ec4 Improve Path2D editing 2024-01-05 22:34:31 +01:00
Muller-Castro
96a95cb974 Add const lvalue ref to container parameters 2024-01-05 14:49:57 -03:00
Robert Yevdokimov
ff03a32323 Allow all editor modes to select nodes in the viewport 2024-01-05 10:07:34 -05:00
Alessandro Famà
155bebfdf2 Fix playback position label update in Audio Stream Importer
The current playback position label doesn't get updated if the playhead is not visible. The label is updated in `_draw_indicator()` at the end of the function, but we return early if the calculated offset falls outside the valid range. This fix moves the label updating above this check, ensuring that the label always gets updated regardless of the visibility of the playhead.

Fixes #86550.
2024-01-05 12:41:30 +01:00
Rémi Verschelde
e72e63a6b5
Merge pull request #85837 from akien-mga/clang-format-16
Style: Mark clang-format 16 as supported for pre-commit hook
2024-01-05 12:04:44 +01:00
Rémi Verschelde
dc5b57ea44
Merge pull request #81325 from AttackButton/path_2d_editor_plugin-clear_points
Add a button to clear curve points in the Path2D editor
2024-01-05 12:02:41 +01:00
Rémi Verschelde
d1b7c60afc
Merge pull request #77712 from nklbdev/Fix_lossless_formats_in_PortableCompressedTexture2D
Fix lossless formats in PortableCompressedTexture2D
2024-01-05 12:02:14 +01:00
Rémi Verschelde
85e999dc5e
Merge pull request #64908 from marcinn/lightmap-gi-texel-scale
Add `texel_scale` property to LightmapGI
2024-01-05 12:01:49 +01:00
Robert Yevdokimov
06f586e890 Allow ui_cancel to unselect all nodes in 2D, matching 3D behavior 2024-01-04 18:07:31 -05:00
nklbdev
47d991678d Fix lossless formats in PortableCompressedTexture2D
Update scene/resources/portable_compressed_texture.cpp

Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2024-01-05 00:11:01 +05:00
Aaron Franke
9753a35c76
Move 3D scene import classes to their own folder 2024-01-04 11:02:49 -06:00
Rémi Verschelde
8a716e3275
Merge pull request #84353 from aXu-AP/sprite2d-plugin-zoom
Add zoom controls to Sprite2DPlugin converter preview
2024-01-04 16:40:05 +01:00
Rémi Verschelde
bb1006b2ac
Merge pull request #84284 from Haydoggo/script-switch
Preserve inspector focus when opening script from scene tree
2024-01-04 16:39:59 +01:00
Rémi Verschelde
1312a73304
Merge pull request #84135 from aXu-AP/reparent-select-fix
Fix nodes being deselected upon reparenting
2024-01-04 16:39:53 +01:00
Rémi Verschelde
0cdb530c18
Merge pull request #83895 from clayjohn/origin-lines
Use screen-aligned quads for origin lines to avoid issues on NVidia
2024-01-04 16:39:42 +01:00
Rémi Verschelde
5eb22a317d
Merge pull request #83577 from DennisManaa/fix-translation-for-item-list
Add automatic translation of items to ItemList
2024-01-04 16:39:36 +01:00
Rémi Verschelde
52ab49ef1a
Merge pull request #83503 from YeldhamDev/grab_all_the_animations!
Allow to load multiple animation/libraries at once in the animation manager
2024-01-04 16:39:30 +01:00
Rémi Verschelde
0010096356
Merge pull request #83109 from Calinou/script-editor-add-more-toggle-comment-shortcuts
Allow Ctrl + KP / and Ctrl + # to toggle comment in the script editor
2024-01-04 16:39:10 +01:00
Rémi Verschelde
ad3e5a949e
Merge pull request #82283 from YeldhamDev/focus_that_search_bar!
Make the search bars in the "Project Settings" dialog grab focus when they appear
2024-01-04 16:38:52 +01:00
Rémi Verschelde
c772a5b050
Merge pull request #78960 from kleonc/inspector-follow-focus
Make editor inspector follow focus
2024-01-04 16:38:46 +01:00
Rémi Verschelde
0d18a945ca
Merge pull request #76654 from TokageItLab/improve-filter-util-anim-tree
Add useful functions to `FilterEdit` in `AnimationBlendTreeEditor`
2024-01-04 16:38:32 +01:00
Rémi Verschelde
94f72a72e2
Merge pull request #75005 from J-N-Witch/add-position-gizmo-toggle
Add option to toggle visibility of Position gizmos in 2D editor, organize existing options
2024-01-04 16:38:24 +01:00
Rémi Verschelde
38a1e17b93
Merge pull request #72572 from Daylily-Zeleen/daylily-zeleen/override_export_end_in_Cpp
Provide ability to override `EditorExportPlugin::_export_end()` in C++
2024-01-04 16:38:15 +01:00
Marcin Nowak
eea2ad4019 Add texel_scale property to LightmapGI 2024-01-04 16:24:19 +01:00
Robert Yevdokimov
f9826a1dd7 Fix various spelling errors 2024-01-04 09:56:43 -05:00
Rémi Verschelde
0fa767beff
Merge pull request #84508 from jsjtxietian/clean-copy
Clean unnecessary copy detected by clang-tidy
2024-01-04 14:25:58 +01:00
Rémi Verschelde
3224e47af8
Merge pull request #84486 from jcostello/jcostello/fix-material-drop
Fix material drag and drop
2024-01-04 14:25:52 +01:00
Rémi Verschelde
6c390b620d
Merge pull request #84445 from Rubonnek/add-const-references-clang-tidy
Add const references detected by clang-tidy
2024-01-04 14:25:33 +01:00
Rémi Verschelde
1aa03f7701
Merge pull request #81044 from MewPurPur/add-physics-material-icon
Add PhysicsMaterial icon
2024-01-04 14:24:54 +01:00
Hugo Locurcio
57f3bdb1e5
Make the rendering method dropdown also affect mobile if compatible
This prevents visual discrepancies between desktop and mobile platforms
after switching rendering methods using this dropdown.

The restart dialog now displays which rendering methods will be used,
and the dropdown tooltip also lists caveats related to specific platforms.
2024-01-03 18:38:37 +01:00
Rémi Verschelde
d4b33b3e9f
Merge pull request #86723 from ryevdokimov/remove-unused-code
Removed unused code related to command palette
2024-01-03 15:48:17 +01:00
Rémi Verschelde
00cc23f906
Merge pull request #86486 from timothyqiu/move-copy-dialog
Improve `EditorDirDialog`
2024-01-03 15:47:52 +01:00
Rémi Verschelde
c23c43dd96
Merge pull request #86476 from VedatGunel/fix-fs-split-offset
Store horizontal and vertical split offsets separately in FileSystem dock
2024-01-03 15:47:27 +01:00
Rémi Verschelde
6665a629c3
Merge pull request #85943 from kuruk-mm/fix/find-in-files
Stop the searching of `find in files` in folders that have `.gdignore`
2024-01-03 15:44:07 +01:00
Rémi Verschelde
11d1844e66
Merge pull request #85869 from paulloz/dotnet-warning-out-of-date-properties
.NET: Add a warning in the inspector when properties might be out of sync
2024-01-03 15:43:41 +01:00
Rémi Verschelde
54b83bd705
Merge pull request #84788 from Cerno-b/fix-description-text-for-grouping
Clarify description of "group selected"
2024-01-03 15:42:50 +01:00
Rémi Verschelde
73c5deff76
Merge pull request #82916 from jsjtxietian/update-scene-tree-tooltip-after-editor-description-chnage
Support updating tooltip immediately after editor description change
2024-01-03 15:41:31 +01:00
Rémi Verschelde
df8b7fee81
Merge pull request #82802 from marcinn/fix-82756-prevent-saving-children-without-owner
Fix saving branch as scene saves children without owner set
2024-01-03 15:40:37 +01:00
Rémi Verschelde
34594a3096
Merge pull request #86669 from YeldhamDev/there_is_no_escape
Stop escaping `'` on POT generation
2024-01-03 10:14:14 +01:00
Rémi Verschelde
a6dc1b3907
Merge pull request #84527 from Calinou/colorpicker-display-revert-icon
Display a revert icon on ColorPicker's old sample
2024-01-03 09:59:06 +01:00
rune-scape
cde478bda6 Hot-reload only changed scripts 2024-01-02 17:56:52 -08:00
kobewi
b712d1c657 Update modified shortcuts in command palette 2024-01-02 23:02:54 +01:00
Robert Yevdokimov
7fd15e9275 Removed unused code related to command palette 2024-01-02 14:49:37 -05:00
Michael Alexsander
e5022531bf
Stop escaping ' on POT generation 2024-01-02 15:26:42 -03:00
Rémi Verschelde
2158f88a88
Merge pull request #86710 from KoBeWi/do_not_the_shaders
Handle built-in shaders when closing scene
2024-01-02 18:06:25 +01:00
Rémi Verschelde
4c0db7765d
Merge pull request #86630 from TokageItLab/value-track-default-option
Make default options of int value track refer to RESET animation
2024-01-02 18:06:02 +01:00
Rémi Verschelde
39336e3780
Merge pull request #86598 from pancelor/master
Project upgrade tool: Better space handling in "export"
2024-01-02 18:05:51 +01:00
Rémi Verschelde
a1d45858e0
Merge pull request #86504 from lyuma/gltf_reimport_textures_merry_xmas
gltf: Fix three bugs which prevented extracted textures from being refreshed
2024-01-02 18:05:19 +01:00
Rémi Verschelde
2f2ed95aa8
Merge pull request #85540 from KoBeWi/update_reset
Copy track update mode when adding reset key
2024-01-02 18:05:12 +01:00
kobewi
779d731940 Handle built-in shaders when closing scene 2024-01-02 16:00:11 +01:00
Rémi Verschelde
e78c5d0ec5
Merge pull request #86211 from TheSofox/node-duplicate-undo-fix
Fix duplicating multiple nodes at different depths in `SceneTreeDock`
2024-01-02 15:08:57 +01:00
Rémi Verschelde
0d88840e81
Merge pull request #80706 from ajreckof/rework-array-update-property
Rework `update_property` for array
2024-01-02 15:08:41 +01:00
Silc Lizard (Tokage) Renew
eecfe5d75a Make default options of int value track refer to RESET animation 2024-01-02 13:13:47 +09:00
kobewi
d96fca371b Copy track update mode when adding reset key 2023-12-30 18:02:55 +01:00
rune-scape
a938359cd3 Fix possible crash in script_text_editor.cpp 2023-12-29 18:05:58 -08:00
pancelor
d4d5a14234 project upgrade tool: better space handling in "export"
the regex had two problems; they were not recognizing export statements
that had spaces after "export", or export statements with no space
before "var".

These are both valid syntax, but the conversion was unsuccessful.
This commit fixes both cases.

test case 1:    `export(int)var x = 1`
old conversion: `@export(int)var x = 1`
new conversion: `@export var x: int = 1`

test case 2:    `export (int) var y = 2`
old conversion: `@export (int) var y = 2`
new conversion: `@export var y: int = 2`
2023-12-28 21:10:54 -08:00
Vedat Gunel
f35f1a1849 Store horizontal and vertical split offsets separately in FileSystem dock 2023-12-25 18:11:18 +03:00
Haoyu Qiu
a42ead59da Improve EditorDirDialog
* Automatically selects the newly created directory
* Automatically selects "res://" when nothing is selected
* Fixes an error when overwrite/replace dialog appears
* Changes "copy checkbox + action button" to "copy button + move button"
* Double clicking a directory (un)collapses it instead of copy/move
* Uses DirectoryCreateDialog for "Create Folder"
2023-12-25 19:14:04 +08:00
Lyuma
fea4165ca8 gltf: fix three bugs which prevented extracted textures from being refreshed.
1. Extracted texture paths in `GLTFDocument::_parse_image_save_image` at the project root started with res:/// which broke cache invalidation
2. md5 hashes were not being written to generator_parameters for new imports, which led Godot to think the file was manually created.
3. `EditorFileSystem::reimport_append` must emit the `resources_reimported` signal in order for the resource cache to be updated.
2023-12-25 01:03:40 -08:00
Paul Joannon
0818d015db
Inspector ⚠️ when C# props might be out of date 2023-12-22 23:27:13 +01:00
Yuri Sizov
13a0d6e9b2 Merge pull request #86431 from timothyqiu/ungroup-action
Improve action name for ungroup button in Scene dock
2023-12-22 17:20:22 +01:00
Yuri Sizov
d7564dbc6d Merge pull request #86388 from timothyqiu/unique-reset
Clear sub-resources list when no sub-resource exists
2023-12-22 17:20:12 +01:00
Yuri Sizov
980d55198c Merge pull request #86387 from jsjtxietian/fix-tile-set
Fix `UndoRedo history mismatch` when creating a new tile atlas
2023-12-22 17:20:08 +01:00
Yuri Sizov
13d34d6a2b Merge pull request #85923 from Calinou/editor-filesystem-dock-add-open-in-terminal
Add a editor FileSystem dock action to open a terminal in selected folder
2023-12-22 17:19:53 +01:00
Sofox
ed648799ae Fixed duplicating nodes at different depths in SceneTreeDock 2023-12-22 15:20:08 +00:00
Haoyu Qiu
c62c0fb2d2 Improve action name for ungroup button in Scene dock 2023-12-22 19:54:14 +08:00
Haoyu Qiu
6e49ff91c0 Clear sub-resources list when no sub-resource exists 2023-12-21 18:14:10 +08:00
jsjtxietian
1217d7d678 Fix UndoRedo history mismatch when creating a new tile atlas 2023-12-21 17:25:21 +08:00
ajreckof
b4d96bc710 Rework update_property for array.
Apply suggestions from code review

Co-Authored-By: Tomek <kobewi4e@gmail.com>
2023-12-21 10:00:04 +01:00
Yuri Sizov
5f641541ea Merge pull request #86271 from YuriSizov/pm-optimize-multiple-ways-of-scanning
Optimize scanning routines in the project manager
2023-12-20 15:08:06 +01:00
Yuri Sizov
f77da033f2 Merge pull request #86169 from Repiteo/gdvirtual-call-refactoring
Replace `GDVIRTUAL_CALL` with `GDVIRTUAL_REQUIRED_CALL` where applicable
2023-12-20 15:07:55 +01:00
Yuri Sizov
aae58cd688 Merge pull request #85887 from YuriSizov/editor-enforce-min-window
Correctly enforce minimum window size in editor
2023-12-20 15:07:48 +01:00
Yuri Sizov
bc6be82f5a Merge pull request #81260 from KoBeWi/min_maxing_particle_editing
Improve editing of min/max particle properties
2023-12-20 15:07:25 +01:00
Yuri Sizov
6296333bad Merge pull request #60965 from DarkMessiah/global-groups-implementation
Implement project-wide node groups
2023-12-20 15:07:20 +01:00
Yuri Sizov
416e594eb3 Correctly enforce minimum window size in editor
Also set the maximum size for the language
picked in the project manager.
2023-12-20 13:19:21 +01:00
Yuri Sizov
3d4b33df33 Optimize scanning routines in the project manager 2023-12-20 13:16:46 +01:00
kobewi
ce9fec9b4d Improve editing of min/max particle properties 2023-12-20 06:31:08 +01:00
Yuri Sizov
4d695985c1 Merge pull request #85470 from KoBeWi/don't_get_child_but_stash_child
Improve Control hiding in PluginConfigDialog
2023-12-19 20:32:55 +01:00
Yuri Sizov
e18659c69d Merge pull request #82872 from jsjtxietian/require-editor-restart-when-csg-gizmo-color-changed
Prompt require editor restart to user when gizmo color changed
2023-12-19 20:32:20 +01:00
msreis
f1cc14d525 Fix missing time for some script functions in profiler
Fixes the issue by adding a mechanism by which the functions that were
previously disappearing can be profiled too. This is optional with
an editor setting, since collecting more information naturally slows the engine
further while profiling.

Fixes #23715, #40251, #29049
2023-12-19 19:42:21 +01:00
Stanislav Labzyuk
958699a0c4 Implement project-wide node groups 2023-12-19 18:07:19 +01:00
Hugo Locurcio
0e97acff84
Add a editor FileSystem dock action to open a terminal in selected folder
This is useful to enter some commands without having to open a separate
terminal and `cd` to the project folder.
2023-12-19 15:04:02 +01:00
Yuri Sizov
1f5d4a62e9 Merge pull request #86290 from bruvzg/mac_tab_menu
[macOS] Fix updating editor tab titles in the dock menu.
2023-12-19 13:02:31 +01:00
Yuri Sizov
508ad59370 Merge pull request #86266 from aaronfranke/editor-prop-no-setting
Use `set_value_no_signal` in editor property code
2023-12-19 13:02:27 +01:00
Yuri Sizov
ead01d0ca4 Merge pull request #85527 from fdstevex/master
Fix for Cmd-B shortcut conflict on macOS
2023-12-19 13:02:14 +01:00
Yuri Sizov
1c0be67952 Merge pull request #85452 from BleedingXiko/tilemap-typo
Fix typo in TileMap editor tooltip
2023-12-19 13:01:54 +01:00
Yuri Sizov
13dd72ce78 Merge pull request #85219 from dsnopek/light-bake-mode-no-gi-method
Remove GI methods in parentheses from light baking options
2023-12-19 13:01:40 +01:00
Yuri Sizov
02d4579fa2 Merge pull request #85000 from bruvzg/ed_ui_direction
[Editor] Add option to override editor UI layout direction.
2023-12-19 13:01:35 +01:00
Yuri Sizov
7aae85edfd Merge pull request #84845 from DarkMessiah/tree-disabled-checkbox
Implement disabled state for Checkbox in Tree
2023-12-19 13:01:25 +01:00
Yuri Sizov
92e024aac5 Merge pull request #79785 from KoBeWi/ioioioio
Load project metadata file only when needed
2023-12-19 13:00:54 +01:00
bruvzg
d8bb4c7163
[macOS] Fix updating editor tab titles in the dock menu. 2023-12-19 13:09:20 +02:00
Aaron Franke
8a407ff82e
Use set_value_no_signal in editor property code 2023-12-18 11:47:03 -06:00
Yuri Sizov
bf8dd73e9d Merge pull request #86280 from Calinou/editor-input-map-editor-action-edit-title
Add input action name to window title in input map editor
2023-12-18 18:18:24 +01:00
Yuri Sizov
8d9c11b72b Merge pull request #86278 from YeldhamDev/filter_scene_tooltip
Fix scene dock search losing its default tooltip after typing an invalid filter
2023-12-18 18:18:20 +01:00
Yuri Sizov
2552821f06 Merge pull request #86044 from KoBeWi/can't_add_if_can't_add
Disable Add button when theme item name is empty
2023-12-18 18:18:09 +01:00
Yuri Sizov
c3ee2b9c52 Merge pull request #86008 from Delsin-Yu/4.2
Correctly free relevant scripts when closing scene tabs
2023-12-18 18:18:05 +01:00
Yuri Sizov
5c848174a3 Merge pull request #84898 from rsubtil/fix_dap_breakpoints_closed_scripts
Fix DAP breakpoints being cleared on closed scripts
2023-12-18 18:17:46 +01:00
Yuri Sizov
644e236e5c Merge pull request #83987 from bruvzg/macos_window_and_help
[macOS] Add default Window and Help menus, allow special menu customization.
2023-12-18 18:17:41 +01:00
DE-YU
b37b40ff76 Correctly free relevant scripts when closing scene tabs 2023-12-18 21:41:07 +08:00
Hugo Locurcio
8e2f3191e7
Add input action name to window title in input map editor 2023-12-18 01:42:59 +01:00
Michael Alexsander
589b7b0ed1
Fix scene dock search losing its default tooltip after typing an invalid filter 2023-12-17 20:07:46 -03:00
Wilson E. Alvarez
a3cb1b096f
Add const references detected by clang-tidy 2023-12-16 13:36:44 -05:00
Yuri Sizov
e63f1d4494 Merge pull request #86137 from Maran23/editor-error-metadata
Do not print error when editor meta was not found as it will be reimported anyway after
2023-12-16 17:49:58 +01:00
Yuri Sizov
9cbe3cb451 Merge pull request #83533 from SaracenOne/bezier_edit_mode_fix
Fix setting bezier track handle mode from inspector
2023-12-16 17:49:24 +01:00
Saracen
09a4aa3ce8 Fix setting bezier track handle mode from inspector. 2023-12-14 23:11:47 +00:00
Yuri Sizov
f8a2a91936 Merge pull request #86171 from YuriSizov/editor-what-colors-what-sounds
Fix various issues with the folder color lookup
2023-12-14 21:22:46 +01:00
Yuri Sizov
c3579769d8 Merge pull request #86164 from KoBeWi/stop_select_faking
Properly select the newly duplicated file
2023-12-14 21:22:42 +01:00
Yuri Sizov
a5529f759c Merge pull request #86129 from TheSofox/color-picker-memory
Remember last `color_mode` and `picker_shape` in `ColorPicker`s in the editor
2023-12-14 21:22:39 +01:00
Yuri Sizov
efa8c46fab Fix various issues with the folder color lookup 2023-12-14 20:43:46 +01:00
Marius Hanl
4b8b0803eb Return false when no '.editor.ctex' file exists so that the file will be reimported after and no error is printed 2023-12-14 20:35:49 +01:00
Thaddeus Crews
83ef789745
Replace GDVIRTUAL_CALL with GDVIRTUAL_REQUIRED_CALL where applicable 2023-12-14 13:22:40 -06:00
Sofox
7979412c75 Remember last 'color_mode' and 'picker_shape' in 'ColorPicker's in the editor 2023-12-14 18:57:57 +00:00
kobewi
0ae1241304 Properly select the newly duplicated file 2023-12-14 19:49:11 +01:00
Yuri Sizov
a6c0c90058 Merge pull request #86066 from Wiltof/tilemapPaint
Reset TileMap editor `drag_type` when the toolbar mode is not selected
2023-12-14 17:38:57 +01:00
Yuri Sizov
9d280f8b1c Merge pull request #85879 from berrybus/deselect-audio-effects
Fix permanently selected audio bus effects
2023-12-14 17:38:49 +01:00
Yuri Sizov
4269a57b0c Merge pull request #85387 from jsjtxietian/fix-forward-plus-crash
Use render method from OS instead of project settings in compositor RD
2023-12-14 17:38:43 +01:00
Yuri Sizov
a3024d0395 Merge pull request #85362 from Flavelius/params_copy_paste
Make copy & paste params skip `resource_path`
2023-12-14 17:38:38 +01:00
Yuri Sizov
203c8c31d3 Merge pull request #85071 from Rubonnek/remove-unnecessary-assignments
Remove unnecessary assignments
2023-12-14 17:38:34 +01:00
Yuri Sizov
8f33b4e83a Merge pull request #84882 from Invertex/select-instance-asset
Add "Show In FileSystem" to the Scene hierarchy right-click
2023-12-14 17:38:30 +01:00
Yuri Sizov
6faa5c6dc4 Merge pull request #84837 from synalice/issue-83366-colored-folders
Fix folder color not showing up in file dialogs
2023-12-14 17:38:24 +01:00
Yuri Sizov
daddb2b469 Merge pull request #84754 from aXu-AP/sprite2dplugin-rect
Add region rect and frames support to Sprite2DPlugin converter
2023-12-14 17:38:19 +01:00
Yuri Sizov
4cf6325aa1 Merge pull request #84660 from groud/better_tileset_polygons
Move tile transforms handling cache to TileData
2023-12-14 17:38:14 +01:00
Yuri Sizov
19f4dfbdfb Merge pull request #83957 from kitbdev/scene-tab-reuse
Only update `EditorSceneTabs` tabs when necessary
2023-12-14 17:38:09 +01:00
wilto938
5a3de5bc30 Reset TileMap editor drag_type by using the _stop_dragging() function when the toolbar mode is not selected 2023-12-14 11:58:36 +01:00
jsjtxietian
453c2246b6 Use render method from OS in compositor RD; Update related UI 2023-12-14 11:38:46 +08:00
bruvzg
0d44b50520
[macOS] Add default Window and Help menus, allow special menu customization. 2023-12-13 23:20:05 +02:00
Nancy Zhang
cf39cc985b Fix unable to deselect audio effects 2023-12-13 12:37:21 -05:00
Gilles Roudière
18fe0bd025 Move tile transforms handling cache to TileData 2023-12-13 17:44:59 +01:00
Wilson E. Alvarez
80fb8db31f
Remove unnecessary assignments
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2023-12-13 11:06:26 -05:00
Invertex
59787683a9 Added "Show In FileSystem" right-click option to Scene hierarchy nodes.
-Implemented shared function for focusing FileSystem tab and highlighting the node path.
-Created right-click option that shows up in the Scene-Hierarchy on Nodes that have a file-system source path.
-Created custom icon for this right-click option
-Implemented the shared function and icon for other places that already had this features (Open Node tab, Inspector Resource)

Co-authored-by: MewPurPur <mew.pur.pur@gmail.com>
2023-12-13 07:43:39 -08:00
Rémi Verschelde
481d04669f
Merge pull request #83329 from detomon/fix-creating-and-updating-plugin-with-dot-in-folder-name
Fix creating and updating plugin with dot in folder name
2023-12-13 10:31:04 +01:00
bruvzg
1a82b5d026
[D3D12] Automatically copy runtime DLLs during export. 2023-12-13 07:48:53 +02:00
Rémi Verschelde
d26a3f1b14
Merge pull request #85807 from rakkarage/import-warning
Add toaster notifications for import warnings.
2023-12-12 10:40:41 +01:00
Rémi Verschelde
7f02f5b71b
Merge pull request #85686 from kevmorg/master
Hide Node dock successfully on undo/redo and deletion
2023-12-12 10:40:16 +01:00
kevmorg
da84489b27
Hide Node dock successfully on undo/redo and deletion
Fixes #84530.
2023-12-12 10:26:05 +01:00
Aaron Franke
52f1b86ebc
Fix referring to ResourceImporterScene static importers via instances 2023-12-11 20:01:39 -06:00
Rémi Verschelde
abaf99d22d
Merge pull request #86031 from YuriSizov/editor-icons-for-groups
Fix theme access in the Groups editor
2023-12-12 00:34:12 +01:00
Rémi Verschelde
e551672c2d
Merge pull request #85922 from Listwon/fix-uid-corruption-on-reimport-80132
Prevent overriding file info of another file when reimport creates extra files
2023-12-12 00:33:25 +01:00
Rémi Verschelde
8f2b5cc109
Merge pull request #82899 from aaronfranke/import-settings-dialogs
Rename ImportSettings dialogs to have "Dialog" in the name
2023-12-12 00:15:59 +01:00
kobewi
fc7cdd5c37 Disable Add button when theme item name is empty 2023-12-11 22:21:36 +01:00
Rémi Verschelde
6882e5042d
i18n: Sync translations with Weblate
(cherry picked from commit 1dee633c91)
2023-12-11 22:10:21 +01:00
Yuri Sizov
0244f8318f Fix theme access in the Groups editor 2023-12-11 14:34:05 +01:00
Mateo Kuruk Miccino
b062f5b6fa
Stop the searching of find in files in folders that have .gdignore 2023-12-08 19:26:06 -03:00
Bartłomiej T. Listwon
aae48ac2b6 Prevent overriding file info of another file when reimport creates files 2023-12-08 22:17:51 +01:00
Yuri Sizov
aec890b496 Merge pull request #81169 from MewPurPur/texture-abstract-icons
Add Texture2D and Texture3D icons
2023-12-08 18:45:48 +01:00
Yuri Sizov
07677f0f51 Merge pull request #85885 from YuriSizov/bench-pressing
Improve engine startup/shutdown benchmarks
2023-12-08 17:12:26 +01:00
Yuri Sizov
26ba706831 Merge pull request #85845 from YuriSizov/editor-export-hidden-errors
Ensure more export errors are reported to users
2023-12-08 16:59:04 +01:00
Yuri Sizov
9dce1a45a0 Merge pull request #85819 from Malcolmnixon/export-android-build-template
Add option to install android build template for export
2023-12-08 16:58:54 +01:00
Yuri Sizov
7fbaefd244 Merge pull request #85723 from ilyabelow/84609-visual-shader-viewport-texture-error
Add a specific error when creating a ViewportTexture in a Texture2D node
2023-12-08 16:58:39 +01:00
Yuri Sizov
8cb2d20fce Merge pull request #85236 from YuriSizov/editor-flat-remote
Use the flat button style on switches in scene and node docks
2023-12-08 16:58:24 +01:00
Yuri Sizov
959c166866 Merge pull request #83741 from BlueCube3310/path-3d-plugin-optimize
Optimize Path3DGizmo Mesh Generation
2023-12-08 16:58:08 +01:00
Yuri Sizov
2e94be2ea4 Merge pull request #84167 from SaracenOne/cache_mode_replace_fixes
Fix behavior of ResourceFormatLoader `CACHE_MODE_REPLACE`
2023-12-08 15:23:13 +01:00
Yuri Sizov
6c86974022 Merge pull request #84122 from kitbdev/fix-dock-visibility
Fix dock visibility issues
2023-12-08 15:23:09 +01:00
Yuri Sizov
0481a0b8b3 Merge pull request #82528 from SaracenOne/path_types
Add support for exporting script classes without a name
2023-12-08 15:22:48 +01:00
Malcolm Nixon
988c1bf298 Add option to install android build template for export
This PR adds a new "--install-android-build-template" command-line option which causes the android build template to be installed before exporting the project.
2023-12-08 09:00:25 -05:00
Yuri Sizov
fc3f40f37d Improve engine startup/shutdown benchmarks
- Add contexts to give a better sense of benchmarked areas.
- Add missing benchmarks and adjust some begin/end points.
- Clean up names.
- Improve Android's internal benchmarks in a similar manner.

Co-authored-by: Fredia Huya-Kouadio <fhuya@meta.com>
2023-12-08 12:53:04 +01:00
kobewi
6e31c413b6 Add descriptions for tile properties 2023-12-07 16:57:34 +01:00
Rémi Verschelde
d5ad37afcd
i18n: Sync translations with Weblate
(cherry picked from commit daeb1c7292)
2023-12-07 11:13:54 +01:00
Yuri Sizov
773b4d7764 Ensure more export errors are reported to users
Also fixes the timing issue when exporting all
presets at the same time, where the error report
would try to appear while the progress dialog
was still visible.
2023-12-06 15:26:07 +01:00
Rémi Verschelde
49f4860ce3
Style: Mark clang-format 16 as supported for pre-commit hook
It only introduced a difference in a .glsl file, which I've worked
around by removing an empty line. This keeps formatting consistent
between clang-format 15 and 16.

Also added a change in the 3-to-4 project converter to fix bogus
formatting in clang-format < 17.
2023-12-06 13:26:53 +01:00
Rakka Rage
35444b28e3 Add toaster notifications for import warning. 2023-12-05 16:25:04 -05:00
MewPurPur
6cdd406c3d Add Texture2D and Texture3D icons 2023-12-05 19:21:04 +02:00
Yuri Sizov
44ec0d19d8 Fix size and visuals of the InputEventConfigurationDialog 2023-12-05 16:05:51 +01:00
Rémi Verschelde
1af8228ced
Merge pull request #85585 from jsjtxietian/fix-svg-invisible
Fix SnapGrid is almost invisble in light theme
2023-12-05 15:15:44 +01:00
aXu-AP
a45db4d616 Fix UV editor not showing polygon correctly
Fix polygon not showing correctly if UVs have been moved around. Show the actual contents of the polygon instead.
2023-12-05 15:38:37 +02:00
Rémi Verschelde
36e033bce8
Merge pull request #85312 from YuriSizov/window-and-the-case-of-an-unexpected-shrinkage
Make sure `Window`'s title is respected before we compute the size
2023-12-05 13:05:23 +01:00
Rémi Verschelde
4bc4817055
Merge pull request #84237 from dalexeev/inspector-fix-array-dict-elem-clearing
Inspector: Fix clearing array/dictionary element with `<Object#null>`
2023-12-05 13:05:14 +01:00
Haoyu Qiu
08b1354b36 Set language encoding flag when using ZIPPacker
When non-ASCII filenames are used, this indicates that the encoding is
UTF-8. Programs like ZIPReader can then parse the filename correctly.
2023-12-05 17:12:12 +08:00
Danil Alexeev
ed86c33002
Inspector: Fix clearing array/dictionary element with <Object#null> 2023-12-05 08:47:19 +03:00
Rémi Verschelde
6c7d43822c
Merge pull request #85745 from YuriSizov/editor-obey-the-theme-overlord
Fix theme application in various editor dialogs
2023-12-04 23:21:58 +01:00
Rémi Verschelde
6cfb3f61f2
Merge pull request #85556 from bs-mwoerner/wav-import-fix
Fix importing WAV files with odd chunk sizes
2023-12-04 23:19:34 +01:00
Rémi Verschelde
3e7cc5ec32
Merge pull request #85271 from YuriSizov/core-check-please!
Correctly check scripts that must inherit `EditorPlugin`
2023-12-04 23:12:24 +01:00
Rémi Verschelde
a8bc207252
Merge pull request #85181 from TheSofox/reparent-container-undo-fix
Restored Control properties when you undo a parenting of a Control to a Container
2023-12-04 23:10:51 +01:00
Rémi Verschelde
beb454c528
Merge pull request #85087 from EelisOtsamo/fix_scene_drag_and_drop
Fix issue with 3D scene drag and drop preview node
2023-12-04 23:10:01 +01:00
Rémi Verschelde
ff151bb9aa
Merge pull request #85061 from SaracenOne/imported_slices_fix
Fix imported track flag on sliced animations.
2023-12-04 23:09:37 +01:00
Rémi Verschelde
764e468066
Merge pull request #84933 from Calinou/editor-multimesh-populate-fix-node-type
Only allow MeshInstance3D-inherited nodes in MultiMesh Populate Surface dialog
2023-12-04 23:07:58 +01:00
Rémi Verschelde
8b3ba7e074
Merge pull request #84891 from Calinou/editor-particles-generate-emission-fix-node-type
Only allow MeshInstance3D-based nodes in particles emission shape node selector
2023-12-04 23:07:34 +01:00
Rémi Verschelde
be585ac644
Merge pull request #84594 from reduz/default-commented-light-shader
Comment the shader template light function by default
2023-12-04 23:04:50 +01:00
Rémi Verschelde
2b913cc84a
Merge pull request #84520 from Jordyfel/just-another-move-bug
Fix errors on file rename or move in the Filesystem Dock
2023-12-04 23:04:00 +01:00
Rémi Verschelde
98882f1c69
Merge pull request #84310 from timothyqiu/dnd
Allow dragging editable children
2023-12-04 23:02:45 +01:00
Rémi Verschelde
9108445eca
Merge pull request #84076 from aXu-AP/uv-editor-texture-transform
Fix UV editor not using texture transform
2023-12-04 23:00:54 +01:00
Michael Wörner
29810376b8 Fixed reading WAV files with odd chunk sizes.
These require a padding byte not included in the chunk size.
2023-12-04 20:01:34 +01:00
Yuri Sizov
01888ae7ab Fix theme application in various editor dialogs
99% of the time we shouldn't rely on the signal, we
should use the notification instead. I left some comments
in places where I couldn't quickly improve the code.
2023-12-04 13:18:48 +01:00
ilyabelow
429f24e665 Add a specific error when creating a ViewportTexture in a Texture2D node in a Visual Shader 2023-12-04 15:16:43 +04:00
jsjtxietian
926e22d2ab Fix SnapGrid is almost invisble in light theme 2023-12-01 18:51:45 +08:00
Steve Tibbett
86db8f921d Fix for Cmd-B conflict on macOS, where Cmd-B was
both "Build Project" and "Go to Next Bookmark".
2023-11-30 06:58:52 -05:00
Yuri Sizov
3a67eb2675 Disable a prohibitively slow code branch when reparenting nodes 2023-11-29 17:39:39 +01:00
Rémi Verschelde
c17d73f140
i18n: Sync translations with Weblate 2023-11-29 17:21:35 +01:00
kobewi
c5b742a06b Improve Control hiding in PluginConfigDialog 2023-11-28 14:59:34 +01:00
BleedingXiko
971b0a7bda
fix typo in tile_map_editor.cpp 2023-11-27 16:40:38 -08:00
bruvzg
27ca31f359 [Editor] Save and restore previous window mode when toggling full-screen. 2023-11-27 12:44:30 +02:00
Aaron Franke
a8dc34b8f0
Rename ImportSettings dialogs to have "Dialog" in the name 2023-11-26 22:59:01 -06:00
kobewi
3517ab5627 Fix custom type icon sizes in animation tracks 2023-11-25 23:41:25 +01:00
Flavelius
d9e3acece2 Make Copy->paste Params skip resource_path
Resource path should not be attempted to be taken over, as that's not intended for copy-paste and fails anyway, but this results in the whole paste operation failing as well
2023-11-25 22:35:51 +01:00
Yuri Sizov
d9677be0ca Make sure Window's title is respected before we compute the size
Also removes some suspicious and outdated code that forced this particular
dialog to change size when the warning message changed.
2023-11-24 16:31:41 +01:00
oeelis
834ccb9698 Fix issue with 3D scene drag and drop preview node 2023-11-24 15:44:51 +02:00
Yuri Sizov
bc1949d797 Correctly check scripts that must inherit EditorPlugin
Also updates some error messages related to this kind of check
across the codebase.
2023-11-23 16:24:43 +01:00
clayjohn
549a83eee2 Suppress surface upgrade warnings when showing SurfaceUpgradeTool warning
Also ensure the EditorProgress dialogue shows correct numbers
2023-11-22 15:35:50 -07:00
Rémi Verschelde
fa4a65387e
Merge pull request #85227 from KoBeWi/when_two_IDs_fight_the_editor_suffers
Fix crash caused by conflicting menu option IDs
2023-11-22 21:57:14 +01:00
Yuri Sizov
b1d6e336ea Use the flat button style on switches in scene and node docks 2023-11-22 20:10:35 +01:00
Yuri Sizov
10b70e2498 Rework the surface upgrade tool to inform users without blocking
This removes the immediate confirmation dialog and insteads prints the
message to the editor log (and it also appears as a toast). The immediate dialog
is a devil's plaything, and it cannot be used in this scenario (if it can be used
anywhere at all). The condition that triggers the SUT can happen during any
attempt by the rendering server to read a mesh. This means it will conflict
with a number of editor processes, like loading, importing, preview
generation, export, CLI mode, etc.

So while this is less on the nose as far as informing users goes, it's also
our best option to use the log and the toaster.
2023-11-22 19:03:14 +01:00
kobewi
c6fec68a3e Fix crash caused by conflicting menu option IDs 2023-11-22 17:28:40 +01:00
David Snopek
ce488930ea Remove GI methods in parentheses from light baking options 2023-11-22 08:42:40 -06:00
Rémi Verschelde
a34814b0b6
Merge pull request #85205 from jsjtxietian/grab-focus
Set some window in visual shader editor to be exclusive
2023-11-22 13:59:50 +01:00
Rémi Verschelde
ca245295ae
Merge pull request #85193 from TokageItLab/fix-seek-mixer
Fix seeking bug in AnimationPlayerEditor
2023-11-22 13:59:45 +01:00
Rémi Verschelde
51bca1b586
Merge pull request #85154 from KoBeWi/yo_dawg_I_heard_you_like_saving_scen-JUST_STOP_IT
Avoid saving scene while already saving the scene
2023-11-22 13:59:37 +01:00
jsjtxietian
b7ba667dcf Set some window in visual shader editor to be exclusive 2023-11-22 17:58:18 +08:00
Sofox
5614e6d61c Restored Control layout properties you undo a parenting of a Control to a Container 2023-11-22 09:37:17 +00:00
Silc Lizard (Tokage) Renew
21833f3dfd Fix seeking bug in AnimationPlayerEditor 2023-11-22 06:43:26 +09:00
Rémi Verschelde
7022271291
i18n: Sync translations with Weblate 2023-11-21 16:08:36 +01:00
Rémi Verschelde
c2f8fb3015
Merge pull request #85039 from RandomShaper/mingwthreads
Use mingw-std-threads in MinGW builds
2023-11-21 15:44:18 +01:00
Rémi Verschelde
fa259a77cd
Codestyle: Fix some comment issues 2023-11-21 15:26:53 +01:00
Rémi Verschelde
9c0692f30e
Merge pull request #85169 from jsjtxietian/fix-project-name-overriden
Fix project name being overwritten everytime `show_dialog` is called
2023-11-21 15:06:55 +01:00
jsjtxietian
b8d7a43f73 Fix project name being overwrite everytime show_dialog is called 2023-11-21 19:50:01 +08:00
kobewi
d84ba48d8f Avoid saving scene while already saving the scene 2023-11-20 21:57:21 +01:00
kobewi
2c72558ad0 Add Save As... option to EditorResourcePicker 2023-11-20 21:05:17 +01:00
Yuri Sizov
fdaee9ee89 Prevent the surface upgrade tool from running during export
Also add an explicit way to trigger the tool manually
at user's will.
2023-11-20 15:36:45 +01:00
Hugo Locurcio
c6a16b176e
Only allow MeshInstance3D-based nodes in particles emission shape node selector
This applies to both GPUParticles3D and CPUParticles3D, as
CPUParticles3DEditor inherits from GPUParticles3DEditorBase.
2023-11-19 11:22:51 +01:00
Saracen
57f1e5dcdc Fix imported track flag on sliced animations. 2023-11-18 15:36:33 +00:00
Pedro J. Estébanez
fe4850c0d0 Use mingw-std-threads in MinGW builds 2023-11-18 11:56:05 +01:00
Rakka Rage
58c9e341f1 Fix asset importer conflicted indeterminate state. 2023-11-17 19:58:18 -05:00
bruvzg
932174fedf
[Editor] Add option to override editor UI layout direction. 2023-11-17 14:56:45 +02:00
Rémi Verschelde
80e1672836
i18n: Sync translations with Weblate 2023-11-16 17:38:43 +01:00
Rémi Verschelde
b049ac43ba
Merge pull request #84927 from bruvzg/macos_ext_frame_upd
[macOS] Process events before changing title style to update window frame.
2023-11-16 14:52:28 +01:00
Marcin Nowak
561fcf54a4 Fix #82756: Save branch as scene saves children without owner set 2023-11-16 01:14:04 +01:00
Saracen
f392a9c4f8 Fix CACHE_MODE_REPLACE 2023-11-15 18:55:20 +00:00
Stanislav Labzyuk
ff8797e980 Implement disabled state for Checkbox in Tree 2023-11-15 17:13:34 +01:00
Rémi Verschelde
cc135c5821
Merge pull request #84931 from YuriSizov/editor-hot-topic-hot-keys
Make script/shader editor save shortcuts unique again
2023-11-15 14:32:22 +01:00
Rémi Verschelde
d89c5313a5
Merge pull request #83290 from trollodel/move_progress_dialog_on_open
Keep focus on floating window when showing ProgressDialog
2023-11-15 14:32:07 +01:00
Yuri Sizov
0f5a14c397 Make script/shader editor save shortcuts unique again 2023-11-15 14:10:12 +01:00
Rémi Verschelde
6d47eff457
Merge pull request #83104 from jsjtxietian/fix-crash-when-reimport-animation-while-playing
Fix editor crash when re-importing GLTF while animation is playing
2023-11-15 13:15:54 +01:00
Hugo Locurcio
dc3194f668
Only allow MeshInstance3D-inherited nodes in MultiMesh Populate Surface dialog 2023-11-15 12:24:11 +01:00
bruvzg
c64c1053e9
[macOS] Process events before changing title style to update window frame. 2023-11-15 09:33:23 +02:00
jsjtxietian
4680ced5fa support updating tooltip after editor description change 2023-11-15 14:27:49 +08:00
jsjtxietian
3c10493d0b Fix Editor crash when re-importing GLTF while animation is playing 2023-11-15 11:13:42 +08:00
Rémi Verschelde
6197f0952b
Merge pull request #84872 from alesliehughes/res_import_scene
Fix Resource Importer use after free
2023-11-14 23:30:53 +01:00
Ricardo Subtil
760ff2e933 Fix DAP breakpoints being cleared on closed scripts 2023-11-14 16:51:38 +00:00
Ricardo Subtil
485342408b Prevent race condition on initial breakpoints from DAP 2023-11-14 15:56:03 +00:00
Rémi Verschelde
ff5ac866e8
Donors: Change tiers to match Dev Fund, sync latest data
The new list includes all donors listed on fund.godotengine.org,
together with the ones still on Patreon on matching tiers.

We haven't yet updated Patreon tiers to match the Dev Fund, so donors
who used to be listed under "Silver donors" are now grandfathered under
the "Gold members" category from the Dev Fund.
2023-11-14 15:40:44 +01:00
Nikita Krasnov
0d6300d269 Fix folder color not showing up in file dialogs 2023-11-14 17:17:10 +03:00
Alistair Leslie-Hughes
b0e0615075 Fix Resource Importer use after free 2023-11-14 16:39:41 +11:00
Rémi Verschelde
85ecb853cf
Merge pull request #83652 from KoBeWi/PROPERTY_HINT_DOC_IS_FULL
Fill remaining global scope constant descriptions
2023-11-14 00:02:58 +01:00
kobewi
da55c06322 Save scene when saving built-in resource 2023-11-13 16:34:17 +01:00
kobewi
4296f0a771 Fill remaining global scope constant descriptions 2023-11-13 15:17:10 +01:00
Rémi Verschelde
4123f1371f
Merge pull request #84797 from akien-mga/silence-warning-about-skipping-dirs-with-godot-project
Remove EditorFileDialog warning when skipping project directories
2023-11-12 23:00:54 +01:00
Rémi Verschelde
5a5b456fca
Merge pull request #84774 from akien-mga/fix-TTR-in-ERR-WARN-prints
Don't use TTR/RTR for ERR/WARN prints
2023-11-12 22:59:38 +01:00
Rémi Verschelde
e03f47cb7c
Remove EditorFileDialog warning when skipping project directories
We might need better UX to handle this in EditorFileDialog, showing the
directories as greyed out with a tooltip, but for now this silences a warning
that users have no control over.

We keep the warning only in the initial project scan.
2023-11-12 19:05:05 +01:00
Rémi Verschelde
d443f127ef
Merge pull request #83708 from Guilhermev25/shaders-renames
Fix wrong shader rename
2023-11-12 16:57:00 +01:00
Rémi Verschelde
3e23755d24
Merge pull request #83430 from RandomShaper/fix_onion_audio
Fix onion skinning internals activating audio/method/animation tracks
2023-11-12 16:56:30 +01:00
Rémi Verschelde
87ba798cba
Merge pull request #84779 from m4gr3d/keep_android_build_window_open_on_failure
Preserve the output from the gradle build command
2023-11-12 12:15:54 +01:00
Fredia Huya-Kouadio
136b7f9c52
Preserve the output from the gradle build command
Updates `EditorNode#execute_and_show_output(...)` to return the output of the executed command.
2023-11-12 12:07:04 +01:00
Rémi Verschelde
15b8185c68
Don't use TTR/RTR for ERR/WARN prints
We don't translate those, only editor strings are translated.
2023-11-12 12:00:55 +01:00
Cerno_b
9a684cf199 Clarify description of "group selected" 2023-11-12 10:53:44 +01:00
aXu-AP
cb88108d9f Readd rect support for Sprite2DPlugin converter
Readds support for rects for sprite to mesh/polygon converter.
Adds support for conversion from animation frame.
Fixes converter not taking offset into account.
Fixes 1 pixel shift when converting flipped sprites.
2023-11-12 11:49:37 +02:00
Rémi Verschelde
4e867b5835
Merge pull request #84762 from timothyqiu/snap-mode
Fix texture region editor not selecting restored snap mode
2023-11-11 23:06:24 +01:00
Rémi Verschelde
97a102caf6
Merge pull request #84052 from SaracenOne/animtree_readonly_context
Unpress buttons in AnimationTree when switching to read-only mode.
2023-11-11 23:05:37 +01:00
Haoyu Qiu
64fb22e17b Fix texture region editor not selecting restored snap mode 2023-11-12 01:41:51 +08:00
Rémi Verschelde
848f93f989
Merge pull request #84716 from YuriSizov/3d-resource-previews-are-out-to-get-you
Abort threaded preview generators on exit
2023-11-10 21:56:10 +01:00
Rémi Verschelde
96fa86f9a0
Merge pull request #84557 from TheSofox/undo-history-sync-fix
Fix for stopping the Undo History being desynchronised from actual Undo queue
2023-11-10 21:55:46 +01:00
Rémi Verschelde
bdd9034ad0
i18n: Sync translations with Weblate 2023-11-10 16:30:40 +01:00
Yuri Sizov
e90ea87b42 Abort threaded preview generators on exit 2023-11-10 15:31:43 +01:00
Sofox
662522ae5a Fix for stopping the Undo History being desynchronised from actual Undo queue. 2023-11-10 13:04:12 +00:00
Jordyfel
76c7190d21 Fix errors on file rename or move in the Filesystem Dock 2023-11-10 14:09:21 +02:00
Rémi Verschelde
8c53a72a49
Merge pull request #84661 from Sauermann/fix-cursor-in-advanced-importer
Fix stuck cursor in Advanced Scene Importer
2023-11-10 10:45:43 +01:00
Rémi Verschelde
dfe2df989d
Merge pull request #84493 from bruvzg/gde_ios_static_fix
[iOS, GDExtension] Fix loading and exporting static libraries and xcframeworks.
2023-11-10 10:44:56 +01:00
Rémi Verschelde
38c3e5aae9
Merge pull request #82956 from Chtau/GDScript-external-Editor-Engine-crash
Fixes internal Script Editor crash with External Editor active
2023-11-10 10:43:58 +01:00
bruvzg
d4d5d68eda
[iOS, GDExtension] Fix loading and exporting static libraries and xcframeworks. 2023-11-09 20:04:40 +02:00
Rémi Verschelde
75d27e3893
Merge pull request #79832 from DarkMessiah/fix-autoload-settings
Fix undo methods for DELETE in EditorAutoloadSettings
2023-11-09 18:06:28 +01:00
kobewi
aff49d3a76 Fix missing arrows in integer vector properties 2023-11-09 17:35:15 +01:00
Markus Sauermann
75b4ea05a4 Fix stuck cursor in Advanced Scene Importer
Display an Arrow mouse cursor, while the mouse is moved within the
`SubViewportContainer` of the Advanced Scene Importer.
2023-11-09 12:50:13 +01:00
Rémi Verschelde
d1381bbca2
Merge pull request #84625 from KoBeWi/yeet_sprite_node()
Remove AnimatedSprite pointer when clearing editor
2023-11-09 11:48:12 +01:00
Rémi Verschelde
26f1c503ec
Merge pull request #84617 from YuriSizov/editor-this-one-is-for-all-my-subs
Fix node names of submenu items across the editor
2023-11-09 11:47:24 +01:00
Rémi Verschelde
432c75d6af
Merge pull request #83081 from Rindbee/fix-wrong-split
Fix `EditorFileSystemDirectory::get_file_deps()` may return wrong result
2023-11-09 11:45:21 +01:00
Rémi Verschelde
e5bacbc471
Merge pull request #84628 from KoBeWi/no_meta_only_path
Don't store shader edit path in metadata
2023-11-08 19:18:55 +01:00
kobewi
9c810ef061 Don't store shader edit path in metadata 2023-11-08 19:14:16 +01:00
kobewi
55f7d493ee Remove AnimatedSprite pointer when clearing editor 2023-11-08 18:09:42 +01:00
Yuri Sizov
b04b546092 Fix node names of submenu items across the editor
Also removes some programmer remarks and fixes some docs.
2023-11-08 14:42:42 +01:00
Yuri Sizov
e7dba3b064 Correctly set up shortcut context in the shader editor 2023-11-08 13:07:31 +01:00
Saracen
7559eb1667 Script path type support in editor:
Allow script path type hints to be used in drag and drop
and scene tree popup.
2023-11-08 00:18:40 +00:00
Juan Linietsky
c430ff2396 Comment the shader template light function by default
This is a minor usability tweak.

The light functions replace the default ones, so even if empty
they will avoid the current shader to have proper lighting and
users will have no idea why.

Code was changed to have the shader function commented by default,
indicating that uncommenting replaces the default function.
2023-11-07 23:20:45 +01:00
aXu-AP
1ee4aa11b6 Add zoom controls to Sprite2DPlugin 2023-11-07 20:30:33 +02:00
Michael Alexsander
0f37ee8e9a
Allow to load multiple animation/libraries at once in the animation manager 2023-11-07 11:00:45 -03:00
Yuri Sizov
3e7f638d7b Merge pull request #84570 from clayjohn/editor-headless-scan
Scan the filesystem in the first frame when using headless mode
2023-11-07 12:54:41 +01:00
Yuri Sizov
a956f2f21c Merge pull request #84551 from KoBeWi/manage_animations_like_a_proper_human_being
Change AnimationLibEditor's mixer to actual Mixer
2023-11-07 12:54:38 +01:00
clayjohn
95fbb2ecb2 Scan the filesystem in the first frame when using headless mode 2023-11-07 10:46:56 +01:00
Hugo Locurcio
079f1c8ead
Display a revert icon on ColorPicker's old sample
This denotes that the color can be clicked to revert to the old color.
2023-11-07 10:04:39 +01:00
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
Juan Manuel Costello
aa2522edcd Fix material drop 2023-11-06 12:57:19 -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
jsjtxietian
8f6e8ef0d7 clean unnecessay copy detected by clang-tidy 2023-11-06 16:22:32 +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
Hayden Leete
887fd08260 preserve inspector focus when opening script 2023-11-01 18:19:27 +13: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
aXu-AP
414d84b159 Fix nodes being deselected upon reparenting 2023-10-31 21:15:04 +02: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