Commit graph

12288 commits

Author SHA1 Message Date
Yuri Sizov
236cec0633 Add a custom icon for the project.godot file in the EditorFileDialog 2023-02-17 22:42:23 +01:00
Yuri Sizov
0c27edf3d9
Merge pull request #73512 from groud/fix_tilemap_dragging_selection
Fix TileMap dragging selection
2023-02-17 23:41:56 +03:00
Yuri Sizov
28db611f0f
Merge pull request #71792 from EricEzaM/66428-changing-the-play-shortcut-gets-overwritten-every-restart
Fix shortcuts which have feature override defined reverting to default when user changes the shortcut to be same as non-overridden.
2023-02-17 20:31:52 +03:00
Gilles Roudière
88f3d18bc6 Fix TileMap dragging selection 2023-02-17 17:55:03 +01:00
Rémi Verschelde
0f72c77cd4
Merge pull request #70788 from ZangEldor/empty_frame_name_fix
Fixed SpriteFrame allowed entering an empty name
2023-02-17 15:30:44 +01:00
Eldor Zang
62976659b8
Set default name if SpriteFrames name is empty 2023-02-17 15:29:07 +01:00
Rémi Verschelde
7c7ba88d19
Merge pull request #66121 from Zylann/plugin_handles_edit_object_argument
Change `_can_handle` and `_edit` virtual methods to take `Object*`
2023-02-17 15:19:12 +01:00
Yuri Sizov
37cd20b38d
Merge pull request #73220 from Mickeon/renames-more-like-retype
Tweak comments in `renames_map_3_to_4` & reorder
2023-02-17 16:41:12 +03:00
Yuri Sizov
47e030251f
Merge pull request #73381 from KoBeWi/works_better_than_expected_huh
Fold resources when non-main inspector exits tree
2023-02-17 16:25:18 +03:00
Marc Gilleron
d2b4e30058
Change _can_handle and _edit virtual methods to take Object* 2023-02-17 14:10:38 +01:00
Rémi Verschelde
f0c9ed4b55
Merge pull request #71475 from Maran23/4-x-theme-outline-affects-editor
Fix custom theme outline settings affects the editor theme as well
2023-02-17 14:07:22 +01:00
Rémi Verschelde
b2584629c8
Merge pull request #73195 from timothyqiu/weblate-comments
Improvements and fixes based on Weblate comments
2023-02-17 09:55:39 +01:00
Rémi Verschelde
3a7cb4a1e0
Merge pull request #68083 from atngames/master
Added a signal connection to update buses editor on "bus_layout_changed"
2023-02-17 09:50:01 +01:00
Rémi Verschelde
2824774d29
Merge pull request #69801 from nongvantinh/fix-invalid-scene-name
Fixed scene name can be saved as extension only
2023-02-17 00:35:00 +01:00
Rémi Verschelde
2aaa6f6728
Merge pull request #69810 from trollodel/scene_importer_material_crash_fix
Ensure that generated import IDs are unique
2023-02-17 00:34:14 +01:00
Nong Van Tinh
010ddfbc16
Prevent saving files with no name and only an extension.
Fixes #69768.

Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2023-02-17 00:23:15 +01:00
rsjtdrjgfuzkfg
331dd33009 Theme Editor: fix leading styleboxes / main styles
Recent changes in Godot cause the theme editor to become hidden when
editing a child resource. This causes a crash when editing style box
resources marked as "main styles" (= leading styleboxes in the code), as
they try to reference the currently edited theme.

This commit works around the issue by permitting the Theme Editor to
keep a reference to the most recently edited Theme. Furthermore, it adds
an assertion to avoid a similar crash in the future.

