Commit Graph

15948 Commits

Author SHA1 Message Date
Rémi Verschelde
cf50779ef8
Merge pull request #93160 from bruvzg/pg_mt_crash
[EditorProgress] Use `BackgroundProgress` instead of `ProgressDialog` when called for a thread.
2024-06-17 16:01:58 +02:00
Rémi Verschelde
170af05c80
Merge pull request #93219 from Chaosus/vs_fix_varyings
Fix bugs in visual shader varyings
2024-06-17 13:30:20 +02:00
Rémi Verschelde
bb8fe430fe
Merge pull request #90098 from viksl/fix-instant-rotation-and-return-wrapping
Allow wrapping for begin rotate transformation to bring it in line with Blender.
2024-06-17 10:57:57 +02:00
Rémi Verschelde
d66281c7b8
Merge pull request #80860 from RandomShaper/harmonize_track_insert
Simplify right-click track insertion code
2024-06-17 10:57:42 +02:00
bruvzg
0e76739bd6 [AnimationTrackEdit] Cancel key drag when popup is shown. 2024-06-17 10:22:58 +03:00
bruvzg
d96c58bbd0
[Editor] Unload addons before quitting to allow cleanup. 2024-06-16 17:44:51 +03:00
Yuri Rubinsky
537316098f Fix bugs in visual shader varyings 2024-06-16 16:58:46 +03:00
passivestar
70cdfc4c5e Allow theming movie writer button icon color 2024-06-16 14:00:55 +04:00
bruvzg
501c15c5f5
[iOS export] Automatically generate ARM64 simulator library from device library if it's missing. 2024-06-16 10:46:49 +03:00
bruvzg
7acaa0d320 [EditorProgress] Use BackgroundProgress instead of ProgressDialog when called for a thread. 2024-06-15 15:33:49 +03:00
Rémi Verschelde
8b271c8315
Merge pull request #93161 from Hilderin/fix-crash-importing-ttf
Fix ProgressDialog crash when importing TTF font
2024-06-14 17:13:21 +02:00
Hilderin
8a82d3e9a7 Fix ProgressDialog crash when importing TTF font 2024-06-14 09:00:42 -04:00
Rémi Verschelde
ac95e0f4ff
i18n: Sync translations with Weblate 2024-06-14 10:33:40 +02:00
Rémi Verschelde
b1dbc8b51a
Merge pull request #93150 from Chaosus/fix_missing_ttr
Add missing TTR's for EditorProgress
2024-06-14 10:19:44 +02:00
Rémi Verschelde
68142d1038
Merge pull request #93148 from Hilderin/fix-httprequest-error-export-template
Fix bug when downloading export templates and re-opening the template manager
2024-06-14 10:19:41 +02:00
Rémi Verschelde
f94c5e8bf1
Merge pull request #93089 from passivestar/editor-property-spacing
Fix EditorProperty spacing
2024-06-14 10:19:35 +02:00
Yuri Rubinsky
a7d5e2f0d9 Add missing TTR's for EditorProgress 2024-06-14 10:52:38 +03:00
Hilderin
df10fdc367 Fix Bug when downloading export templates and re-open the template manager #93121 2024-06-14 01:15:05 -04:00
Rémi Verschelde
680e489189
Merge pull request #93087 from KoBeWi/path_to_less_bugs
Allow cancelling actions in Path2D editor
2024-06-13 17:19:30 +02:00
Rémi Verschelde
e988c1a682
Merge pull request #92870 from KoBeWi/maybe_RESET_a_bit_less
Don't allow creating invalid RESET keys
2024-06-13 17:19:23 +02:00
Rémi Verschelde
1567a498cb
Merge pull request #93129 from passivestar/object-selector-label
Center the label in EditorObjectSelector
2024-06-13 14:39:28 +02:00
Rémi Verschelde
93447ceb37
Merge pull request #93112 from Hilderin/fix-crash-undo-spriteframes-rename
Fix Crash when trying to undo SpriteFrames animation rename #93079
2024-06-13 14:39:15 +02:00
passivestar
fccfda2706 Center the label in EditorObjectSelector 2024-06-13 15:50:17 +04:00
Pedro J. Estébanez
9ba984e2c1 Simplify right-click track insertion code 2024-06-13 09:37:47 +02:00
bruvzg
db46eac24c
[Image Font Importer] Adds support for \uXXXX in the kerning config strings. 2024-06-13 09:20:04 +03:00
Hilderin
4575ccbad9 Fix Crash when trying to undo SpriteFrames animation rename #93079 2024-06-12 21:42:49 -04:00
passivestar
2cd0f3584d Fix EditorProperty spacing 2024-06-12 18:02:24 +04:00
kobewi
85a8c3e71a Allow cancelling actions in Path2D editor 2024-06-12 15:22:50 +02:00
Rémi Verschelde
2fb296a5cd
Merge pull request #93074 from bruvzg/bmp_imp_adv
[Image Font Importer] Fix reading advance after hex/dec range.
2024-06-12 11:01:43 +02:00
Rémi Verschelde
d7302a233b
Merge pull request #93040 from dalexeev/editor-help-bit-fix-title-height
Editor: Fix `EditorHelpBit` title height is wrong on initialization
2024-06-12 11:01:08 +02:00
Rémi Verschelde
0dfe93b00d
Merge pull request #92597 from KoBeWi/make_update_checker_actually_find_updates
Rework and simplify update checking logic
2024-06-12 11:01:01 +02:00
bruvzg
26df66cbad
[Image Font Importer] Fix reading advance after hex/dec range. 2024-06-12 11:38:41 +03:00
Danil Alexeev
794099217e
Editor: Fix EditorHelpBit title height is wrong on initialization 2024-06-12 11:08:28 +03:00
Rémi Verschelde
fdb6100d77
Merge pull request #92974 from Chaosus/import_settings_animation_bugfix
Fix incorrect camera transform of animation view in the import window
2024-06-12 10:00:37 +02:00
Hilderin
f1099ab943 Fix reimporting assets with csv in the project 2024-06-11 17:04:15 -04:00
kit
e3195bd15b Fix find highlight when switching scripts 2024-06-11 15:56:38 -04:00
Gilles Roudière
10c2ce15da Fix tile polygon editor grid and missing update 2024-06-11 19:35:03 +02:00
Rémi Verschelde
292e50e17e
Merge pull request #93033 from akien-mga/system-info-remove-empty-vad-name
System info: Remove empty parentheses when video adapter driver name is unknown
2024-06-11 16:59:41 +02:00
Rémi Verschelde
1e0015ac64
Merge pull request #92994 from smix8/navmesh_2d_clear
Fix NavigationRegion2D editor plugin clear button not updating debug visuals
2024-06-11 16:59:38 +02:00
Rémi Verschelde
41381a73fe
Merge pull request #92930 from passivestar/inspector-node-delete
Add missing inspector dock update after node deletion
2024-06-11 16:59:35 +02:00
Rémi Verschelde
b6ad4b193f
System info: Remove empty parentheses when video adapter driver name is unknown
Seems to be the case at least for me on Fedora, and in various issues I see from
other Linux users.
2024-06-11 16:18:20 +02:00
Rémi Verschelde
928e044ef5
Merge pull request #93006 from Hilderin/fix-update-files-pr-#92893
Fix EditorFileSystem `update_files` after #92893
2024-06-11 11:51:09 +02:00
Rémi Verschelde
e4fa8543ea
Revert "Fix FileSystem dock won't show any file folders"
This reverts commit 72856d633a.

