Rémi Verschelde
c6443e9a4e
Merge pull request #73954 from KoBeWi/BugEx
...
Fix wrong OS regex in project converter
2023-02-26 14:28:17 +01:00
Thomas Lobig
dbb5e377fb
Converter: Rename 3.x Vector2 clamped to limit_length
2023-02-26 13:41:26 +01:00
kobewi
0ba6e36e40
Fix wrong OS regex in project converter
2023-02-26 13:02:57 +01:00
Rémi Verschelde
75c0027e5a
Merge pull request #73887 from nklbdev/master
...
fix typo `set_polygon` in GenericTilePolygonEditor
2023-02-25 01:01:26 +01:00
nklbdev
834a6c5983
fix typo `set_polygon` in GenericTilePolygonEditor
2023-02-25 00:57:34 +05:00
bruvzg
cebfc02d6f
Revert "Reordering emitted signals in PopupMenu" and fix editor selection issue in the safer way.
2023-02-24 21:17:05 +02:00
Rémi Verschelde
eec165e1f5
i18n: Sync translations with Weblate
2023-02-24 14:43:04 +01:00
Rémi Verschelde
cd699fedd8
Merge pull request #73855 from CheesecakeCG/scene-import-animationlibrary-tab-fix
...
Fix settings not appearing for Animation Libraries in the Scene Import window
2023-02-24 14:00:18 +01:00
hare_ware
f3095b7c9d
Fix settings not appearing for Animation Libraries in the Scene Import window
2023-02-23 21:38:50 -05:00
Gordon MacPherson
e395eaf447
Fix editor resource preview deadlocking with --headless mode
2023-02-23 20:57:19 +00:00
Rémi Verschelde
e10a15fc19
Export: Default to exporting S3TC + BPTC for PC platforms
...
This is now required after #72031 when using HDRs.
Could have further cleanup as I think these import options may not be needed
at all anymore, and etc/etc2 support doesn't seem to make much sense.
Likewise, the hardcoded "s3tc" in `get_platform_features` could maybe be
removed. But this is material for after 4.1.
Fixes #73789 .
2023-02-23 18:42:28 +01:00
Rémi Verschelde
13382a88df
Merge pull request #73814 from lyuma/importer_mesh_convex
...
import: Fix uv2 by avoiding premature ImporterMesh::get_mesh()
2023-02-23 13:55:43 +01:00
Rémi Verschelde
a5e944661d
Merge pull request #73775 from SaracenOne/fix_node_ownership_on_scene_update_addition
...
Fix ownership bug on ancestor nodes when scene is reimported
2023-02-23 13:53:47 +01:00
Rémi Verschelde
873c50732d
Merge pull request #73687 from Calinou/editor-convex-import-fix-max-convex-hulls-crash
...
Add a property hint to fix crash when setting max convex hulls below 0
2023-02-23 13:53:24 +01:00
Hugo Locurcio
7899726b98
Add a property hint to fix crash when setting max convex hulls below 0
...
Generating less than 1 convex hull is not valid anyway.
2023-02-23 13:51:12 +01:00
Lyuma
51a4fe1d53
import: Fix uv2 by avoiding premature ImporterMesh::get_mesh()
...
Implements create_convex_shape in ImpoterMesh.
Note: ImporterMeshInstance3D::get_mesh() is safe.
The only dangerous function with side effects is ImpoterMesh::get_mesh()
2023-02-23 11:55:28 +01:00
Lyuma
cb35471cb0
import: Pass the correct defaults to generated collision shapes.
...
Solves incorrect defaults, as well as applied scale failing to apply.
The default values are removed, and they differ from collision shape defaults
These values must match the defaults defined in resource_importer_scene.cpp
2023-02-23 03:03:04 +01:00
Rémi Verschelde
02583ddde8
Merge pull request #72460 from Calinou/project-manager-disable-incompatible-rendering-methods
...
Disable incompatible rendering methods in the project manager
2023-02-22 22:47:07 +01:00
Hugo Locurcio
8ebc5b2875
Disable incompatible rendering methods in the project manager
...
The project manager can now only create projects that use a rendering
method compatible with the current platform. Rendering methods that
are disabled at build-time are also grayed out (only for OpenGL).
While it is possible in theory to create a project using Forward+
on web (thanks to the automatic fallback),
it will look different once edited on a desktop platform.
2023-02-22 19:57:17 +01:00
George Marques
554b55ae74
Load script for addons without cache
...
Since they are postponed sometimes due to transient script errors, it
needs to try again without the cache to compile the script again
instead of using the failed one.
2023-02-22 15:52:36 -03:00
SaracenOne
7bbd7833de
Fix ownership bug on ancestor nodes when scene is reimported.
2023-02-22 18:21:14 +00:00
bruvzg
4593ad23fd
Add some missing EditorFileDialog methods and properties.
2023-02-22 11:55:08 +02:00
Rémi Verschelde
ba5a70ccc9
Merge pull request #73708 from davicr/output_font_setting_fix
...
Add Output font size in Theme regeneration conditions
2023-02-22 10:14:52 +01:00
Rémi Verschelde
0a15f51617
Merge pull request #73741 from dalexeev/fix-sprite-frames-convert
...
Fix `SpriteFrames` data loss on 3-to-4 conversion
2023-02-22 10:13:57 +01:00
Rémi Verschelde
c86f18698e
Merge pull request #73726 from KoBeWi/parenting_problems
...
Fix Polygon3DEditor parenting errors
2023-02-22 10:13:13 +01:00
Rémi Verschelde
e0cba314b9
Merge pull request #73725 from RevoluPowered/implement-automatic-rename-for-import-file-root-node3d
...
Implement automatic rename for Spatial to Node3D in .import files using 3 to 4 conversion utility
2023-02-22 10:13:08 +01:00
Rémi Verschelde
91aed4b9b5
Merge pull request #73694 from m4gr3d/update_touchscreen_editor_settings_main
...
Enable granular control of touchscreen related settings
2023-02-22 10:12:42 +01:00
Danil Alexeev
d49ac0466f
Fix `SpriteFrames` data loss on 3-to-4 conversion
2023-02-22 11:17:10 +03:00
Fredia Huya-Kouadio
445053a62d
Enable granular control of touchscreen related settings
2023-02-22 00:16:39 -08:00
kobewi
f3040be3ba
Fix Polygon3DEditor parenting errors
2023-02-22 03:17:29 +01:00
Gordon MacPherson
8a86d8411e
Implement automatic rename for project
...
- Import must rename nodes/root_type="Spatial" to "Node3D":
- Resolves ownership issues with calling:
scene->replace_by(base_node);
when the original root type was Spatial.
2023-02-22 02:10:55 +00:00
Davi
21fcf657ce
Add Output font size in Theme regeneration conditions
2023-02-21 17:45:20 -03:00
kobewi
5906d6de8e
Fix line folding with multiple carets
2023-02-21 21:28:26 +01:00
Rémi Verschelde
6acc7f03ed
Merge pull request #73595 from KoBeWi/missingno
...
Fix missing directories when exporting from cmd
2023-02-21 11:14:34 +01:00
bruvzg
64ba999eb1
Fix shortcut reset.
2023-02-21 08:08:53 +02:00
Rémi Verschelde
62d4d8bfc6
Merge pull request #73634 from KoBeWi/merged_into_error
...
Fix tile atlas merging crash
2023-02-20 22:46:31 +01:00
bruvzg
b3c64675cc
[macOS] Replace all `Alt/Option+Letter/Number` default shortcuts to avoid conflicts with special character input.
2023-02-20 22:02:47 +02:00
kobewi
56251cf08c
Fix tile atlas merging crash
2023-02-20 18:22:44 +01:00
kobewi
ff42cb0d1e
Fix missing directories when exporting from cmd
2023-02-20 17:39:38 +01:00
Rémi Verschelde
410360ef04
Merge pull request #73592 from pattlebass/conversion-popup-cutoff
...
Increase minsize for some Project Conversion dialogs
2023-02-20 15:41:48 +01:00
Rémi Verschelde
3e0a989bd1
Merge pull request #73237 from KoBeWi/did_you_know_that_the_maximum_branch_name_length_is_250_bytes ❔ _this_means_that_this_branch's_diff_could_probably_fit_into_its_name,_because_it's_so_ridiculously_small._Why_are_you_reading_this_btw ❔
...
Fix corrupt undo after making sub-resources unique
2023-02-20 15:41:00 +01:00
pattlebass
a16dfaa39c
Increase minsize for some Project Conversion dialogs
...
This is more of a workaround than a fix.
The underlying issue is that `ConfirmationDialog` doesn't always update its size
if you change its text. (or it updates it AFTER it had already popped up).
`wrap_controls` doesn't help here.
2023-02-20 15:20:55 +01:00
Rémi Verschelde
6f64349bfe
i18n: Sync translations with Weblate
2023-02-20 12:09:15 +01:00
Rémi Verschelde
4cd2aec2f0
Merge pull request #73604 from KoBeWi/make_read_only_only_if_not_already_read_only_and_make_not_read_only_only_when_is_read_only
...
Apply inspector read_only only when changed
2023-02-20 11:29:05 +01:00
kobewi
860da7bc77
Apply inspector read_only only when changed
2023-02-20 09:55:06 +01:00
kobewi
21b021a705
Remove path hard-coding in editor_build_profile
2023-02-19 20:58:36 +01:00
Rémi Verschelde
f2a2e47009
Merge pull request #71398 from honix/property-revert-release-focus
...
Fix property revert doesn't revert selected fields
2023-02-19 01:02:20 +01:00
Rémi Verschelde
9ccfe68d50
Merge pull request #73526 from YuriSizov/branded-project-llc
...
Add a custom icon for the `project.godot` file in the `EditorFileDialog`
2023-02-19 01:01:08 +01:00
Yuri Sizov
e9c7b8d224
Merge pull request #71850 from WesleyElliott/fix-custom-node-export
2023-02-18 12:40:09 +03:00
Yuri Sizov
ed8554bff6
Merge pull request #73513 from YuriSizov/bone2d-remove-deprecated-methods
...
Remove deprecated methods from Bone2D
2023-02-18 04:32:49 +03:00
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
Yuri Sizov
b2f63bbb43
Remove deprecated methods from Bone2D
...
- also add them to the project convertor
2023-02-17 18:05:52 +01: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
kobewi
0c71c443ef
Fix corrupt undo after making sub-resources unique
2023-02-13 19:18:03 +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