Long-term, the workaround should probably be removed when the theme editor
is fixed to remain visible while editing child resources, but I'd keep
the assertion.
2023-02-16 20:41:51 +01:00
Rémi Verschelde
d768be4199
Merge pull request #73447 from KoBeWi/3early5me
Fix wrong font in Event Configuration
2023-02-16 18:34:55 +01:00
Rémi Verschelde
57419dcd88
Merge pull request #73440 from aXu-AP/code-editor-toggle-comment-fix
Fix toggle comment not moving caret
2023-02-16 18:34:51 +01:00
kobewi
be03c79001 Fix wrong font in Event Configuration 2023-02-16 18:19:28 +01:00
aXu-AP
d188068caa Fix toggle comment not moving caret
Fix regression if caret is at the beginning of the line and comment is toggled.
2023-02-16 16:17:24 +02:00
Rémi Verschelde
9f07643c8c
Merge pull request #73361 from akien-mga/your-ints-aint-gonna-increment-themselves
EditorProperty: Fix missing increment buttons for integers
2023-02-16 11:01:52 +01:00
Rémi Verschelde
373cbbe7b2
Merge pull request #73375 from KoBeWi/save_us_all_from_crash
Fix Save All trying to save empty scene paths
2023-02-16 11:01:48 +01:00
Rémi Verschelde
e178042866
Merge pull request #73370 from timothyqiu/tiles-i18n
Add missing i18n in tiles editor
2023-02-16 11:01:43 +01:00
Rémi Verschelde
02ca6689c4
Merge pull request #73369 from SaracenOne/animation_length_read_only
Make animation length control respect read-only rules.
2023-02-16 11:01:38 +01:00
Rémi Verschelde
366b4094ec
Merge pull request #73350 from SaracenOne/node_pointer_revert_fix
Fixes revert button on exported node properties on inherited nodes
2023-02-16 11:00:24 +01:00
kobewi
7aa3651e2b Fold resources when non-main inspector exits tree 2023-02-15 18:20:55 +01:00
kobewi
f579c0a79f Fix Save All trying to save empty scene paths 2023-02-15 17:29:52 +01:00
SaracenOne
919df3ac0e Make animation length control respect read-only rules. 2023-02-15 15:13:50 +00:00
Haoyu Qiu
ccc3bdebb3 Add missing i18n in tiles editor 2023-02-15 23:08:03 +08:00
Rémi Verschelde
840675ee07
EditorProperty: Fix missing increment buttons for integers
Fixes #73192.
2023-02-15 15:26:46 +01:00
SaracenOne
6696a0790c Fixes revert button on exported node properties on inherited nodes. 2023-02-15 11:40:00 +00:00
Rémi Verschelde
088d227812
Merge pull request #73340 from TokageItLab/diamond-audio
Fix display for no-length audio stream keys
2023-02-15 09:51:58 +01:00
Silc Renew
d5e662af73 Fix display for no-length audio stream keys 2023-02-15 17:00:31 +09:00
Haoyu Qiu
0edd46e3fc Fix editor language dropdown incomplete in some locales 2023-02-15 08:59:11 +08:00
RedworkDE
1fb2b662e1 Fix texture_format/bptc export option 2023-02-14 13:51:42 +01:00
Rémi Verschelde
56d78c32f7
Merge pull request #68558 from dzil123/remove_duplicate_wireframe
Node3DEditorViewport - Remove duplicate wireframe check and cleanup
2023-02-14 13:36:52 +01:00
Rémi Verschelde
a1986729a5
Merge pull request #73277 from RandomShaper/fix_pck_errors
Reword misleading error messages in PCK export
2023-02-14 13:35:27 +01:00
Pedro J. Estébanez
cc9c43a631 Reword misleading error messages in PCK export 2023-02-14 12:04:31 +01:00
Rémi Verschelde
76876a7337
Merge pull request #73259 from KoBeWi/spaghetti_map
Fix some TileMap errors and crashes
2023-02-14 11:06:39 +01:00
Rémi Verschelde
bed1ebd527
Merge pull request #72259 from Paulb23/json-editing
Support editing JSON in ScriptEditor
2023-02-14 11:04:17 +01:00
Rémi Verschelde
bfe43f69b8
Merge pull request #67707 from Cykyrios/hide-private-prop-description-in-classdoc
Fix private properties appearing in custom class doc Property Descriptions
2023-02-14 11:03:50 +01:00
kobewi
be6d5bbba6 Fix some TileMap errors and crashes 2023-02-14 00:39:41 +01:00
Rémi Verschelde
853c36ca0b
Merge pull request #61411 from snailrhymer/tilemap-editor-scattering
Fix random placement behaviour in new TileMap Editor
2023-02-13 21:14:40 +01:00
Rémi Verschelde
49fd62c315
Merge pull request #67523 from zaevi/fix_ProjectManager_sorting
Fix sorting issue in Project Manager.
2023-02-13 21:07:58 +01:00
Micky
e20b2f6c80 Tweak comments in renames_map_3_to_4 & reorder
Generally moves comments and some entries around, as well as fixing typos and miscellaneous inconsistencies.

To go more in detail on a few things:
- In comments, separate between class names and notes with "--";
- In comments, replace all "broke" with "-- Breaks"
- Moves `@GlobalScope` constants to its own group in `enum_renames`
- Move `{ "remove", "remove_at" },` underneath the Builtin Types methods.
- Move C#'s `AddNode3dGizmoPlugin` to where it should be, in alphabetical order.
- Give more details to some class renames.
- Comments out `remove` -> `remove_at`
2023-02-13 14:00:30 +01:00
Juan Linietsky
6cd587c8f4 Prevent recursive importing (hack)
Prevents recursion when importing files due to the ill nature of EditorProgress.
The progress dialog will have to be entirely rewritten after 4.0 is out due to it being a constant source of bugs.
In the meantime, this fixes the problem.

Fixes #53871. Supersedes #73159.
2023-02-13 11:54:32 +01:00
Haoyu Qiu
84aee17901 Improvements and fixes based on Weblate comments
* Description of `ui_text_submit` action should be "Submit Text" instead of "Text Submitted".
* Spell out "Animation" instead of using "Anim.".
* Treat "Max" as regular word instead of writing "Max.".
* Use generic "Set %s" for action name instead of a dedicated "Set target_position".
* Add translator comment for:
    * "Inclusive" and "Self" in the profiler.
    * Places where it needs the context about being an editor progress label.
    * "Duplicated Animation Name" since it's refering to the new name of a duplicated animation.
    * Disambiguation of "View Plane Transform", "Paste Selects" and "Display Normal".
* Fix wrong undo action name for renaming an input action.
* Fix missing end quote in a shader error message.
* In class reference:
    * Fix duplicated "if" in the description of `signf()`.
    * Fix mismatched example output in `String.operator %()`.
    * Fix typo in the description of `Decal.texture_emission`.
    * Unify description of `String.match()` and `StringName.match()`.
2023-02-13 15:22:18 +08:00
aXu-AP
bdfb10fb98 Rework code editor multiline operations
Fix bugs if 2 selections were on same line.
Fix bugs when selection ended at new line.
Make carets stay in place after operation and on undo.

Affects: delete lines, move lines, toggle comments, bookmarks and breakpoints.
2023-02-12 20:53:49 +02:00
MmAaXx500
aa9d2149e7 Round 2: Fix mesh library remove selected item menu option
Previous pr: #46435
Fixes: #45969
2023-02-12 11:39:55 +01:00