Fixes #93022.
2024-06-11 11:46:35 +02:00
Rémi Verschelde
a95703892d
Merge pull request #92856 from bruvzg/ed_prog_upd
Force editor progress dialog size update.
2024-06-11 10:48:52 +02:00
Rémi Verschelde
1415684af9
Merge pull request #92701 from bruvzg/button_align
[Button] Adds theme option to align button text and icon to either largest or current stylebox.
2024-06-11 10:48:49 +02:00
Rémi Verschelde
0a9f2d2262
Merge pull request #92650 from Hilderin/fix-fileSystem-dock-wont-show-any-file-folders
Fix FileSystem dock won't show any file folders
2024-06-11 10:48:46 +02:00
Rémi Verschelde
dfefdadfb8
Merge pull request #89302 from Mickeon/Some-old-theme-color-renames
Add pre-4.3 Editor theme color names for compatibility
2024-06-11 10:48:43 +02:00
Rémi Verschelde
430812980c
Merge pull request #86721 from Naros/gde-debugger-tooling
Improve GDExtension Tools Integration with Editor Debug Tooling
2024-06-11 10:48:34 +02:00
Hilderin
9f8a918ade Fix update_files from PR #92893 2024-06-10 20:03:18 -04:00
Hilderin
72856d633a Fix FileSystem dock won't show any file folders 2024-06-10 19:54:37 -04:00
Chris Cranford
8577340501 Expose several EngineDebugger methods and signals as plugin callbacks 2024-06-10 19:46:23 -04:00
smix8
14bed692bf Fix NavigationRegion2D clear button not updating debug visuals
Fixes that NavigationRegion2D editor plugin clear button did not update the debug visuals.
2024-06-10 19:36:21 +02:00
kobewi
21345defe9 Restore "Confirm Insert Track" editor setting 2024-06-10 17:47:59 +02:00
bruvzg
721a663aa3
[Button] Adds theme option to align button text and icon to either largest or current stylebox. 2024-06-10 18:40:52 +03:00
Rémi Verschelde
5241d30bfa
Merge pull request #92836 from WhalesState/screenshot
Fix editor screenshots menu button's tooltip
2024-06-10 16:40:56 +02:00
Rémi Verschelde
91e166a0c0
Merge pull request #92815 from aaronp64/keep_skip_import_crash
Fix Keep/Skip File import selection crash
2024-06-10 16:40:53 +02:00
Mounir Tohami
d9452552fa Fix editor screenshots menu button's tooltip. 2024-06-10 14:13:35 +00:00
Rémi Verschelde
e4fd5b55eb
Merge pull request #92893 from Hilderin/fix-freeze-after-building-c#
Fix freeze after building C#
2024-06-10 16:11:59 +02:00
Rémi Verschelde
3d170c56d6
Merge pull request #92861 from TokageItLab/fix-animation-player-just-after-started
Fix seeking Animation immediate after playback for Discrete track
2024-06-10 16:11:55 +02:00
Rémi Verschelde
3092b0c6ea
Merge pull request #92648 from stephen-berry/GODOT-92513
Consistently display script icons for nodes in connect dialog's scene tree editor
2024-06-10 16:11:45 +02:00
Rémi Verschelde
553f77674c
Merge pull request #91265 from AeioMuch/fix_drop_reparent
Fix reparenting after hover delay
2024-06-10 16:11:34 +02:00
Stephen Berry
823b48ffa5
Consistently display script icons for nodes in connect dialog's scene tree editor 2024-06-10 16:06:45 +02:00
Yuri Rubinsky
29fa291317 Fix incorrect camera transform of animation view in the import window 2024-06-10 16:09:36 +03:00
Hilderin
cc990efddf Fix freeze after building C# 2024-06-09 13:40:51 -04:00
passivestar
3cd245c7b1 Add missing inspector dock update after node deletion 2024-06-09 11:51:41 +04:00
bruvzg
564ebd7ba4
Force editor progress dialog size update. 2024-06-08 23:15:07 +03:00
Silc Lizard (Tokage) Renew
bea47d877b Fix seeking Animation immediate after playback for Discrete track 2024-06-08 22:09:37 +09:00
Rémi Verschelde
1ce6df7087
Merge pull request #92871 from KoBeWi/execute_order
Remove unused order variable from EditorResourcePreview
2024-06-07 23:30:46 +02:00
Rémi Verschelde
31b55e7da1
Merge pull request #92802 from dalexeev/editor-hide-gdscript-internal-funcs
Editor: Hide GDScript internal functions from method selectors
2024-06-07 23:30:27 +02:00
Rémi Verschelde
54e09c31ad
Merge pull request #92774 from TokageItLab/fix-reverse-z-skeleton-gizmo
Fix Shader for SkeletonGizmo to follow renderer's reversed-z change
2024-06-07 23:30:12 +02:00
Rémi Verschelde
221450d62b
Merge pull request #92770 from KoBeWi/global_tabbing
Add Globals tab to reorganize Project Settings dialog
2024-06-07 23:30:08 +02:00
Rémi Verschelde
1fb05cb768
Merge pull request #92760 from Rindbee/deprecate-replacing_by-signal
Call `EditorNode::set_edited_scene()` manually instead of via the `replacing_by` signal
2024-06-07 23:30:04 +02:00
Rémi Verschelde
33b201fc85
Merge pull request #92670 from TokageItLab/fix-animation-track-editor-snap
Fix unstable AnimationTrackEditor snapping value
2024-06-07 23:29:52 +02:00
Rémi Verschelde
e607d47d89
Merge pull request #92559 from kitbdev/fix-add-scene-button
Update Add Scene button after TabBar resizes
2024-06-07 23:29:36 +02:00
Rémi Verschelde
0c9531cb19
Merge pull request #88322 from EmrysMyrddin/fix/dict_editor_focus_on_type_change
Editor: Focus value editor on type change in Dictionary and Array editors
2024-06-07 23:29:14 +02:00
kobewi
20d67aac67 Remove unused order variable from EditorResourcePreview 2024-06-07 15:54:47 +02:00
kobewi
461bb8ee02 Don't allow creating invalid RESET keys 2024-06-07 15:02:13 +02:00
kit
9a2ffd74d3 Update Add Scene button after TabBar resizes 2024-06-06 14:59:15 -04:00
风青山
85a1662e3b
Call EditorNode::set_edited_scene() manually instead of via the replacing_by signal
Cannot change `scene_root`'s child node in `EditorNode::set_edited_scene()`
if replaced later using `replace_by`.
2024-06-06 22:44:13 +08:00
Micky
5749007f47 Add pre-4.3 Editor theme color names for compatibility 2024-06-06 13:43:07 +02:00
aaronp64
3bf5fa9aea Fix Keep/Skip File import selection crash
Added is_valid() and "params" key checks before trying to access ConfigFile's "params" section in ImportDock::_update_options, to handle case where selecting "Keep File" or "Skip File" importer passes in a null ConfigFile.

