12511 Commits

Author SHA1 Message Date
Gilles Roudière
3196113206 Fix compilation on gcc13
(cherry picked from commit 41890ff9c3)
2024-04-26 12:07:19 +02:00
Haoyu Qiu
b3c74b4874 Translate "No match" message in FindReplaceBar
(cherry picked from commit ac454ce2a7)
2023-07-20 13:46:46 +02:00
kobewi
627ddd412e Fix filesystem cache split error
(cherry picked from commit 7f18db9d9d)
2023-07-20 13:46:45 +02:00
Haoyu Qiu
22d3fa7292 Fix crash when opening a TileSet with invalid tiles
(cherry picked from commit 8b5d5dc2c4)
2023-07-20 13:44:15 +02:00
kobewi
5a82eadd2d Make sure script cache is created after reimport
(cherry picked from commit 680ed7f612)
2023-07-20 13:44:15 +02:00
Ninni Pipping
131ce4acf6 Fix type check in AnimationTrackKeyEdit for methods
(cherry picked from commit ad769903b0)
2023-07-20 13:38:12 +02:00
Ninni Pipping
c683fa9971 Fix trim when importing WAV
(cherry picked from commit ff127ba57e)
2023-07-20 13:38:12 +02:00
kobewi
9acd4cfdfc Draw materials in tile atlas view
(cherry picked from commit 16ac217aa0)
2023-07-20 13:38:12 +02:00
Lyuma
96eb16a365 Avoid doubly mutating the same Skin in rest fixer
Fixes a regression from #77123 that was caused by removal of ibm_diffs variable.
This replaced idempotent code with code that applied an offset each time.
If the same Skin was visited multiple times, this caused an incorrect result.

(cherry picked from commit 5ae311e577)
2023-07-20 13:09:57 +02:00
Lyuma
a18fe83298 Adjust BoneAttachment3D children/meshes during rest fixer
Also simplifies equivalent matrix math which previously used ibm_diffs to calculate skinned mesh offsets.

(cherry picked from commit 7b71061b3e)
2023-07-20 13:09:57 +02:00
MJacred
d8caf0a726 Replace get_rendering_device() call to prevent crashes on OpenGL.
And make OpenGL video adapter info align with Vulkan.

(cherry picked from commit 2c5e2196bd)
2023-06-29 16:03:22 +02:00
MJacred
101adc3853 Make system information for issue reports single-line
Additionally:
* for custom builds, add commit hash
* added a tooltip to help mitigate potential/understandable confusion whether the single-line output might be a bug
* prettify driver name

(cherry picked from commit ca1ee316b5)
2023-06-29 16:03:22 +02:00
MJacred
78773b74f0 Copy system info to clipboard + Update bug_report.yml
plus minor static-related fixes
* linuxbsd: get_systemd_os_release_info_value() -> static breaks usage if used multiple times
* windows/linuxbsd: get_video_adapter_driver_info() writes info into static
* linuxbsd: get_distribution_name() + get_version() -> write bsd fallback into static variable
* windows/uwp/android: remove unnecessary use of static

(cherry picked from commit 9e5bf3d589)
2023-06-29 16:03:22 +02:00
Rakka Rage
980d95a3ad Fix crash when using tile atlas merge with recreated alt tile
(cherry picked from commit 88d2ed433d)
2023-06-29 16:03:22 +02:00
ajreckof
a3951382cd prevent selecting unselectable EditorProperty with RMB
(cherry picked from commit 088435ab78)
2023-06-29 16:03:22 +02:00
Haoyu Qiu
740d387a09 Fix theme of editor VCS dialogs
These dialogs were added to the plugin itself so theme can't be
propagated.

Also moved initialization of the VCS menu after the creation of
EditorInterface.

(cherry picked from commit b30a332009)
2023-06-29 16:03:22 +02:00
Arman Elgudzhyan
88475cfba9 Use defined key mapping for closing popups and dialogs
As opposed to hardcoding the escape key. Also removed such hardcoding in a few other places as well as a hardcoded enter key in one of the affected input fields.

(cherry picked from commit 8ab2cf3d2d)
2023-06-29 16:03:22 +02:00
Ninni Pipping
fcafb674af Ensure quotes are escaped when converting builtin scripts
(cherry picked from commit ef4422e3e1)
2023-06-29 16:03:22 +02:00
kobewi
e4986ad4aa Don't create bones from empty scene
(cherry picked from commit e5b6b3e1e3)
2023-06-29 16:03:21 +02:00
Rakka Rage
bcb6154a3b Make tile atlas merge dialog use filter nearest mipmaps on both sides. To avoid blurry tiles.
(cherry picked from commit 855d78e458)
2023-06-29 16:03:21 +02:00
Fredia Huya-Kouadio
2900425eeb Adds a scale_gizmo_handles entry to the Touchscreen editor settings
When enabled, this scales the editor icons to improve usability on touchscreen devices.
In addition this commit fixes touch detection for the collision_shape_2d_editor_plugin so it scales with the icons size.

(cherry picked from commit 30824e9818)
2023-06-29 16:03:21 +02:00
kobewi
73650d0fea Add scrolling to overwrite dialog
(cherry picked from commit ab787fe4d2)
2023-06-29 16:03:21 +02:00
Pedro J. Estébanez
2d49b669bb Avoid error spam on first opening of a not yet imported project
(cherry picked from commit ed9dc792df)
2023-06-29 16:03:21 +02:00
Jackson Thomas Browne
3a4551450c Replace magic num in editor_properties_array_dict
Quick update to editor/editor_properties_array_dict max size.
Currently, an array in the EditorInspector won't display a number higher than 1,000,000.
In place of the current magic number this sets the max to be the INT32_MAX.
This eludes the magic number in place and is sufficiently large.

