Yuri Sizov
fb6634248c
Merge pull request #75646 from YuriSizov/pm-my-exquisite-selection
...
Improve selection handling in the project manager
2023-04-04 19:54:09 +02:00
Yuri Sizov
ada406f2f5
Merge pull request #75566 from Maran23/4-x-theme-values-affects-editor
...
Fix some theme values affect the editor by setting a default value for them
2023-04-04 17:30:30 +02:00
Yuri Sizov
632423f969
Improve selection handling in the project manager
...
Also clean up some unused methods and method names
2023-04-04 15:27:13 +02:00
Lyuma
bd020b7d92
gltf: Remove obsolete hack to embed gltf textures in advanced import
2023-04-03 20:28:03 -07:00
Rémi Verschelde
ef025711a6
i18n: Sync translations with Weblate
...
(cherry picked from commit 9099ac39cf
)
2023-04-04 00:34:07 +02:00
kobewi
ddc8567022
Scene tab closing refactor
2023-04-03 22:19:07 +02:00
Yuri Sizov
9b500ab53c
Fix premature theme item access in editor tools
2023-04-03 18:01:11 +02:00
Rémi Verschelde
5fbbe3be0b
Merge pull request #75563 from KoBeWi/sanity
...
Improve editor state initialization
2023-04-03 17:09:56 +02:00
Rémi Verschelde
5c5f065325
Merge pull request #74729 from YuriSizov/project-manager-baked-with-love
...
Improve code structure, layout, and theming of the project manager
2023-04-03 17:09:09 +02:00
Rémi Verschelde
aad0759cf6
Merge pull request #72777 from aaronfranke/importer-scene-scale-cleanup
...
Internal renames and cleanup in resource importer scene
2023-04-03 17:07:04 +02:00
kobewi
13c8a9890d
Improve editor state initialization
2023-04-03 16:27:19 +02:00
Rémi Verschelde
41ed64ae1c
Merge pull request #75330 from KoBeWi/make_haste_with_copy_paste
...
Improve file move and copy operations
2023-04-03 16:02:45 +02:00
Rémi Verschelde
4779d4f695
Merge pull request #75298 from KoBeWi/supersonic_filesystem
...
Refresh filesystem when saving remote branch
2023-04-03 16:01:57 +02:00
Rémi Verschelde
632491f6da
Merge pull request #74682 from KoBeWi/snappy_snapping
...
Properly remember snapping options per-project
2023-04-03 16:01:07 +02:00
Rémi Verschelde
e359eaf451
Merge pull request #74319 from jbuck3/script-file-menu
...
Re-enable script editor File menu shortcuts when the menu is hidden
2023-04-03 16:00:17 +02:00
Rémi Verschelde
7f332ec78c
Merge pull request #73249 from KoBeWi/image_for_your_inspector
...
Improve Image preview in the inspector
2023-04-03 15:59:26 +02:00
Yuri Sizov
aeb4489e63
Merge pull request #75070 from jmb462/74802
...
Fix commenting collapsed function issue
2023-04-03 15:38:18 +02:00
Aaron Franke
2deb8fdd45
Internal renames and cleanup in resource importer scene
2023-04-02 20:59:32 -07:00
Rémi Verschelde
726c3c1bed
Merge pull request #75559 from ajreckof/Fix-descriptions-not-showing-for-theme-properties
...
Fix descriptions not showing for theme properties
2023-04-02 17:34:38 +02:00
Rémi Verschelde
11b7f552ca
Merge pull request #75523 from ronyeh/go-to-line
...
Fix off-by-one issue where "Go to Line" dialog shows the incorrect line number (one less than the actual current line).
2023-04-02 17:33:03 +02:00
Rémi Verschelde
3ca684dd9b
Merge pull request #75513 from smix8/navigation_3to4_converter_4.x
...
Add navigation renames to 3to4 converter
2023-04-02 17:32:35 +02:00
Marius Hanl
c0905bc0af
Fix some theme values affect the editor by setting a default value for the theme constant 'h_separation' for MenuBar and Button and a default value for the theme color 'background_color' for TextEdit
2023-04-01 16:28:28 +02:00
ajreckof
14140eb2d9
Fix descriptions not showing for theme properties
2023-04-01 13:56:55 +02:00
Yuri Sizov
ee2cc347c6
Add support for icons in GDExtension classes
...
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2023-03-31 21:39:02 +02:00
Yuri Sizov
1522762dc9
Make icons of scripted and custom classes fit the editor UI
...
Also:
- Add an option to limit the icon size in PopupMenu.
This is similar to how this works in Tree and TreeItem.
- Add the same option to TabBar.
- Add a theme constant for Tree, PopupMenu, Button, and
TabBar to apply this limit on the control level.
Co-authored-by: Daylily-Zeleen <daylily-zeleen@foxmail.com>
2023-03-31 21:39:02 +02:00
Yuri Sizov
9fae65404a
Streamline class icon resolution in the editor
2023-03-31 21:17:59 +02:00
Ron B. Yeh
1e9fd10f68
Fix off-by-one issue where Go to Line dialog shows the incorrect line
...
number (one less than the actual current line).
2023-03-30 23:39:44 -07:00
smix8
0c1e585a1d
Add navigation renames to 3to4 converter
...
Adds navigation renames to 3to4 converter.
2023-03-30 23:50:02 +02:00
Ninni Pipping
83d85048ea
Improve SpriteFrameEditor frame addition ordering
2023-03-30 18:56:46 +02:00
Yuri Sizov
d2c10575bb
Merge pull request #75426 from timothyqiu/auto-translate
...
Turn off auto translate for some editor controls
2023-03-30 18:30:32 +02:00
Yuri Sizov
2b49c38566
Merge pull request #75443 from akien-mga/threen-times-the-charm
...
Project converter: Remove Tween properties/signals from renames
2023-03-30 18:29:04 +02:00
kobewi
2fcfef15da
Don't allow selecting nodes without owner
2023-03-30 16:52:22 +02:00
Rémi Verschelde
0171037e0a
Project converter: Remove Tween properties/signals from renames
...
The Tween class in Godot 3 is fully incompatible with Godot 4, there's no point
doing these renames. It also makes it harder to use Threen, my (currently WIP)
forward-port of the Godot 3 Tween to Godot 4.
2023-03-29 07:32:58 +02:00
Yuri Sizov
23394bebed
Merge pull request #75361 from kleonc/tile-set-atlas-merging-crash-fix
...
`TileSet` editor `AtlasMergingDialog` crash fix
2023-03-28 20:35:39 +02:00
kleonc
c72b09639a
TileSet editor AtlasMergingDialog crash fix
2023-03-28 20:07:26 +02:00
Haoyu Qiu
26553be424
Turn off auto translate for some editor controls
...
* Scene tab
* Animation name list in Animation panel
* Feature profile name list in Editor Feature Profile dialog
* Layout names in editor layout menu
* Subresource list in Inspector dock
* Resource type shown in EditorResourcePicker
* Enum dropdowns in inspectors: We'll eventually allow auto translating
these after implementing a way to opt-out auto translation on a
property-by-property basis and a way to extract enumerators.
2023-03-28 23:18:32 +08:00
Yuri Sizov
f818d2b98f
Merge pull request #75141 from rcorre/rrc/dialog-pos
2023-03-28 10:54:37 +02:00
Haoyu Qiu
5a5fd33e42
More i18n improvements
...
* Make placeholder in editor layout dialog translatable.
* Make messages in scene import settings dialog translatable.
* Mark theme override property categories for translation.
2023-03-27 22:24:01 +08:00
Ryan Roden-Corrent
894ce41180
Apply clamp_to_embedder on parent resize and popup.
...
Fixes #75084 .
The clamp_to_embedder setting was added in 8be16e0704
,
but was not set on any of the in-editor dialogs.
This patch sets `clamp_to_embedder` on editor dialogs so they cannot be dragged out of the frame.
This also modifies `clamp_to_embedder` so a window is clamped to the bounds of an embedder when
it pops up and when the parent is resized.
2023-03-27 07:08:29 -04:00
Yuri Sizov
b57f3c2e67
Merge pull request #75331 from KoBeWi/remove_removed_plugins
...
Remove disabled plugins from active plugins
2023-03-27 11:42:33 +02:00
Yuri Sizov
ee68e4e29a
Merge pull request #75381 from timothyqiu/add-height
...
Make Add Scene button the same height as scene tabs
2023-03-27 11:22:20 +02:00
Haoyu Qiu
8ab11127bc
Make Add Scene button the same height as scene tabs
2023-03-27 16:13:17 +08:00
Haoyu Qiu
66b325b728
Fix height of subresource button in Inspector
2023-03-27 15:12:23 +08:00
RedMser
ed960453b7
Make solving project setting errors easier
...
Show full project setting path in error messages.
Force filtering for advanced settings if filter is not empty.
2023-03-27 08:10:35 +02:00
kobewi
0b8b37c35d
Remove disabled plugins from active plugins
2023-03-25 21:12:47 +01:00
kobewi
4941d5f534
Improve file move and copy operations
2023-03-25 20:58:37 +01:00
Yuri Sizov
5922b2149e
Merge pull request #71868 from YeldhamDev/filediag_invalidate_deferred
...
Defer invalidation on FileDialog nodes
2023-03-25 19:48:42 +01:00
Yuri Sizov
08f79a894f
Merge pull request #75244 from nikitalita/nikitalita-patch-1
...
Fix `ResourceImporterLayeredTexture::import()` `high_quality` type
2023-03-25 19:47:40 +01:00
Jean-Michel Bernard
68ad3338ef
Fix commenting collapsed function issue
2023-03-25 18:43:16 +01:00
nikitalita
68a6505f41
Fix ResourceImporterLayeredTexture::import() high_quality type
2023-03-25 10:27:15 -07:00
Michael Alexsander
fc3d9d9d46
Defer invalidation on FileDialog nodes
2023-03-25 14:24:46 -03:00
kleonc
e8900a2cac
Fix OBJ mesh importer smoothing handling
2023-03-25 11:39:00 +01:00
kobewi
f289e74966
Refresh filesystem when saving remote branch
2023-03-24 19:38:08 +01:00
bruvzg
d72b563250
Add GDScript `to_wchar_buffer` and `get_string_from_wchar` functions.
2023-03-21 15:39:54 +02:00
Yuri Sizov
6e5713cc96
Merge pull request #74982 from kleonc/tile-map-editor-fix-preview-transforms
...
TileMapEditor Fix preview rendering and transform calculations
2023-03-20 16:26:40 +01:00
bruvzg
09465f3fe6
Remove (or make verbose only) various debug prints.
2023-03-20 08:14:18 +02:00
Rémi Verschelde
7752b52aa3
Merge pull request #74684 from clayjohn/export-tex
...
Delete unused compression formats from .import files when exporting
2023-03-19 00:06:04 -07:00
Yuri Sizov
d418def752
Merge pull request #74564 from YuriSizov/inspector-is-simple-you-see-there-is-a-key-and-we-set-it-and-we-propagate-it-and-it-just-works
...
Update property keying state without a full Inspector rebuild
2023-03-16 17:42:31 +01:00
kleonc
224c66324b
TileMapEditor Fix preview rendering and transform calculations
2023-03-16 14:52:38 +01:00
Yuri Sizov
d4c3cc4146
Improve drawing and layout logic of the project list in the Project Manager
2023-03-16 12:36:27 +01:00
Yuri Sizov
aa47427cc7
Improve theming support in the Project Manager
2023-03-16 12:36:26 +01:00
Yuri Sizov
10420f91ba
Reorganize ProjectManager code to be more idiomatic
2023-03-16 12:36:26 +01:00
Yuri Sizov
f2ea991792
Reorganize context menu in FileSystem dock to put more used options higher
2023-03-16 12:26:47 +01:00
Yuri Sizov
ac2e82463c
Merge pull request #74114 from dalexeev/editor-help-enable-context-menu
...
Enable `RichTextLabel` context menu if selection is enabled
2023-03-16 12:19:05 +01:00
Yuri Sizov
1182b6eaaa
Merge pull request #74626 from KoBeWi/one_line_that_changes_the_fate
...
Select the newly duplicated file
2023-03-16 12:17:40 +01:00
Haoyu Qiu
cb0fa0ed7b
Fix error when opening Inspector's dots menu
...
When the inspector is empty, opening the "extra resource options" menu
produces a error:
> Condition "current_res.is_null()" is true.
Opening the mneu with no current resource is valid use case, so
`ERR_FAIL_COND` should not be used.
2023-03-16 15:06:57 +08:00
clayjohn
45a26ff292
Disallow creating a project in the Home or Documents folder
...
Also don't prompt users to delete the project folder for now.
This is a temporary fix to ensure that users do not delete their entire home folders by mistake
2023-03-15 16:38:30 -07:00
Yuri Sizov
0c30a43d13
Merge pull request #63130 from snailrhymer/copy-duplication-fix
...
Stop pasted child nodes being assigned an owner when previously unowned
2023-03-15 16:36:46 +01:00
Yuri Sizov
eada333a0c
Merge pull request #67590 from cooperra/rename-node-undoredo-context-fix
...
Have the Rename Node action use the targeted Node for undo/redo context
2023-03-15 16:32:45 +01:00
Yuri Sizov
f08ffdc372
Merge pull request #74869 from fahadshihab/master
...
Added drag and drop support for shader include files in shader editor
2023-03-15 16:17:50 +01:00
SnailRhymer
526d299623
Stop pasted child nodes being assigned an owner when previously unowned
...
Make copy and pasting match duplication's ownership transferral behavior by storing ownership information in the duplicated nodes on the node clipboard, then checking that information when setting owners for pasted nodes.
2023-03-15 16:12:51 +01:00
Robbie Cooper
907ba0d8f2
Have the Rename Node action use the targeted Node to determine the current undo/redo context
...
Formerly, we deduced context implicitly, but this failed and always used the global context instead of the context of the scene containing the Node.
This happened because the first argument to `add_do_method`, the SceneTreeEditor, is a descendant of Node and outside the current game scene's tree (it's part of the editor instead). This led the code in `EditorUndoRedoManager::get_history_id_for_object` to choose global context.
My solution is to explicitly use the renamed Node to deduce our context because it will always be in the current scene in this situation.
Fixes #67276
2023-03-15 16:03:30 +01:00
Yuri Sizov
3596443de1
Merge pull request #74727 from AThousandShips/project_settings
...
Exposing more project settings for documentation
2023-03-15 15:59:10 +01:00
Yuri Sizov
473116ce85
Merge pull request #74735 from KoBeWi/fav_template_place
...
Remember directory when installing templates file
2023-03-15 15:55:20 +01:00
Yuri Sizov
5dd52f47b1
Merge pull request #74795 from KoBeWi/MassNodeEdit
...
Fix MultiNodeEdit not cleared after deleting nodes
2023-03-15 15:39:13 +01:00
Yuri Sizov
f9125e6cf1
Merge pull request #74660 from and-rad/shader-editor-trim-whitespace
...
Shader editor trims trailing whitespace if set in editor settings
2023-03-15 15:05:39 +01:00
Fahad Shihab
e5601b517e
Added drag and drop support for shaderinclude
...
Dragging and dropping now works for shader include file.
2023-03-15 19:24:35 +05:30
Yuri Sizov
3bd5ba3bfe
Merge pull request #74624 from Maran23/converter-theme-overrides
...
Add conversion for common Theme Overrides
2023-03-15 14:34:53 +01:00
Ninni Pipping
bd30847e59
Exposing more project settings for documentation
2023-03-15 14:25:40 +01:00
Yuri Sizov
f2eb40d8a4
Merge pull request #74858 from dalexeev/fix-input-event-dialog
...
Fix `InputEventConfigurationDialog` modifies original event
2023-03-15 13:32:17 +01:00
Yuri Sizov
2e509f426a
Merge pull request #74904 from YuriSizov/canvas-item-editor-undraw-redraw
...
Make the request to redraw when clearing guides a part of UndoRedo
2023-03-15 13:31:18 +01:00
Yuri Sizov
d44d9b5e36
Merge pull request #74916 from Calinou/editor-add-bbcode-capitalization
...
Add "Bbcode" -> "BBCode" editor capitalization
2023-03-15 13:30:30 +01:00
Rémi Verschelde
e5cc494fbf
i18n: Sync translations with Weblate
...
(cherry picked from commit d23922ffeb
)
2023-03-15 02:31:09 +01:00
Hugo Locurcio
81858da2e6
Add "Bbcode" -> "BBCode" editor capitalization
...
This property name is used in RichTextLabel.
2023-03-14 17:47:36 +01:00
Yuri Sizov
c5977064a3
Make the request to redraw when clearing guides a part of UndoRedo
2023-03-14 13:31:20 +01:00
Danil Alexeev
9fbf24fd5c
Fix `InputEventConfigurationDialog` modifies original event
2023-03-13 15:03:35 +03:00
John Veness
4505049ba6
Corrected capitalisation of macOS
...
In documentation and comments, ignoring thirdparty code
2023-03-12 16:48:52 +00:00
kobewi
fbffd686e2
Fix MultiNodeEdit not cleared after deleting nodes
2023-03-11 22:46:31 +01:00
Rémi Verschelde
da955dbba9
Merge pull request #74734 from YuriSizov/debugger-i-see-your-true-colors
...
Make sure Script Debugger is updated with the editor theme
2023-03-10 22:48:42 +01:00
Yuri Sizov
68c18c0e2b
Improve logic related to editing audio buses (and prevent crashes)
2023-03-10 22:24:18 +01:00
kobewi
551b6965ec
Remember directory when installing templates file
2023-03-10 18:18:30 +01:00
Yuri Sizov
239eb31c90
Make sure Script Debugger is updated with the editor theme
2023-03-10 18:16:00 +01:00
Marius Hanl
a40f559fe2
Add conversion for common Theme Overrides
2023-03-10 16:32:35 +01:00
Rémi Verschelde
d8e242cba8
Merge pull request #74710 from yedpodtrzitko/yed/layers-clear-filter
...
Clear filter in Project Settings when opening Layer Names
2023-03-10 14:07:02 +01:00
Rémi Verschelde
d9da625f85
Merge pull request #74693 from clayjohn/converter-xform
...
Add parentheses around arguments when converting xform
2023-03-10 14:05:51 +01:00
yedpodtrzitko
e13bcf5b84
clear filter input in Project Settings when opening Layers
2023-03-10 20:18:37 +08:00
clayjohn
3ee5fbdb73
Add parentheses around arguments when converting xform
2023-03-09 15:04:04 -08:00
clayjohn
dec86164e1
Delete unused compression formats from .imoprt files when exporting
2023-03-09 13:20:38 -08:00
kobewi
84a5a3d38e
Select the newly duplicated file
2023-03-09 21:31:12 +01:00
Ninni Pipping
3de5332fcb
Document `editor/naming/scene_name_casing` setting
...
Moved definitions of editor related project settings to `editor/register_editor_types.cpp` to make documentation work.
2023-03-09 21:17:49 +01:00