Fixes #92785
2024-06-05 16:50:54 -04:00
Danil Alexeev
ae737d8cd9
Editor: Hide GDScript internal functions from method selectors 2024-06-05 18:24:59 +03:00
kobewi
d1d7762a9f Add Globals tab to reorganize Project Settings dialog 2024-06-05 16:11:34 +02:00
Silc Lizard (Tokage) Renew
4f6fb8ee81 Fix Shader for SkeletonGizmo to follow renderer's reversed-z change
Co-authored-by: Lyuma <xn.lyuma@gmail.com>
2024-06-05 05:44:24 +09:00
Valentin Cocaud
c31111f5ec Editor: Focus value editor on type change in Dictionary and Array editors 2024-06-04 16:51:29 +02:00
Rémi Verschelde
5b13d71738
Merge pull request #92751 from dalexeev/editor-pm-swap-date-and-version
Editor: Swap last edited date and version/warning in Project Manager
2024-06-04 16:51:21 +02:00
Rémi Verschelde
92ea322802
Merge pull request #86947 from TheSofox/tile-set-paint-button-tooltip
Made tooltip on `TileSet` Paint Button give more information when disabled
2024-06-04 16:51:14 +02:00
Silc Lizard (Tokage) Renew
b83dc9b25b Fix unstable AnimationTrackEditor snapping value 2024-06-04 22:06:40 +09:00
Danil Alexeev
12430f9dce
Editor: Swap last edited date and version/warning in Project Manager 2024-06-04 12:43:59 +03:00
Rémi Verschelde
d522c20186
Merge pull request #92465 from Frefreak/signal-connection-dialog-enhance
Make signal connections dialog method picker respect bind/unbind
2024-06-04 10:10:01 +02:00
Rémi Verschelde
5f1184e93f
Merge pull request #92723 from AThousandShips/incorrect_sname
Fix some incorrect uses of `String` over `StringName`
2024-06-03 15:58:44 +02:00
A Thousand Ships
0f72b15bc2
Fix some incorrect uses of String over StringName
These were accepting `SNAME` assignments
2024-06-03 13:42:31 +02:00
kobewi
be111004dd Fix default NodePaths saved in scene 2024-06-03 13:10:23 +02:00
Rémi Verschelde
ef886b0a41
Merge pull request #92426 from RandomShaper/fix_ed_toast_mt
Avoid editor error reporting using resource loader thread's call queues
2024-06-03 11:20:50 +02:00
Rémi Verschelde
9b4cfcba5f
Merge pull request #92669 from Hilderin/fix-huge-tscn-icon-in-background-of-file-system-panel
Fix huge .tscn icon and icon in background of File System panel
2024-06-03 10:36:02 +02:00
Rémi Verschelde
d152284778
Merge pull request #92633 from KoBeWi/override_the_bug
Fix project settings reloading
2024-06-03 10:35:58 +02:00
Rémi Verschelde
f882f12807
Merge pull request #92482 from passivestar/ratio-space
Add missing space around the ratio lock button
2024-06-03 10:35:50 +02:00
Rémi Verschelde
e716ea673e
Merge pull request #92424 from bruvzg/mouse_state
Use current mouse button state instead of saved values.
2024-06-03 10:35:46 +02:00
Rémi Verschelde
41e762ca29
Merge pull request #91454 from akien-mga/coverity-checks
Fix Steam input "crc" errors, and some other Coverity reports of uninitialized scalar variable
2024-06-03 10:35:38 +02:00
Hilderin
81395cf9bd Fix Huge .tscn Icon and icon in background of File System panel 2024-06-02 09:11:56 -04:00
passivestar
065e2c167b Add missing space around the ratio lock button 2024-06-02 14:15:39 +04:00
kobewi
f08a7e32c8 Fix project settings reloading 2024-06-01 11:38:43 +02:00
kobewi
44593eecc7 Rework and simplify update checking logic 2024-05-31 18:49:32 +02:00
bruvzg
5168647530
Use current mouse button state instead of saved values. 2024-05-31 15:50:14 +03:00
AeioMuch
829bedcadb Fix reparent when hovering after delay 2024-05-31 14:27:41 +02:00
Rémi Verschelde
9c87e8c7b4
Merge pull request #91953 from AThousandShips/use_normal_sname
Use `CoreStringNames::normal` in more places
2024-05-31 14:16:05 +02:00
Rémi Verschelde
b201c087ab
Merge pull request #91950 from AThousandShips/panel_sname
[Scene] Add `SceneStringNames::panel`
2024-05-31 14:16:02 +02:00
Rémi Verschelde
ea4db5c3e1
Merge pull request #91949 from AThousandShips/id_pressed_sname
[Scene] Add `SceneStringNames::id_pressed`
2024-05-31 14:15:58 +02:00
Rémi Verschelde
62120c7841
Fix Steam input "crc" errors, and some other Coverity reports of uninitialized scalar variable
- Fixes #88630.
- Fixes #92578.
2024-05-31 09:55:02 +02:00
Pedro J. Estébanez
f61c63e3a1 Avoid editor error reporting using resource loader thread's call queues 2024-05-31 09:42:37 +02:00
Rémi Verschelde
7728839247
Rename FBX2glTF binary path setting back to 4.2 name
This preserves compatibility when upgrading Godot 4.2 projects which relied on that
path being configured in the editor settings.

