Commit Graph

12501 Commits

Author SHA1 Message Date
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
Manik Sharma 31a37495f3
Make sun energy adjustable as a float in the 3D editor's preview sun
(cherry picked from commit 5e1cb39101)
2023-05-12 12:31:21 +02:00
kobewi 64b15c8ec1
Add info label to TileMap editor
(cherry picked from commit 979b53aba4)
2023-05-12 12:07:14 +02:00
jmb462 f3b608d331
Fix regression with right click on main selection
(cherry picked from commit d59cdb8327)
2023-05-12 12:07:02 +02:00
Jean-Michel Bernard 53df7c18e0
Fix right click in selection of additional caret
(cherry picked from commit 5c06c030f2)
2023-05-12 12:07:02 +02:00
kobewi d56c4f960c
Remove erroneous signal connection
(cherry picked from commit 88ea3dd4db)
2023-05-12 12:07:01 +02:00
kobewi 19b998396c
Close built-in shaders when closing scene
(cherry picked from commit aaf02ec04a)
2023-05-12 12:07:01 +02:00
Tetane e68e2fad25
Use a SubViewport for CanvasItem inspector preview
(cherry picked from commit d3792a2373)
2023-05-12 12:07:00 +02:00
HolonProduction a07ad181ab
Preserve scene unique names when saving branch as scene.
(cherry picked from commit 7814dedc91)
2023-05-12 12:07:00 +02:00
Tefatika e58001bd0d
Command Palette search now also uses original English command names
Both localized and non localized names will be used while filtering

The highest score between the two will be picked when determining
the entries order

(cherry picked from commit 09460cfaaf)
2023-05-12 12:07:00 +02:00
Lyuma 2a0597d0cb
import: Fix Silhouette used incorrect index.
Fixes bind pose mistake from using i (mesh skin index) instead of bone_idx (skeleton bone index).
Fixes #76448

(cherry picked from commit d33a734ac5)
2023-05-12 12:07:00 +02:00