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
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
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
kobewi
45b47d5584
Properly remember snapping options per-project
2023-03-09 21:12:26 +01:00
Andreas Raddau
1566b402c1
Shader editor trims trailing whitespace if set in editor settings
2023-03-09 17:27:23 +01:00
Rémi Verschelde
11ad6a4889
Merge pull request #74637 from timothyqiu/pardon
...
Add missing TTRs in tiles editor and array inspector
2023-03-09 12:20:46 +01:00
Rémi Verschelde
009bdc587c
Merge pull request #74634 from Haydoggo/floating-dock-error-fix
...
Fix errors when closing floating docks
2023-03-09 12:20:22 +01:00
Rémi Verschelde
c69ec6557c
Merge pull request #74615 from YuriSizov/editor-prevent-corruption-when-saving-resources
...
Prevent cache corruption when saving resources in the editor
2023-03-09 12:18:55 +01:00
Haoyu Qiu
bef7f14885
Add missing TTRs in tiles editor and array inspector
2023-03-09 14:38:54 +08:00
Hayden Leete
21578e0bb4
Fix errors when closing floating docks
...
dock->get_index() on line 4463 was not behaving as expected
due to dock having an internal sibling, so now we just get the
index excluding internal nodes.
line 4742 would throw an error if you made multiple docks
floating then redocked the end docks first, but no longer
2023-03-09 17:00:50 +13:00
Yuri Sizov
496bd94c21
Prevent cache corruption when saving resources in the editor
2023-03-08 19:46:55 +01:00
Yuri Sizov
9b9bb418cb
Merge pull request #74591 from Haydoggo/floating-file-dock-crash-fix
...
fix crash when showing file in FileSytem dock
2023-03-08 15:04:00 +01:00
Rémi Verschelde
bed6c1dc49
Merge pull request #74601 from rcorre/fix-local-transform
...
Don't unset local_coords on starting transform.
2023-03-08 14:08:08 +01:00
Ryan Roden-Corrent
d3d1223b97
Don't unset local_coords on starting transform.
...
This fixes a bug introduced by 806425621c
, where dragging the gizmo no longer respected local transforms.
I'm not sure why I called set_local_coords_enabled(false) in _compute_edit. Removing this line seems to fix gizmo-dragging local transforms, without breaking anything else.
I also noticed that confirming a transform leaves the gizmo axis lines on the screen. This is fixed by calling update_transform_gizmo after clearing the edit mode/instant flags, so update_transform_gizmo knows not to render any axes.
2023-03-08 07:13:37 -05:00
Haoyu Qiu
ac7a4f6e87
Fix coloring of the renderer options button
2023-03-08 19:12:43 +08:00
Hayden Leete
c4d1513e15
Fix crash when revealing file in floating FileSystem Dock
...
When selecting "Show in FileSystem" from the context menu of a resource
in the inspector, the engine would crash if the FileSystem dock was
floating because it was trying to focus the FileSystem tab, but floating
docks don't use Tab Containers. This commit makes the FileSystem dock's
window grab focus instead if it's floating.
2023-03-08 22:06:25 +13:00
Rémi Verschelde
bf6b6b18f3
Merge pull request #74551 from YuriSizov/theme-abyss-looks-back-at-you
...
Generate empty textures for theme icons if the SVG module is disabled
2023-03-08 08:57:47 +01:00
Rémi Verschelde
540c8eb095
Merge pull request #74547 from YuriSizov/theme-wait-you-dropped-font-size
...
Add missing handler for removing font sizes in Themes
2023-03-08 08:57:24 +01:00
Rémi Verschelde
0f1480273b
Merge pull request #74524 from rcorre/3to4-renames
...
Add some missing renames to 3to4 tool.
2023-03-08 08:56:37 +01:00
Yuri Sizov
f68eb4a967
Update property keying state without a full Inspector rebuild
2023-03-07 18:41:54 +01:00
Yuri Sizov
64215ad119
Generate empty textures for theme icons if the SVG module is disabled
2023-03-07 15:31:19 +01:00
Yuri Sizov
5a3dbea3ed
Add missing handler for removing font sizes in Themes
2023-03-07 13:42:42 +01:00
Rémi Verschelde
4cdb3e3274
Merge pull request #74401 from stmSi/fix-search-results-cannot-goto-builtin-script-line
...
Fix `Find in Files` Search Results cannot open builtin script
2023-03-07 12:05:08 +01:00
Rémi Verschelde
faf0be741a
Merge pull request #74068 from the-sink/guide_redraw
...
Redraw 2D viewport when guides are cleared
2023-03-07 12:04:48 +01:00
Rémi Verschelde
c3c425c25f
Merge pull request #71156 from EricEzaM/71113-cancelling-node-selection-with-escape-breaks-shape-editing-undo
...
Fix cancelling selection (pressing escape) while gizmo editing making uncommitted changes.
2023-03-07 12:03:42 +01:00
Rémi Verschelde
e404a7a8ee
Merge pull request #59443 from rcorre/blender-xform-local-space
...
Disable local space for blender transforms.
2023-03-07 12:00:17 +01:00
Rémi Verschelde
ff58c41193
Merge pull request #74495 from hakro/fix-signal-pick-reload-builtin-methods
...
Reload built in script to get its methods on signal connection
2023-03-07 10:33:54 +01:00
Rémi Verschelde
281a5c9e35
Merge pull request #74213 from timothyqiu/friendly-pot
...
Improve POT Generation dialog
2023-03-07 10:33:06 +01:00
Rémi Verschelde
73f9fca1e8
Merge pull request #74515 from Maran23/converter-vector2-tangent-orthogonal
...
Add conversion for `Vector2` `tangent()` -> `orthogonal()`
2023-03-07 08:40:31 +01:00
Rémi Verschelde
f36874e79d
Merge pull request #74513 from Maran23/converter-open-simplex-noise
...
Convert `OpenSimplexNoise` to `FastNoiseLite`
2023-03-07 08:40:07 +01:00
Rémi Verschelde
b8126b18dc
Merge pull request #73429 from bruvzg/macos_no_sc
...
[macOS] Re-add support for the _sc_ inside app bundle.
2023-03-07 08:36:51 +01:00
Ryan Roden-Corrent
6b17c2b6e7
Add some missing renames to 3to4 tool.
...
MultiplayerPeerExtension isn't an exact replacement for
NetworkedMultiplayerCustom, but at least it gets you moving in the right direction.
Engine.editor_hint couldn't be fixed by the renames map, because you have to add a `()` at the end.
2023-03-06 18:53:55 -05:00
Marius Hanl
da4ec87673
Add conversion for Vector2 method tangent() -> orthogonal()
...
For C# also: Perpendicular() -> Orthogonal()
2023-03-06 22:41:52 +01:00
Marius Hanl
862296273b
Convert OpenSimplexNoise to FastNoiseLite
...
- class name and octaves property
2023-03-06 22:19:35 +01:00
stmSi
f1f4c5b10b
Fix `Find in Files` Search Results cannot open builtin script
2023-03-07 02:49:14 +06:30
Rémi Verschelde
f17864eab0
Merge pull request #74482 from AThousandShips/property_selector_fix
...
Fix type icons in `PropertySelector`
2023-03-06 16:22:37 +01:00
Ninni Pipping
ca86d53e7f
Fix type icons in `PropertySelector`
...
And adding a check to prevent future issues.
2023-03-06 16:21:25 +01:00
Hakim
5aa8b9ee61
Reload built in script to get its methods on signal connection
2023-03-06 16:20:30 +01:00
Rémi Verschelde
9ae2f30afb
Merge pull request #74432 from rcorre/3to4-tool
...
Move tool declarations to top in 3to4.
2023-03-06 16:14:57 +01:00
Rémi Verschelde
65bf56b2c0
Merge pull request #74355 from tlobig/patch-1
...
remove incorrect rename of get_used_cells_by_id
2023-03-06 16:14:28 +01:00
Ryan Roden-Corrent
9a474fb99f
Move tool declarations to top in 3to4.
...
In godot3, `tool` can follow keywords like `extends` and `class_name`
In godot4, `@tool` must be the first line in the file.
2023-03-06 06:34:56 -05:00
Danil Alexeev
06c7940a5a
Enable `RichTextLabel` context menu if selection is enabled
2023-03-06 13:18:36 +03:00
Rémi Verschelde
6941ffaef3
Merge pull request #74293 from akien-mga/fbx-dialog-disable-importer
...
FBX: Disable importer when canceling FBX2glTF setup
2023-03-06 10:55:21 +01:00
Rémi Verschelde
9fa320852e
Merge pull request #74460 from KoBeWi/undo_mergundo
...
Fix EditorUndoRedoManager's handling of MERGE_ENDS
2023-03-06 10:53:22 +01:00
Rémi Verschelde
2a5fc1fe6c
Merge pull request #74306 from dalexeev/gds-var-colon-style
...
Fix GDScript code style regarding colon
2023-03-06 10:49:11 +01:00