The old name also makes sense for this one, it's fine for fbx2gltf_path to be under
a generic fbx category which could have more settings also impacting ufbx.
2024-05-30 23:42:11 +02:00
A Thousand Ships
cade5b88d9
Use CoreStringNames::normal in more places 2024-05-30 22:57:54 +02:00
A Thousand Ships
926afccbd8
[Scene] Add SceneStringNames::panel 2024-05-30 22:54:50 +02:00
A Thousand Ships
755a0efbb6
[Scene] Add SceneStringNames::id_pressed 2024-05-30 22:54:04 +02:00
Rémi Verschelde
cd8bd0380d
Merge pull request #92336 from van800/DAP
[DAP] Add `--dap-port` as a command line argument
2024-05-30 22:13:42 +02:00
Ivan Shakhov
77b9e60303 [DAP] Add --dap-port as a command line argument, very similar to --lsp-port 2024-05-30 21:46:37 +02:00
Rémi Verschelde
ff242e2e94
Merge pull request #92539 from RandomShaper/no_crash_glsl_headless
Avoid crash when importing .glsl in headless
2024-05-30 15:41:59 +02:00
Rémi Verschelde
af249e84d9
Merge pull request #91944 from KoBeWi/even_though_StringName_contains_String_in_its_name,_it's_not_actually_a_String
Fix wrong usage of `parameters_base_path` StringName
2024-05-30 15:41:53 +02:00
Rémi Verschelde
d9609ff1b0
Merge pull request #90531 from Rindbee/fix-reload_instances_with_path_in_edited_scenes-in-EditorNode
Fix errors when re-importing 3D asset files
2024-05-30 15:41:50 +02:00
Pedro J. Estébanez
c1d5a2c8c6 Avoid crash when importing .glsl in headless 2024-05-30 13:51:35 +02:00
kobewi
a345160ab3 Fix wrong usage of parameters_base_path StringName 2024-05-30 12:03:43 +02:00
Rémi Verschelde
32def9f98e
Merge pull request #92392 from KoBeWi/this_makes_editor_200%_faster
Optimize usage of position icon in 2D editor
2024-05-30 11:48:06 +02:00
Rémi Verschelde
4cd39c56fb
Merge pull request #92283 from KoBeWi/code_simpleton
Automatically use property count in PropertyListHelper
2024-05-30 11:47:58 +02:00
Rémi Verschelde
aa147b74ea
Merge pull request #90664 from KoBeWi/shadowdropped_resource
Prevent crash when dropping Resource that can't load
2024-05-30 11:47:38 +02:00
Rémi Verschelde
53bd0d5acf
Merge pull request #90365 from KoBeWi/export_any%_speedrun
Allow skipping imported resource files from export
2024-05-30 11:47:34 +02:00
Rémi Verschelde
838eb5a0fd
Merge pull request #87099 from bitwise-aiden/ba-add-trim-newlines
Implement `trim_final_newlines` setting and functionality
2024-05-30 11:47:28 +02:00
风青山
9fe902b296
Fix errors when re-importing 3D asset files
Some 3D asset files are treated as scenes and may cause some errors when
importing.

When working through different scene tabs, we need to temporarily add
the scene root to the SceneTree to ensure that `editor_selection->add_node()`
can work smoothly. This avoids the error message: `ERROR: Condition
"!p_node->is_inside_tree()" is true.`

This also ensures that no other scenes are accidentally added to the
SceneTree causing the wrong display. When there is an inherited scene
tab open and it is not the current tab, the new root node is accidentally
added as a child node of `scene_root` during replacement.