Resolves #77190

(cherry picked from commit 4fb7aac651)
2023-06-29 16:03:21 +02:00
Danil Alexeev
4edc22ee6e Use nearest with mipmaps texture filter in SpriteFrames editor plugin
(cherry picked from commit 2edf1bd76a)
2023-06-29 16:03:20 +02:00
Rémi Verschelde
bce04919f4 Merge pull request #78340 from YuriSizov/4.0-cherrypicks
Cherry-picks for the 4.0 branch (future 4.0.4) - 1st batch
2023-06-20 13:27:35 +02:00
Ninni Pipping
e22a71aa3c [4.0] Fix saving size in CreateDialog
Was fixed for 4.1 in godotengine/godot#75141, but as part of a larger
fix
2023-06-18 14:45:14 +02:00
Hakim
3f98539361 Do not translate node name when assigned to an exported field
(cherry picked from commit f2383b7c19)
2023-06-16 20:55:23 +02:00
Hakim
b650ba820b Hide Animation Frames section when there are no animations and show message
(cherry picked from commit 9cf2d0f058)
2023-06-16 20:55:23 +02:00
Haoyu Qiu
c58bc21dba 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.

(cherry picked from commit 26553be424)
2023-06-16 20:55:23 +02:00
jpcerrone
dcf6f2b29f Fix Input Map key assignments missing after project conversion
Fixes #76336 (Input Map keys missing).
Moves the project.godot config_version stamping from the project manager
to the project converter. Now there's no difference between converting through
the project manager and the CLI tool.
Fixes being prompted to re-convert the project in the project manager after
having done so through the CLI tool.

(cherry picked from commit 0985019c28)
2023-06-16 20:55:23 +02:00
jpcerrone
566ad9813e fix errors while reordering input maps
(cherry picked from commit c6ea376842)
2023-06-16 20:55:23 +02:00
kleonc
a26dd53faf Make SpriteFrames editor toolbar a FlowContainer
(cherry picked from commit d58e832062)
2023-06-16 20:55:23 +02:00
Rémi Verschelde
da3f725206 i18n: Sync translations with Weblate
Last 4.0 sync before switching Weblate to track 4.1 strings.
2023-06-12 14:35:33 +02:00
RedworkDE
ebc3ac0934 Fix crash in AudioStream preview 2023-05-30 20:28:28 +02:00
Rémi Verschelde
acc82a1d05 i18n: Sync translations with Weblate 2023-05-19 08:55:54 +02:00
Yuri Sizov
eced93a3f5 Revert "Improve the UX of ViewportTexture in the editor"
This reverts commit b91b8fce43.
2023-05-18 21:46:40 +02:00
kobewi
7d5d5b7bd1 Fix crash when trying to create bones from Control
(cherry picked from commit 6a120107b3)
2023-05-18 19:22:23 +02:00
Alex Drozd
3e8f0b4b75 Exclude overriden properties from Property Descriptions section
(cherry picked from commit 28f391f301)
2023-05-18 19:22:23 +02:00
Samuele Panzeri
912b3afb96 Fix skeleton 3d editor crash in RC3
Control notifies a theme changed before the editor has entered the tree

(cherry picked from commit a103cd76bb)
2023-05-18 19:22:22 +02:00
Yuri Sizov
fd8f38c240 Revert "Make EditorToaster's handler thread-safe"
This reverts commit 3a5bc7455e.
2023-05-18 19:22:22 +02:00
Rémi Verschelde
9cd9a07c27 i18n: Sync translations with Weblate 2023-05-12 14:14:05 +02:00
Martin Boué
fe126359f0 Fix include text when excluding resources to export
(cherry picked from commit 886e73683d)
2023-05-12 13:56:49 +02:00
Nong Van Tinh
aa23e6fc5e Fixes Node arrays appear as Object arrays in the inspector
(cherry picked from commit 3ebf2264aa)
2023-05-12 13:56:49 +02:00
Ninni Pipping
f93a4287cf Enable shadow warnings and fix raised errors
(cherry picked from commit 71ee65dc57)
2023-05-12 13:56:48 +02:00
Manik Sharma
f6ed43b7d3 Make environment energy adjustable as a float in 3D editor's preview environment
(cherry picked from commit 3ce0ebb242)
2023-05-12 12:31:24 +02:00
Aaron Franke
161f389f93 Rename the Debugger's stack debug section to Stack Trace
(cherry picked from commit 74361b3d50)
2023-05-12 12:31:23 +02:00
Bram Stolk
ce0c61b6e3 Add missing initializations for Node3DEditor.
Do not try to format fields with garbage values in _snap_update()
Initialize grid_enable[] before use.
Initialize previewing_camera before use.
These are all cases found live, with valgrind.
Fixes #76925

(cherry picked from commit 4bc513edbc)
2023-05-12 12:31:23 +02:00
Rindbee
b91b8fce43 Improve the UX of ViewportTexture in the editor
The associated `ViewportTexture`s will update the `viewport_path`
in time when the `Viewport`'s nodepath is changed (caused by renaming
the node names or moving in the SceneTree dock).

If the target `Viewport` is changed by resetting the `viewport_path`,
the `ViewportTexture`s will be re-setup and emit `changed` signal in
time.

(cherry picked from commit af58f1e854)
2023-05-12 12:31:22 +02:00
Samuele Panzeri
07128ccb9d Fix skeleton_3d & physical_bone_3d editor errors
(cherry picked from commit 679ff6da0e)
2023-05-12 12:31:22 +02:00