Rémi Verschelde
d759f91f8d
Merge pull request #81101 from 398utubzyt/dotnet/abstract-class-support
...
C#: Add abstract class support
2023-09-25 17:18:05 +02:00
Rémi Verschelde
c57d9f3483
Merge pull request #79104 from DrRevert/focusable_tabs_refactor
...
Allow to focus individual tabs in `TabBar`/`TabContainer`
2023-09-25 17:17:51 +02:00
Rémi Verschelde
1a0e653d7f
Merge pull request #78573 from dalexeev/editor-create-script-class-name
...
Editor: Remove unused Class Name field from Create Script dialog
2023-09-25 17:17:46 +02:00
MewPurPur
fb030beac5
Add white Font and Mesh icons
2023-09-25 17:29:14 +03:00
Dario
057367bf4f
Add FidelityFX Super Resolution 2.2 (FSR 2.2.1) support.
...
Introduces support for FSR2 as a new upscaler option available from the project settings. Also introduces an specific render list for surfaces that require motion and the ability to derive motion vectors from depth buffer and camera motion.
2023-09-25 10:37:47 -03:00
A Thousand Ships
e45927b2f2
Replace radians
range hint with radians_as_degrees
2023-09-25 08:50:19 +02:00
jsjtxietian
a46901278d
Fix can't unset exported typed array element when the type is set to Node
2023-09-25 14:23:05 +08:00
kobewi
9f0b8c0a70
Add call validation to CommandPalette
2023-09-25 00:10:42 +02:00
Rémi Verschelde
37d5e1e0e3
Merge pull request #82210 from YuriSizov/editor-animation-uiux-cleanup
...
Fix theme access and improve UX in AnimationTree editor
2023-09-24 23:36:33 +02:00
Rémi Verschelde
9e011c3950
Merge pull request #82190 from BlueCube3310/aabb-import-shadows-disable
...
Disable bounding box shadows for advanced scene importer
2023-09-24 23:35:22 +02:00
Rémi Verschelde
810021c7cd
Merge pull request #82181 from Chaosus/curve_fix_crash
...
Fix CurveEdit crash when dragging the curve if it is null
2023-09-24 23:34:58 +02:00
Rémi Verschelde
04317bc784
Merge pull request #82171 from timothyqiu/sep-leak
...
Fix leak when calling `remove_control_from_menu_panel`
2023-09-24 23:34:35 +02:00
Rémi Verschelde
6d8b33f5d4
Merge pull request #82131 from jsjtxietian/fix-skeleton-editor-deleted-in-wrong-container
...
Fix skeleton 3d editor's toolbar ui deleted from wrong container
2023-09-24 23:33:42 +02:00
Rémi Verschelde
5b6bf2aa2a
Merge pull request #81675 from Calinou/editor-filter-nodes-type-clarify
...
Clarify filtering by node type and group in the Scene tree dock
2023-09-24 23:32:07 +02:00
Rémi Verschelde
684effb6b4
Merge pull request #81425 from Rubonnek/expose-inspector-methods-master
...
Expose `EditorInspector::get_edited_object` to GDScript
2023-09-24 23:31:43 +02:00
Rémi Verschelde
98747a9040
Merge pull request #78803 from EMBYRDEV/additional-mesh-import-options
...
Add layer, shadow and visibility range options to the Scene importer
2023-09-24 23:30:30 +02:00
Rémi Verschelde
3237b5d08f
Merge pull request #71915 from MewPurPur/grid-ient
...
Overhaul the Gradient Editor
2023-09-24 23:29:35 +02:00
jsjtxietian
2679118d51
Fix skeleton 3d editor's toolbar ui deleted from wrong container
2023-09-24 11:28:46 +08:00
Haoyu Qiu
2d67ce4e60
Fix leak when calling remove_control_from_menu_panel
2023-09-24 08:35:45 +08:00
Yuri Sizov
b351cffddf
Fix theme access and improve UX in AnimationTree editor
2023-09-23 21:47:27 +02:00
Wilson E. Alvarez
c844988e40
Expose EditorInspector::get_edited_object to GDScript
2023-09-23 09:47:07 -04:00
BlueCube3310
1121c7bbaf
Disable bounding box shadows for advanced scene importer
2023-09-23 15:18:57 +02:00
Yuri Rubinsky
6d9e4e9704
Fix CurveEdit crash when dragging the curve if it is null
2023-09-23 11:44:54 +03:00
Hugo Locurcio
edade7db23
Clarify filtering by node type and group in the Scene tree dock
...
This functionality has been available since 4.0, but was difficult
to discover since there was no tooltip and the placeholder didn't
mention it.
2023-09-22 23:09:35 +02:00
DennisManaa
f248420a2b
made visual shader ports expandable by default if there is only one output port and it's of any vector type
...
Co-authored-by: QbieShay <cislaghi.ilaria@gmail.com>
2023-09-22 15:28:59 +02:00
Devel Oper
81311594b5
Horizontal split view for Filesystem Dock
2023-09-22 11:34:33 +02:00
bruvzg
59d5b2d6d3
[Export] Fix TextServer data export.
2023-09-22 11:54:13 +03:00
Danil Alexeev
426ccba70e
GDScript DocGen: Fix and improve appearance of metatypes and values
2023-09-21 20:44:34 +03:00
MewPurPur
7b86969719
Overhaul the Gradient Editor
2023-09-21 15:55:28 +03:00
aXu-AP
4d3dc0e944
Use comma as a decimal separator for SpinBox
...
Add support for comma ',' as a decimal separator for SpinBox. This implementation allows for expressions like `pow(2, 3)` to be used as well. If you use comma to separate decimals, use semicolon `;` to separate function parameters.
Change EditorSpinSlider behavior to match.
2023-09-21 15:45:37 +03:00
Rémi Verschelde
fb4c0cf462
Merge pull request #81971 from KoBeWi/there_is_only_one_scene
...
Don't allow transforming scene tiles
2023-09-21 14:25:08 +02:00
Dawid Marzec
14f6f97f9c
Don't move not selected cursor item dragging files
2023-09-21 13:55:06 +02:00
Rémi Verschelde
70150bac8a
Merge pull request #81978 from MewPurPur/donut-buff
...
Improve the Torus icons
2023-09-20 18:55:28 +02:00
MewPurPur
a40a2ff7d9
Improve the Torus icons
2023-09-20 15:42:37 +03:00
kobewi
07a00cf822
Don't allow transforming scene tiles
2023-09-20 14:10:21 +02:00
Rémi Verschelde
f2baba6ddb
Merge pull request #81927 from KoBeWi/uid﹕﹕∕∕c1ick
...
Make UIDs clickable in the script editor
2023-09-20 13:10:08 +02:00
Rémi Verschelde
b7c524d358
Merge pull request #81925 from groud/fix_tilemap_editor_ctrl_deselect
...
Fix TileMap editor so that pressing control deselects cells correctly
2023-09-20 13:10:04 +02:00
Rémi Verschelde
8728cac736
Merge pull request #81770 from kevincardona/add_quick_open_shortcut
...
Add Ctrl+P as shortcut to quick open files in addition to Shift+Alt+O
2023-09-20 13:09:37 +02:00
jsjtxietian
12299e0f53
Ignore empty lines when commenting/uncommenting code
2023-09-20 18:55:48 +08:00
Yuri Sizov
4bd569be95
Replace flat buttons with flat-styled buttons with a visible pressed state
2023-09-19 22:36:29 +02:00
Yuri Sizov
ef80a2b44c
Allow to specify target folder when installing assets
...
This also changes the layout of the installer window to
better separate configuration of the installation and the
expected output.
2023-09-19 20:10:26 +02:00
kobewi
3f43044a40
Make UIDs clickable in the script editor
2023-09-19 15:59:03 +02:00
Gilles Roudière
83f1e31483
Fix TileMap editor so that pressing control deselects cells correctly
2023-09-19 15:12:03 +02:00
ajreckof
6afadbaa9f
Replace Ctrl in editor shortcuts with Cmd or Ctrl depending on platform
2023-09-19 10:29:07 +02:00
Rémi Verschelde
e3e2528ba7
Merge pull request #81834 from MewPurPur/canvas-texture-icon
...
Add CanvasTexture icon
2023-09-18 10:38:32 +02:00
Rémi Verschelde
01d9162a98
Merge pull request #81813 from MewPurPur/fix-paint-icon
...
Fix grayed out paint icons
2023-09-18 10:38:28 +02:00
Rémi Verschelde
9892bc2478
Merge pull request #81810 from AThousandShips/camera_m
...
Make editor camera speed indicator use `m/s` and `m`
2023-09-18 10:38:24 +02:00
Rémi Verschelde
e09ac40372
Merge pull request #81750 from Mickeon/fix-connection-dock-popup-for-inherited
...
Fix Connection dock's popups always allowing disconnect
2023-09-18 10:38:15 +02:00
Rémi Verschelde
10bac38598
Merge pull request #81625 from Calinou/editor-default-textfile-extensions-xml
...
Add XML files to default TextFile extensions in the editor
2023-09-18 10:38:07 +02:00
MewPurPur
c7094d5172
Add CanvasTexture icon
2023-09-18 11:05:03 +03:00
Rémi Verschelde
3e233e1f24
Fix various typos with codespell
...
Using 2.2.6.dev193+g907e5380.
2023-09-18 09:53:39 +02:00
Silc Lizard (Tokage) Renew
c1c4a09527
Improve retarget auto-mapping algorithm
2023-09-18 12:51:15 +09:00
Arkadiusz Marcin Kołek
18811ac814
Allow to focus individual tabs in TabBar/TabContainer
2023-09-17 18:49:48 +02:00
MewPurPur
c094631ba0
Fix grayed out paint icons
2023-09-17 19:23:28 +03:00
A Thousand Ships
8d7a2c615c
Make editor camera speed indicator use m/s
and m
2023-09-17 18:04:58 +02:00
Rémi Verschelde
4df80b0e62
Merge pull request #81751 from KoBeWi/locition
...
Change icon for position key
2023-09-17 14:48:16 +02:00
Rémi Verschelde
04d2aa61a3
Merge pull request #81641 from MewPurPur/bus-go-brrrr-2
...
Add a `bus_renamed` AudioServer signal
2023-09-17 14:47:29 +02:00
Rémi Verschelde
c63e0aefcf
Merge pull request #79366 from dalexeev/gds-signal-info-and-callback
...
Editor: Improve signal callback generation
2023-09-17 14:45:47 +02:00
kobewi
b01b1de6a7
Change icon for position key
2023-09-17 00:01:26 +02:00
Kevin Cardona
c1146632b2
Add Ctrl/CMD+P as a shortcut to quick open files in addition to Shift+Alt+O
2023-09-16 15:32:37 -06:00
Kevin Cardona
20887d801b
Allow editor commands to have multiple default commands
2023-09-16 15:30:37 -06:00
Micky
4471e7fe92
Fix Connection dock's popups always allowing disconnect
2023-09-16 21:46:00 +02:00
Rémi Verschelde
ba54c34551
Merge pull request #81735 from KoBeWi/360_no_scope
...
Fix rotated 2D movement gizmo
2023-09-16 21:25:17 +02:00
Rémi Verschelde
cdef53df1e
Merge pull request #81705 from AThousandShips/null_check_editor
...
[Editor] Replace `ERR_FAIL_COND` with `ERR_FAIL_NULL` where applicable
2023-09-16 21:24:53 +02:00
Rémi Verschelde
91dee347ad
Merge pull request #81609 from AThousandShips/gizmo_fix
...
Fix local 3D translation editing
2023-09-16 21:24:06 +02:00
Rémi Verschelde
7ca579cb27
Merge pull request #81554 from Calinou/editor-gizmos-add-decal
...
Add 3D editor gizmo icons for Decal, LightmapProbe and FogVolume
2023-09-16 21:22:54 +02:00
kobewi
447a4b6bcf
Fix rotated 2D movement gizmo
2023-09-16 19:26:20 +02:00
A Thousand Ships
dae27d1311
Fix local 3D translation editing
2023-09-16 11:11:54 +02:00
398utubzyt
2df37a237a
C#: Abstract script class support
2023-09-15 20:35:25 -07:00
kobewi
cd0aaab48c
Cleanup some GLOBAL_DEFs
2023-09-15 21:32:23 +02:00
Hugo Locurcio
5345cf3e75
Add 3D editor gizmo icons for Decal, LightmapProbe and FogVolume
...
- Tweak CPUParticles3D editor gizmo icon to use the same outline
color as other gizmo icons. Make the internal icon easier to see
by using an orange color instead of gray.
Co-authored-by: MewPurPur <mew.pur.pur@abv.bg>
2023-09-15 20:44:45 +02:00
A Thousand Ships
75ee58fd04
[Editor] Replace ERR_FAIL_COND
with ERR_FAIL_NULL
where applicable
2023-09-15 20:15:39 +02:00
Yuri Sizov
fa31a9fe2a
Merge pull request #81673 from KoBeWi/only_child
...
Don't paste nodes as sibling of scene root
2023-09-15 19:48:44 +02:00
Yuri Sizov
e5ad3d4d58
Merge pull request #81657 from Jordyfel/editor-thing
...
Fix dependency handling on move or rename in the filesystem dock
2023-09-15 19:48:33 +02:00
Yuri Sizov
2568807941
Merge pull request #81651 from garychia/delete_anim_tracks
...
SceneTreeDock: Remove animation tracks with correct indices
2023-09-15 19:48:30 +02:00
Yuri Sizov
2febb246e1
Merge pull request #81606 from jsjtxietian/hide-animation-tool--correctly-when-switching-scenes
...
Hide animation toolbar above the viewport correctly when switching scenes
2023-09-15 19:48:23 +02:00
Yuri Sizov
df6cd37a69
Merge pull request #81516 from YuriSizov/editor-theme-access-the-success
...
Fix accessing editor theme items throughout the UI
2023-09-15 19:48:14 +02:00
Yuri Sizov
508a758eab
Merge pull request #75303 from Calinou/3d-gizmos-only-selected
...
Show visual-oriented 3D node gizmos only when selected
2023-09-15 19:48:10 +02:00
kobewi
4778b53da9
Don't paste nodes as sibling of scene root
2023-09-15 16:05:17 +02:00
Jordyfel
6245367e6d
Fix dependency handling on move or rename.
2023-09-15 16:46:26 +03:00
Yuri Sizov
8ecc0c4f47
Fix accessing editor theme items throughout the UI
...
This also exposes `EditorInterface::get_editor_theme`.
2023-09-15 14:51:01 +02:00
Yuri Sizov
6e11fcb92c
Warn about accessing non-existing editor theme items
2023-09-15 14:51:01 +02:00
MewPurPur
f29b6e73c2
Add a bus_renamed AudioServer signal
2023-09-15 13:02:03 +03:00
Chia-Hsiang Cheng
3d7facd21c
Remove animation tracks with correct indices
2023-09-15 14:22:09 +08:00
jsjtxietian
0113e6961d
Hide animation tool correctly when switching scenes
2023-09-15 10:48:26 +08:00
Hugo Locurcio
1024ba0c0d
Show visual-oriented 3D node gizmos only when selected
...
Affected nodes:
- DirectionalLight3D, OmniLight3D, SpotLight3D
- ReflectionProbe
- LightmapGI
- VoxelGI
- GPUParticles3D (but not collision/attractor nodes)
- AudioStreamPlayer3D
This reduces visual clutter in the editor with 3D scenes.
2023-09-15 01:59:49 +02:00
Rémi Verschelde
5a74ce9a56
Merge pull request #81557 from YuriSizov/editor-toolbars-divided
...
Improve the looks of 2D/3D viewport contextual toolbars
2023-09-14 23:40:33 +02:00
Yuri Sizov
76062213d1
Merge pull request #80278 from KoBeWi/basically_ViewPanner_but_3D_and_without_panning
...
Add helper for 3D gizmos and unify box
2023-09-14 15:21:23 +02:00
Yuri Sizov
9948f03344
Merge pull request #79920 from KoBeWi/most_sane_path
...
Automatically add path to built-in scripts
2023-09-14 15:21:19 +02:00
Yuri Sizov
aa075e251a
Merge pull request #79161 from MewPurPur/variant-icons
...
Optimize Variant icons and a few others
2023-09-14 15:21:13 +02:00
Hugo Locurcio
e732a9d41b
Add XML files to default TextFile extensions in the editor
...
This allows opening `*.xml` files by double-clicking them in the
FileSystem dock.
2023-09-13 20:44:15 +02:00
Yuri Sizov
f542dffb39
Improve the looks of 2D/3D viewport contextual toolbars
2023-09-13 13:04:55 +02:00
kobewi
015953a3d9
Add helper for 3D gizmos and unify box
2023-09-12 18:08:02 +02:00
MewPurPur
ea51392824
Optimize Variant icons
2023-09-12 14:15:55 +03:00
Haoyu Qiu
b8b0339549
Improve undo action names
...
* Avoid concating strings manually for better i18n and easy l10n
* Use `vformat` when possible
* Use separate strings if the changing part is only a few hardcoded strings
* Don't put a period at the end of the name
2023-09-12 18:53:50 +08:00
Rémi Verschelde
183850ee24
Merge pull request #81563 from jsjtxietian/ignore-method-track-when-draw-line
...
Ignore method track when drawing line between keys
2023-09-12 12:02:26 +02:00
Rémi Verschelde
3e68ed0ca1
Merge pull request #81255 from JohnGabrielUK/primary-line-separate-xy
...
Allow configuring primary line X/Ys separately
2023-09-12 12:01:15 +02:00
Rémi Verschelde
e83fc9c03a
Merge pull request #80503 from OXTyler/80379
...
Fixes Scene corruption when child scene is renamed in another directory
2023-09-12 12:00:49 +02:00
Rémi Verschelde
475860839c
Merge pull request #80144 from KoBeWi/freedom_tiles
...
Add per-tile flipping and transposing
2023-09-12 12:00:20 +02:00
Danil Alexeev
26ce861910
Editor: Remove unused Class Name field from Create Script dialog
2023-09-12 12:49:56 +03:00
John Gabriel
984eb96c43
Allow configuring primary line X/Ys separately
2023-09-12 10:24:07 +01:00
Rémi Verschelde
5c43e4c1ef
Fix various typos with codespell
...
Using 2.2.6.dev180+ge3a2cfbd.
2023-09-12 08:54:18 +02:00
Rémi Verschelde
7471ac2c4d
Merge pull request #81543 from DarioSamo/lightmap-size-crash-fix
...
Propagate error correctly when max texture size for lightmaps is too small.
2023-09-12 08:50:45 +02:00
Rémi Verschelde
006a88c855
Merge pull request #80975 from Calinou/editor-property-auto-refresh-add-property-hint
...
Add a property hint range to Auto Refresh Interval editor setting
2023-09-12 08:49:08 +02:00
jsjtxietian
042e0f7019
Ignore method track when drawing line between keys
2023-09-12 14:43:23 +08:00
Hugo Locurcio
9359e0b91d
Add a property hint range to Auto Refresh Interval editor setting
...
This prevents using zero or negative values, which are invalid and
will cause various issues in the editor (such as the inspector never
updating until the editor is closed and reopened).
2023-09-11 19:46:21 +02:00
Jean-Michel Bernard
67dce301aa
Add code region folding to CodeEdit
2023-09-11 18:36:40 +02:00
Danil Alexeev
4b5daf06ef
Editor: Improve signal callback generation
2023-09-11 18:45:39 +03:00
Rémi Verschelde
3669188607
Merge pull request #81415 from Rindbee/fix-copy-or-paste-root-nodes
...
Fix bugs of copying scene root node or pasting node as scene root
2023-09-11 15:38:31 +02:00
Rémi Verschelde
786dab42fd
Merge pull request #70329 from Daylily-Zeleen/daylily-zeleen/register_internal_class
...
Allow GDExtension to register unexposed classes.
2023-09-11 15:35:31 +02:00
Dario
7dfb854556
Propagate error correctly when max texture size for lightmaps is too small.
...
Add error handling for BAKE_ERROR_LIGHTMAP_TOO_SMALL, which was previously ignored. Fixes #81453 .
2023-09-11 09:14:39 -03:00
kobewi
a9f3154da3
Add per-tile flipping and transposing
2023-09-09 00:56:38 +02:00
Rémi Verschelde
6c1241dcf6
Merge pull request #81380 from AThousandShips/folder_color_add
...
Update folder colors when moving or renaming
2023-09-08 23:15:17 +02:00
Yuri Sizov
639aba4ee1
Improve handling of archives when installing assets
2023-09-08 20:45:49 +02:00
Rémi Verschelde
8c1817f755
i18n: Sync translations with Weblate
...
(cherry picked from commit f2c8eea60e
)
2023-09-08 12:12:18 +02:00
Rémi Verschelde
b39303abae
Merge pull request #81430 from aaronfranke/export-platform-os-name
...
Expose `EditorExportPlatform::get_os_name()`
2023-09-08 11:50:46 +02:00
Rémi Verschelde
72ceaa8d9c
Merge pull request #81226 from AThousandShips/file_diag_fix
...
Fix `EditorFileDialog` clears the file name on changing directory
2023-09-08 11:50:42 +02:00
Rémi Verschelde
119f379a3d
Merge pull request #81075 from SekoiaTree/prevent-leading-dot
...
Prevent creating any type of file with a leading dot
2023-09-08 09:10:59 +02:00
sekoia
bbeb2f98f5
Prevent creating any type of file with a leading dot
...
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
Co-authored-by: gotnospirit <gotnospirit@gmail.com>
2023-09-07 22:13:02 +02:00
Aaron Franke
c1c0ee3faf
Expose EditorExportPlatform::get_os_name()
2023-09-07 12:28:09 -05:00
A Thousand Ships
0f026193b2
Update folder colors when moving or renaming
2023-09-07 17:46:27 +02:00
Hendrik Brucker
5afe78bd9c
Clean up/refactor GraphNode and make it more flexible
...
Split GraphNode into GraphElement and GraphNode, add custom
titlebar, and adjust theming.
2023-09-07 17:29:06 +02:00
Rémi Verschelde
08c578c54c
Merge pull request #81416 from akien-mga/uwp-ce-nest-qu-un-au-revoir
...
UWP: Remove platform port, needs to be redone from scratch for 4.x
2023-09-07 16:33:40 +02:00
Rémi Verschelde
074931a3aa
Merge pull request #81410 from bitsawer/fix_shader_include_reload
...
Fix shader text editor include file reloading
2023-09-07 16:32:54 +02:00
风青山
95248a7d72
Fix bugs of copying scene root node or pasting node as scene root
...
Fix crash when pasting a node as a new scene root.
Fix owner was not set correctly when copying scene root node from unsaved scene.
The owner of the root node is `nullptr`, which was ignored before.
2023-09-07 21:57:37 +08:00
Danil Alexeev
f8a0c487a8
Editor: Rearrange "Main Menu > Help" items
2023-09-07 16:17:28 +03:00
Rémi Verschelde
8de6405288
UWP: Remove platform port, needs to be redone from scratch for 4.x
...
The UWP platform port was never ported to the Godot 4.0+ API,
and it's now accumulating bitrot as it doesn't compile, and thus
we no longer propagate platform changes in it.
So we finally remove to acknowledge this state. There's still some
interest in reviving the UWP port eventually, especially as support
for Direct3D 12 will soon be merged, but when that happens it will
be easiest to redo it from scratch.
2023-09-07 15:01:59 +02:00
Rémi Verschelde
d6d8cb1a17
Merge pull request #81408 from jsjtxietian/fix-property-array-tooltip-shows-wrong-ID-on-later-pages
...
Fix property array tooltip shows wrong ID on later pages
2023-09-07 14:04:58 +02:00
Rémi Verschelde
5c7b0ed299
Merge pull request #81407 from AThousandShips/print_go_away
...
Remove leftover debug print in `FileSystemDock`
2023-09-07 14:04:34 +02:00
Rémi Verschelde
7663c69922
Merge pull request #81388 from YuriSizov/core-gdvirtual-but-less-confused-about-itself
...
Extract `ScriptInstance` into its own file to simplify includes
2023-09-07 13:53:45 +02:00
Rémi Verschelde
8dc15e8429
Merge pull request #81130 from YuriSizov/theme-context-for-global-themes
...
Implement a system to contextualize global themes
2023-09-07 13:51:20 +02:00
Rémi Verschelde
88269cfb86
Merge pull request #80821 from Alex2782/bugfix_go_up_#80750
...
Fix go to parent folder in `EditorFileDialog`
2023-09-07 13:50:55 +02:00
bitsawer
d50595c0e9
Fix shader text editor include file reloading
2023-09-07 14:35:26 +03:00
jsjtxietian
d4ac65bc48
Fix property array tooltip shows wrong ID on later pages
...
Also do some cleanup, use`element_position` instead of
`begin_array_index + i`
2023-09-07 19:04:28 +08:00
A Thousand Ships
1589efb350
Remove leftover debug print in FileSystemDock
2023-09-07 11:19:18 +02:00
Yuri Sizov
d8ff69d53c
Extract ScriptInstance to simplify includes
...
This allows to include script_instance.h directly in the
generated gdvirtual.gen.inc, and remove excessive includes
from the codebase.
This should also allow Resource to use GDVIRTUAL macros,
which wasn't possible previously due to a circular dependency.
2023-09-06 22:54:38 +02:00
Yuri Sizov
fc01e2e7f6
Add a theme preview switcher to the 2D viewport
...
This commit adds a new View submenu that allows switching
between the project theme (default), the editor theme, and
the default theme. The last selected option is stored per
project and is restored when reloading the project.
2023-09-06 19:40:43 +02:00
Yuri Sizov
512182f147
Add theme contexts to various parts of the editor
...
This change defines additional theme contexts for editor
branches to prevent theme leaking between the default
theme, the project theme, and the editor theme.
- Both editor window and EditorNode define an editor-specific
context with the editor theme and the default theme.
- The 2D viewport defines a project-specific context with
the project theme and the default theme.
- Theme editor preview tabs define the default-only context
with the default theme.
Additionally, the default theme context now only includes
the project theme for running projects (both export and debug).
This prevents the project theme from leaking into the editor.
This commit also does a little clean up on the theming aspects
of the EditorNode.
2023-09-06 19:40:43 +02:00
Yuri Sizov
21c5f86d5d
Check the native base of scripts when resolving icons
2023-09-06 15:20:07 +02:00
Yuri Sizov
3a585a6bcf
Merge pull request #81346 from timothyqiu/interning
...
Avoid text substitution in EditorHelp messages
2023-09-06 14:49:37 +02:00
Yuri Sizov
008dc63fe6
Merge pull request #81344 from AThousandShips/folder_color_fix
...
Fix saving editor folder colors
2023-09-06 14:49:34 +02:00
Yuri Sizov
d2cc6897d4
Merge pull request #81299 from jsjtxietian/Reload-built_in-script-after-create-to-allow-drag-nodes-into-it
...
Fix an error when dragging nodes into built-in scripts because script does not inherit Node
2023-09-06 14:49:24 +02:00
Yuri Sizov
102f42a48d
Merge pull request #81121 from jsjtxietian/fix-crash-in-make_mesh_previews
...
Fix a crash when enable a tool plugin uses `make_mesh_previews`
2023-09-06 14:49:09 +02:00
Yuri Sizov
3c63dce3cd
Merge pull request #80573 from KoBeWi/2k_lines_of_changes_created_at_2AM
...
Add EditorStringNames singleton
2023-09-06 14:49:02 +02:00
jsjtxietian
7e3a762369
Fix a crash when enable a plugin uses make_mesh_previews
...
The bug happens when plugin tree is propagating mouse events
(so it is blocked), but EditorProgress's dtor will make main editor
focused and call update_plugins immediately
which will update the blocked tree.
2023-09-06 11:11:07 +08:00
jsjtxietian
d32348c686
Reload built-in script after create to allow dropping nodes into it
2023-09-06 10:03:27 +08:00
Alexander Hartmann
40046bcf60
Fix go to parent folder in EditorFileDialog
2023-09-06 01:01:04 +02:00
Rémi Verschelde
0a7f75ec7b
Merge pull request #80740 from m4gr3d/godot_android_plugin_refactor_main
...
Godot Android plugin re-architecture
2023-09-06 00:09:07 +02:00
Haoyu Qiu
e350034251
Avoid text substitution in EditorHelp messages
2023-09-05 23:15:34 +08:00
A Thousand Ships
1083ce4466
Fix saving editor folder colors
...
Also clears setting if none are assigned
2023-09-05 16:57:15 +02:00