Instantiate the scene early so caches in SceneState that are cleared
due to loading are rebuilt early. This avoids numerous error messages:
`This operation requires the node cache to have been built.`
2024-05-30 07:46:36 +08:00
Rémi Verschelde
25519867f2
Merge pull request #92225 from ajreckof/fix-multiline-array
Fix array variable with `@export_multiline` not registering changes.
2024-05-29 23:11:57 +02:00
Rémi Verschelde
ebe7377563
Merge pull request #92511 from KoBeWi/not_a_path
Remove unused `base_hint` from EditorPropertyNodePath
2024-05-29 22:14:09 +02:00
Rémi Verschelde
a8cc65f54f
Merge pull request #92495 from matheusmdx/fix-animation-player-error
Fix error after create a new animation in an empty AnimationPlayer
2024-05-29 22:14:03 +02:00
Rémi Verschelde
c42751cae2
Merge pull request #91033 from Hilderin/keep_current_bottom_panel_on_play
Add editor setting to keep bottom panel state on play and stop game
2024-05-29 22:13:45 +02:00
Rémi Verschelde
d489d4aa24
Merge pull request #90570 from timothyqiu/at-last
Rearrange "Open In" menu items of FileSystem dock
2024-05-29 22:13:40 +02:00
kobewi
6479b5673f Remove unused base_hint from EditorPropertyNodePath 2024-05-29 13:18:19 +02:00
bruvzg
c82003c474
Defer ActionMapEditor::_action_edited signal to prevent tree updates when tree is blocked. 2024-05-29 13:13:20 +03:00
Hilderin
76205d4276 Add editor setting to keep bottom panel state on play and stop game 2024-05-29 05:45:17 -04:00
Rémi Verschelde
6c7ca019d7
Merge pull request #92473 from passivestar/animation-disabled-controls
Fix animation player controls being enabled when no player is selected
2024-05-29 11:20:08 +02:00
Rémi Verschelde
21810cad38
Merge pull request #92457 from YeldhamDev/extreme_corner_case_but_still
Set `doc_name` even when categories are hidden in the inspector
2024-05-29 11:19:57 +02:00
Rémi Verschelde
4d255a1b50
Merge pull request #92454 from jsjtxietian/multi-connect
Prevent connect `scroll_to_paragraph` multiple times to `class_desc`
2024-05-29 11:19:54 +02:00
Rémi Verschelde
47fa384b89
Merge pull request #92279 from SaracenOne/scene_reload_crashfix_2
Fix script properties being lost and prevent node reference corruption upon scene reimport
2024-05-29 11:19:48 +02:00
Rémi Verschelde
4d906f46b3
Merge pull request #90660 from adamscott/rename-file-updated-dialog
Improve UX when saving newer files on disk
2024-05-29 11:19:41 +02:00
Rémi Verschelde
bda8e30e80
Merge pull request #83248 from pkowal1982/event_configuration
(Un)Fold event categories by double click
2024-05-29 11:19:35 +02:00
passivestar
2eaeee59d4 Fix animation player controls being enabled when no player is selected 2024-05-29 13:02:31 +04:00
jsjtxietian
b33811d46b Prevent connect scroll_to_paragraph multiple times to class_desc 2024-05-29 12:58:08 +08:00
matheusmdx
18cdb3c0d7 Fix error after create a new animation in an empty AnimationPlayer 2024-05-28 19:14:00 -03:00
Michael Alexsander
1bfcb6ee65
Set doc_name even when categories are hidden in the inspector
Otherwise, tooltips will fail to fetch descriptions.
2024-05-28 15:44:22 -03:00
Saracen
e57312d84e Updated scene hot-reloading:
Preserves exported script variables
Prevents corruption of direct node references.
2024-05-28 09:23:59 -07:00
Rémi Verschelde
1446722d23
Merge pull request #92442 from pkowal1982/sprite_frames
Select text in SpriteFramesEditor spin boxes on focus
2024-05-28 17:48:45 +02:00
Rémi Verschelde
c98fef08bf
Merge pull request #89033 from bruvzg/doc_end_err
[DisplayServer] Add error messages and descriptions to callbacks.
2024-05-28 17:48:42 +02:00
Saracen
846bafd47f Changes the scene reimport function to handle some crash edge cases:
* The reimported instance attempt to preserve ownerless nodes.
* A recursive function call to '_nodes_scene_reimported' so these can be recreated if required.
* Clears instance scene_state on new instantiated replacement nodes.
2024-05-28 08:42:16 -07:00
bruvzg
714effdf07
[DisplayServer] Add error messages and descriptions to callbacks. 2024-05-28 17:36:54 +03:00
Rémi Verschelde
e408c77f57
Merge pull request #92470 from timothyqiu/drop-error
Fix error when dropping image onto the scene dock
2024-05-28 16:13:35 +02:00
Rémi Verschelde
b8f3c5e2ab
Merge pull request #92427 from AThousandShips/bind_go_away
Replace `.bind(...).call_deferred()` with `.call_deferred(...)`
2024-05-28 15:50:01 +02:00
Rémi Verschelde
7d772e713c
Merge pull request #92389 from ckaiser/light-mode-profiler
Fix profiler seek line color in light modes, update on theme change
2024-05-28 15:49:51 +02:00
Rémi Verschelde
8630439111
Merge pull request #92351 from ajreckof/fix-crash-on-dictionary-return-to-default-in-C#
Fix crash on dictionary initialization after return to default in C#.
2024-05-28 15:49:30 +02:00
Rémi Verschelde
f87be863ca
Merge pull request #92322 from groud/implement_custom_data_label
Display custom data name instead of indices in TileData inspector
2024-05-28 15:49:12 +02:00
Rémi Verschelde
25b17bd245
Merge pull request #92188 from SaracenOne/ownerless_node_select
Disallow selection of ownerless nodes
2024-05-28 15:48:54 +02:00
Rémi Verschelde
ca708b5706
Merge pull request #92026 from Repiteo/scons/web-fixes
SCons: Minor fixes/adjustments for web compilation
2024-05-28 15:48:49 +02:00
Rémi Verschelde
b0ba8ac0e2
Merge pull request #91622 from Daylily-Zeleen/daylily-zeleen/limit_icon_size_in_EditorDebuggerTree
Limit icon size in `EditorDebuggerTree`.
2024-05-28 15:48:37 +02:00
Rémi Verschelde
f7b9cdcef2
Merge pull request #90849 from AThousandShips/tile_edit_fix
[Editor] Fix crash when editing TileMap
2024-05-28 15:48:30 +02:00
Rémi Verschelde
f9dc62b265
Merge pull request #89806 from timothyqiu/smart-undo
Disable shader editor's undo/redo menu items when they do nothing
2024-05-28 15:48:20 +02:00
Haoyu Qiu
8a17acf35c Fix error when dropping image onto the scene dock 2024-05-28 18:57:04 +08:00
Saracen
596026a1ee Disallows selection of ownerless nodes:
Attempts to select first node owned by the edited scene instead.
2024-05-28 11:13:40 +01:00
carsonzhu
989056b85e make signal connections dialog method picker respect bind/unbind 2024-05-28 17:10:34 +08:00
Paweł
18243c5b7a Select text in SpriteFramesEditor spin boxes on focus 2024-05-27 21:50:15 +02:00
A Thousand Ships
f9901761be
[Editor] Fix crash when editing TileMap 2024-05-27 15:22:37 +02:00
A Thousand Ships
4ed62665a2
Replace .bind(...).call_deferred() with .call_deferred(...) 2024-05-27 13:29:57 +02:00
kobewi
d927d41f89 Optimize usage of position icon in 2D editor 2024-05-26 20:08:59 +02:00
Christian Kaiser
cd43627078 Fix profiler seek line color in light modes, update on theme change 2024-05-26 14:27:52 -03:00
Gilles Roudière
85eac45513 Display custom data name instead of indices in TileData inspector 2024-05-25 17:21:31 +02:00
ajreckof
f764c5336a Fix crash on dictionary initialization after return to default in C#. 2024-05-25 11:12:10 +02:00
kobewi
b365a63403 Automatically use property count in PropertyListHelper 2024-05-25 10:51:37 +02:00
Daylily-Zeleen
b941459719 Limit icon size in EditorDebuggerTree. 2024-05-25 14:13:13 +08:00
Thaddeus Crews
5d265e9a7e
SCons: Minor fixes/adjustments for web compilation 2024-05-24 12:30:24 -05:00
Rémi Verschelde
bceebdf212
Merge pull request #92275 from ajreckof/fix-bounding-box-glitch-
Fix bounding box glitch
2024-05-23 23:25:57 +02:00
Rémi Verschelde
4e3d77a873
Merge pull request #92231 from Calinou/editor-frametime-panel-prevent-width-flicker
Prevent label width from flickering rapidly in editor frametime panel
2024-05-23 23:25:45 +02:00
Rémi Verschelde
dab6e1514f
Merge pull request #92207 from YeldhamDev/undo_theme_fix
Fix unchecking theme overrides not creating an undo action
2024-05-23 23:25:42 +02:00
Rémi Verschelde
0d52de617f
Merge pull request #92128 from ckaiser/log-rebuild-crash
Fix log rebuilding crashing when there's no messages
2024-05-23 23:25:39 +02:00
Hugo Locurcio
60084dcc2c
Prevent label width from flickering rapidly in editor frametime panel
This also improves the background display by drawing a single background
for all 3 labels. This avoids visible corners between each label.
2024-05-23 20:50:25 +02:00
ajreckof
32e29cc24b Fix bounding box glitch 2024-05-23 11:18:59 +02:00
Rémi Verschelde
b947c53ddc
Merge pull request #92253 from KoBeWi/hash_zeroth
Fix scene hash not updated when scene is empty
2024-05-23 08:59:26 +02:00
Rémi Verschelde
782a0261cb
Merge pull request #92196 from lyuma/gltf_anim_library_import_as_bones
Support Import As Skeleton Bones on glTF and AnimationLibrary import
2024-05-23 08:59:13 +02:00
Michael Alexsander
e1798f4278
Fix unchecking theme overrides not creating an undo action 2024-05-22 21:24:31 -03:00
Hugo Locurcio
57f52092c3
Add Ctrl + R keyboard shortcut to restart particle emission in the editor
Restarting particle animation frequently is often done in the VFX
tweaking process.

This shortcut is available for both GPUParticles and CPUParticles,
in 2D and 3D.
2024-05-22 18:42:04 +02:00
kobewi
d276e8ba0b Fix scene hash not updated when scene is empty 2024-05-22 14:55:39 +02:00
Rémi Verschelde
408228889f
Merge pull request #92223 from KoBeWi/do_people_really_copy_whole_shortcut_definitions_multiple_times_and_unironically_think_this_is_alright_🤔
Remove duplicate shortcut definitions
2024-05-22 09:27:00 +02:00
Rémi Verschelde
4c96dcf6e0
Merge pull request #92179 from aaronp64/image_import_memory
Improve memory usage for image import and `PortableCompressedTexture2D`
2024-05-22 09:26:53 +02:00
Rémi Verschelde
c4a899f924
Merge pull request #91087 from lmyers421/91009-project-settings-window-too-small
Increase width of project settings window.
2024-05-22 09:26:49 +02:00
Rémi Verschelde
381ce56f8a
Merge pull request #90770 from kitbdev/show-version
Display Godot version and last edited timestamp in project manager
2024-05-22 09:26:47 +02:00
Rémi Verschelde
c40c89f94c
Merge pull request #90457 from Chubercik/ruff-formatter
Replace `black` formatter with `ruff`
2024-05-22 09:26:42 +02:00
Rémi Verschelde
e34b97312e
Merge pull request #89630 from jsjtxietian/pick-color
Make "Pick Color"'s result less precise, keep only 3 decimals
2024-05-22 09:26:37 +02:00
lmyers421
dfc9976c6f
Increase width of project settings window
Fixes #91009.
2024-05-22 08:41:39 +02:00
Jakub Marcowski
d9f8ef68df
Update pre-commit hooks configuration to use ruff instead of black 2024-05-21 18:02:29 -05:00
kobewi
e065d7132a Remove duplicate shortcut definitions 2024-05-21 23:28:49 +02:00
Rémi Verschelde
03aa82849d
Merge pull request #92197 from lyuma/better_fbx_defaults
FBX: Change trimming default and use FBX2glTF for compatibility
2024-05-21 23:18:59 +02:00
ajreckof
0e8abb5132 Fix array variable with@export_multiline not registering changes. 2024-05-21 22:57:32 +02:00
Lyuma
c433754d34 fbx: change import option defaults
ufbx has special logic to handle animation/trimming, and most users expect trimming to be on.
For existing projects, we should upgrade files0 to FBX2glTF to preserve node compatibility.
2024-05-21 07:58:36 -07:00
Lyuma
ef486db569 Support Import As Skeleton Bones on glTF and AnimationLibrary import 2024-05-21 03:19:35 -07:00
kobewi
6559bb68e6 Remove some TileMap dependencies from TileMapLayer 2024-05-21 11:32:14 +02:00
Rémi Verschelde
aaa4560729
Merge pull request #92192 from timothyqiu/no-thank-you
Don't translate preview in node batch rename dialog
2024-05-21 11:23:11 +02:00
Rémi Verschelde
9e9fb165bc
Merge pull request #92171 from KoBeWi/gridder_grid
Fix tile polygon grid not covering whole tile
2024-05-21 11:23:02 +02:00
Rémi Verschelde
ee1f898b5d
Merge pull request #92004 from timothyqiu/drop-audio
Create AudioStreamPlayer when dropping AudioStream
2024-05-21 11:22:44 +02:00
Rémi Verschelde
c0eb347946
Merge pull request #91557 from AThousandShips/dotnet_doc_fix
[C#] Unexpose `GodotSharp`
2024-05-21 11:22:40 +02:00
Haoyu Qiu
09feef3572 Don't traslate preview in node batch rename dialog 2024-05-21 15:55:06 +08:00
aaronp64
f81e0fcbf4 Improve memory usage for image import and PortableCompressedTexture2D
When importing images, we store a compressed version of the image to a .ctex file with ResourceImporterTexture::save_to_ctex_format.  When importing many large images at once, this can use a large amount of memory, especially when the .ctex file uses WebP format.

This change is for ResourceImporterTexture::save_to_ctex_format to use the original Image object instead of p_image->get_image_from_mipmap(0), to avoid creating a copy of the full uncompressed image when looping through the base Image and mipmaps.  This reduces the import memory usage for large images by around 10% when using WebP, and 35-40% when Project Settings/Rendering/Textures/Lossless Compression/Force PNG is enabled, may vary depending on the image and number of import threads running.  Same change applied to PortableCompressedTexture2D::create_from_image, which has similar logic.

This helps with #92084, but does not fully resolve the issue on its own, as compressing with WebP on many threads can still use a large amount of memory - this just lowers that amount, and makes it more likely that enabling "Force PNG" will reduce memory usage enough to import the files.
2024-05-20 19:40:39 -04:00
kobewi
e70ca3bf5a Fix tile polygon grid not covering whole tile 2024-05-20 20:16:06 +02:00
Rémi Verschelde
40b4130c93
Merge pull request #92151 from timothyqiu/frame-dup
Fix error when duplicating visual shader node inside a Frame
2024-05-20 17:07:08 +02:00
Rémi Verschelde
b44e9b0ce4
Merge pull request #92136 from Maran23/editor-feature-profile-improvements
Editor Feature Profile: Only rebuild selected TreeItem and all children when a property is edited
2024-05-20 17:07:02 +02:00
Rémi Verschelde
15a888712d
Merge pull request #92116 from RadiantUwU/new_audio_icons
Change the AudioStreamPlayer icons to be clearer.
2024-05-20 17:06:58 +02:00
Rémi Verschelde
fc9a8d1e91
Merge pull request #92108 from KoBeWi/stash_focus_for_later
Disable follow focus while updating inspector
2024-05-20 17:06:48 +02:00
Rémi Verschelde
45f6aaeb10
Merge pull request #91887 from minionprocyk/master
Use Option+Cmd+Left/Right for script editor history navigation on macOS
2024-05-20 17:06:46 +02:00
Rémi Verschelde
b5f8f103aa
Merge pull request #91291 from m4gr3d/fix_unreachable_export_button_android_editor
Fix export dialog sizing issue on small devices
2024-05-20 17:06:34 +02:00
Marius Hanl
7008111a3f Editor Feature Profile: Only rebuild selected TreeItem and all children when a property is edited 2024-05-20 11:32:41 +02:00
Haoyu Qiu
becc98162e Fix error when duplicating visual shader node inside a Frame 2024-05-20 15:56:16 +08:00
Christian Kaiser
6c62392fb0 Fixed log rebuilding crashing when there's no messages 2024-05-19 14:55:43 -03:00
Radiant
b20d7afa53 Change the AudioStreamPlayer icons to be more clear.
Co-authored-by: mieldepoche <mieldepoche@users.noreply.github.com>
2024-05-19 19:32:52 +03:00
Haoyu Qiu
e5c321448e Create AudioStreamPlayer when dropping AudioStream
- Create AudioStreamPlayer if dropped in between nodes in the Scene dock
- Create AudioStreamPlayer2D if dropped into 2D editor
- Create AudioStreamPlayer3D if dropped into 3D editor
2024-05-19 20:26:04 +08:00
Haoyu Qiu
55459dd74e Disable Clear All button when not filtering in Editor Settings 2024-05-19 19:29:48 +08:00
kobewi
ba96affd6c Disable follow focus while updating inspector 2024-05-19 12:44:30 +02:00
Rémi Verschelde
6761923f4f
Merge pull request #90716 from dalexeev/gds-fix-export-annotation-issues
GDScript: Fix some export annotation issues
2024-05-19 11:21:00 +02:00
Fredia Huya-Kouadio
60a4cc2fbe Fix export dialog sizing issue on small devices
Fixes https://github.com/godotengine/godot/issues/73130

- Update the min height from `700` to `500` to match the editor's min height of `600`
- Wrap the sections of the `TabContainer` within a `ScrollContainer`. This prevents the export dialog from trying to resize to fit the tallest of those sections, and make them accessible on small screen devices.
2024-05-18 11:27:50 -07:00
Rémi Verschelde
85463fd5eb
Merge pull request #92042 from bruvzg/fix_edit_popup
Fix Tree and FileSystemList edit popup double events and ESC behavior.
2024-05-17 13:00:38 +02:00
Rémi Verschelde
375e5be340
Merge pull request #92032 from hakro/fix-oneclick-web-always-on
Disable remote debug button when there are no runnable presets
2024-05-17 11:14:15 +02:00
Rémi Verschelde
e1f72c7ca6
Merge pull request #92012 from lyuma/rest_fixer_anim_scale
Skeleton rest fixer: Apply orthonormalized scale to anims
2024-05-17 11:14:11 +02:00
Rémi Verschelde
b201c7fc13
Merge pull request #91874 from Nodragem/editor-scene-drag-and-drop-default
Change default parenting behavior when drag-and-dropping to 2d and 3d editor
2024-05-17 11:13:57 +02:00
Rémi Verschelde
9eff940a64
Merge pull request #91549 from magian1127/4.0ChangeHighlightingStartKey
Resolve conflict between shader uniform tooltips `/**` and general annotation `/**/`.
2024-05-17 11:13:48 +02:00
Rémi Verschelde
096fb3ad7c
Merge pull request #90952 from Gaktan/add_online_doc_link
Add option to open online doc for selected class in script editor
2024-05-17 11:13:43 +02:00
Rémi Verschelde
54b2e5dc78
Merge pull request #90647 from Gaktan/master
Fix decimal and hex ranges not working with image fonts
2024-05-17 11:13:39 +02:00
bruvzg
7d4d63b807
Fix Tree and FileSystemList edit popup double events and ESC behavior. 2024-05-17 10:03:52 +03:00
Hakim
04aaa86039 Disable remote debug button when there are no runnable presets 2024-05-17 00:15:13 +02:00
Lyuma
25ddb3dd7f rest fixer: Apply orthonormalized scale to anims
Adjust the logic for position and scale animation tracks in the Apply Node Transforms case
To match how we adjust bone pose/rest, use basis.orthonormalized() for parentless bones.
2024-05-16 02:45:42 -07:00
Nodragem
8e0f0c6edb change default behaviour when drag-and-drop to 2d and 3d editor
correct formatting with clang-formatter

US English
2024-05-16 10:42:13 +01:00
Rémi Verschelde
d3c3a620eb
Merge pull request #91980 from KoBeWi/speedrunning_project_launch
Skip unnecessary updates to scene groups and scripts
2024-05-15 22:41:55 +02:00
Marius Hanl
af6a4f300e Improve performance of the 'Create New Node' dialog
- Merged 3 for loops into 1 and save Vector allocation
- Use get_instance_base_type() or get_global_name() instead of get_language()->get_global_class_name() for performance considerations
- Use StringName where appropriate
2024-05-15 20:50:13 +02:00
Rémi Verschelde
9f4dbc6456
Merge pull request #91930 from godotengine/revert-90608-editor/enable-plugin-after-adding
Revert "Enable `EditorPlugin` added by modules and GDExtensions"
2024-05-15 20:21:32 +02:00
kobewi
f3b0f7b9e2 Skip unnecessary updates to scene groups and scripts 2024-05-15 16:48:01 +02:00
Rémi Verschelde
805d619382
Merge pull request #91872 from aaronp64/edit_navigation_obstacle
Allow editing `NavigationObstacle2D` shape vertices
2024-05-15 12:09:42 +02:00
RedMser
5e79e02d0f Fix Control resizing wrongly after "change type" in editor 2024-05-14 21:51:35 +02:00
Gaktan
cafa64cd27 Add option to open online doc for selected native class in script editor 2024-05-14 21:44:46 +02:00
Rémi Verschelde
c0d2464d6b
Merge pull request #91939 from AThousandShips/pressed_sname
[Scene] Add `SceneStringNames::pressed`
2024-05-14 18:10:05 +02:00
Rémi Verschelde
380f63489f
Merge pull request #91728 from kitbdev/assimilate-split-container
Use `as_sortable_control()` in SplitContainer
2024-05-14 18:09:51 +02:00
A Thousand Ships
ee79386f7b
[Scene] Add SceneStringNames::pressed 2024-05-14 15:51:28 +02:00
Rémi Verschelde
3c26cddcfa
Merge pull request #91932 from dalexeev/editor-fix-tileset-categories-and-tooltips
Editor: Fix categories and tooltips in `TileSet` editor
2024-05-14 12:07:27 +02:00
Rémi Verschelde
8bced2add5
Merge pull request #91931 from bruvzg/ed_em_bmp
[Editor] Add editor setting to control `disable_embedded_bitmaps` property of the editor fonts.
2024-05-14 12:07:24 +02:00
Rémi Verschelde
2f1aaca167
Merge pull request #91927 from timothyqiu/monitor-names
Make performance monitor names translatable
2024-05-14 12:07:14 +02:00
Rémi Verschelde
147e737328
Merge pull request #91923 from hakro/fix-completion-custom-icon
Show custom icons in autocompletion suggestions
2024-05-14 12:07:10 +02:00
Rémi Verschelde
bdefe53992
Merge pull request #91909 from KoBeWi/have_fun_reviewing_this
Use Core/Scene stringnames consistently
2024-05-14 12:07:03 +02:00
Rémi Verschelde
e58eb6a267
Merge pull request #91905 from groud/fix_patterns_being_needlessly_reorganized
Fix TileMap selection pattern being needlessly reorganized
2024-05-14 12:06:58 +02:00
Magian
8a92615ba0 Resolve conflict between shader uniform tooltips "/**" and general annotation "/**/". 2024-05-14 15:32:47 +08:00
Danil Alexeev
5a5b18c2fc
Editor: Fix categories and tooltips in TileSet editor 2024-05-14 10:23:14 +03:00
bruvzg
151788f7e8
[Editor] Add editor setting to control "disable_embedded_bitmaps" property of the editor fonts. 2024-05-14 09:26:22 +03:00