Commit graph

6402 commits

Author SHA1 Message Date
Haoyu Qiu dff81b25cd
Fix TextEditor not checking Standard highlighter in non-English UI
When using non-English UI, there were `Index p_idx = -1 is out of bounds (items.size() = 2).`
errors on on startup if any text file is open in the script editor. And clicking the Standard
highlighter option does not check that menu item.

This is caused by `TextEditor` searching for that menu item with unlocalized text. As already
did in `ScriptTextEditor`, this PR stores and searches for menu item with `TTR`ed text.

(cherry picked from commit a66339a549)
2021-08-18 23:27:43 +02:00
Sushi 8b07d65701
Fix: Selection Only in Find/Replace now preserves selection
(cherry picked from commit a4d5664858)
2021-08-18 23:25:31 +02:00
kobewi 1f87904366
Don't save project on startup in headless or no-window mode
(cherry picked from commit ea2489ce93)
2021-08-13 12:17:15 +02:00
Yuri Roubinsky a89346e227
Fix incorrect position of the created VisualShader nodes on zoomed graph
(cherry picked from commit 8249ae8085)
2021-08-13 10:39:21 +02:00
Michael Alexsander f20a2d3da7
Make property description in the animation editor actually show it
(cherry picked from commit bea868f750)
2021-08-13 10:36:58 +02:00
kleonc 5acfb5127c
TileMap Fix trying to get data for tile not existing in attached TileSet
(cherry picked from commit 2eeed26d67)
2021-08-13 10:36:57 +02:00
Rémi Verschelde dec840452d
i18n: Sync translations with Weblate
Last POT sync with the `3.3` branch, we'll now switch Weblate to track
`3.x` to prepare for the 3.4 release.
2021-08-03 10:32:32 +02:00
Rémi Verschelde 16fd1c421e
doc: Use self-closing tags for return and argument
For the time being we don't support writing a description for those, preferring
having all details in the method's description.

Using self-closing tags saves half the lines, and prevents contributors from
thinking that they should write the argument or return documentation there.

(cherry picked from commit 7adf4cc9b5)
2021-08-03 10:32:31 +02:00
Yuri Roubinsky 73f40a1efc
Prevent warning spam to console when dragging a CanvasItem in container
(cherry picked from commit bb5729fd35)
2021-08-03 09:28:31 +02:00
Haoyu Qiu 321a4bfcd8
Make action names translatable
(cherry picked from commit a3b221e99f)
2021-08-03 09:27:12 +02:00
Nicholas Huelin f84de49718
Make "Find in Files" searches ignore directories with .gdignore files in them
This pull request fixes an issue where searches using the "Find in Files" function would include folders with `.gdignore` files in them. The editor is supposed to ignore directories with these files in them altogether.

(cherry picked from commit 658b152bd8)
2021-08-03 09:25:10 +02:00
Rémi Verschelde c406c8512f
i18n: Sync translations with Weblate 2021-07-26 16:23:02 +02:00
Hugo Locurcio 9f68eb2e4c
Clarify the purpose of the default asset library URLs in the editor
`localhost` was removed as it won't work out of the box. It can be added
by the user if they're working on the asset library itself.

This won't affect existing installations due to how the editor settings
are stored, but existing installations will keep working fine.

(cherry picked from commit eac8ba6ce8)
2021-07-24 01:12:52 +02:00
Hugo Locurcio 1f649e9825
Backport RootMotionView icon from the master branch
This makes RootMotionView display with a proper icon in the editor.

(cherry picked from commit a528931c5e)
2021-07-24 01:11:44 +02:00
foxydevloper 57189c114e
Fix hidden seperators when horizontal frames is 1
(cherry picked from commit 429382b7e5)
2021-07-24 01:10:40 +02:00
Atlinx ff943359dc
Add scaling to the curve editor's handles
This fixes issue #50617

(cherry picked from commit ac5f3a6733)
2021-07-20 12:01:44 +02:00
Aaron Franke 752c1451db
[3.x] Allow reading shaders from .gdshader files
(cherry picked from commit 7dc2edc430)
2021-07-20 12:00:16 +02:00
Nathan Franke 1856be7a0e
Do not update scene tree dock when node edited outside of it
(cherry picked from commit 022a061571)
2021-07-20 11:58:28 +02:00
Питанов Валера 051c5a7ed9
fix lightmap cpu crashes
(cherry picked from commit 47b9afa3e9)
2021-07-15 11:52:53 +02:00
Rémi Verschelde 1c840a31a5
i18n: Sync translations with Weblate 2021-07-13 12:32:44 +02:00
Haoyu Qiu 6250a33c61
Merge similar editor strings
(cherry picked from commit 4383f8a790)
2021-07-13 12:19:36 +02:00
Rémi Verschelde 30bb133e01
i18n: Sync translations with Weblate 2021-06-29 14:56:36 +02:00
Rémi Verschelde 1a6c44aaf3
SpatialEditor: Revert tooltip rephrasing for Game Camera Override
Partial undo of #49541, keeping the swap fix but also preserving the
existing strings to avoid breaking translations in 3.3.
2021-06-29 14:55:44 +02:00
kleonc 5c36619bdd
AnimationMultiTrackKeyEdit Allow editing easing if it's possible for all edited tracks
(cherry picked from commit 1d890e16f7)
2021-06-29 13:50:03 +02:00
K. S. Ernest (iFire) Lee 64cfd5cbaa
ERR_FAIL_NULL check file access
Null in ResourceImporterTexture::_save_stex

(cherry picked from commit b74bc42a43)
2021-06-17 13:25:29 +02:00
Paweł Fertyk f36a3c67e3
Remove trailing slash from recent dir if needed
(cherry picked from commit 709e71ae9c)
2021-06-17 13:24:59 +02:00
Haoyu Qiu 461e79bd18
Validate parameters when adding plugins
(cherry picked from commit 1a9e3edd30)
2021-06-17 13:21:42 +02:00
Hugo Locurcio a40b59d270
Fix game camera override tooltips being swapped
Previously, the wrong tooltip was shown.

This also tweaks the tooltips' texts to be clearer and remove
references to "game" (since Godot is used for more than just games).

(cherry picked from commit d1c5dd5b68)
2021-06-17 13:21:28 +02:00
Andrii Doroshenko (Xrayez) 6f63b0c9ae
Separate version hash from version number in editor and project manager
When copy-pasting the version from About dialog to bug reports at GitHub,
this makes the version hash linkable to commits at GitHub.

(cherry picked from commit 293550f56a)
2021-06-17 13:19:41 +02:00
Hugo Locurcio 915865b279
Fix editor constantly redrawing when freelook is active with still camera
The editor only needs to redraw when the camera is moving.

This helps preserver battery life on laptops when using freelook,
especially with the toggle mode (Shift + F).

(cherry picked from commit 21807f8d88)
2021-06-17 13:19:05 +02:00
Rémi Verschelde a812779cc5
i18n: Sync translations with Weblate 2021-06-16 13:47:49 +02:00
Hugo Locurcio 018ca6b1c4
Make it possible to copy the Godot version identifier by clicking it
This closes #24317.

(cherry picked from commit 1ceb603de8)
2021-06-08 10:48:29 +02:00
Marcel Admiraal 3c55a9c210
Fix game controllers ignoring the last listed button
(cherry picked from commit 18825ad4ff)
2021-06-07 22:40:42 +02:00
bruvzg 05b72c2e9b
[3.x] Fix visibility issue with zoom label
(cherry picked from commit 36ca3fea96)
2021-06-03 12:42:45 +02:00
Jonas Bernemann 5b3f94e807
Fix overflow in export template manager
Fixes the possible overflow of buttons after downloading the
current export template with using custom fonts or custom font size.

Fix #48826

(cherry picked from commit 4659b2ad4a)
2021-06-03 12:42:08 +02:00
kleonc 7674015231
TextureRegionEditor Fix not updating on editing region with autoslice cached
(cherry picked from commit 019c99e538)
2021-06-03 12:41:10 +02:00
Rémi Verschelde 0446cf487f
i18n: Sync translations with Weblate 2021-06-02 11:09:24 +02:00
Lyuma b9e8fa4504
gltf: Fix mesh nodes which are also bones for 3.x
Fix issue when two skeletons end up directly parented.
Prevent animating TRS for skinned Mesh node.
Fix animating weights on meshes with targets but no weights.

(cherry picked from commit a330b6829f)
2021-06-01 12:57:43 +02:00
Marcel Admiraal 3574c87888
Update EditorResourcePreview queue_*() documentation
(cherry picked from commit 72446bab1b)
2021-05-31 11:34:13 +02:00
Haoyu Qiu 738d0b7f63
Fix editor crash when exporting profiler data
(cherry picked from commit be79bdc8ab)
2021-05-22 19:11:57 +02:00
Lyuma d36ab91461
Fix incorrect skin deduplication when using named binds
(cherry picked from commit 60f620411e)
2021-05-22 19:10:32 +02:00
Lyuma 997f8f5d29
gltf: Fail gracefully when a mesh instance fails.
(cherry picked from commit 5a9eee6b1a)
2021-05-22 19:10:15 +02:00
K. S. Ernest (iFire) Lee 2ec691e274
When one invalid image fails, it should only fail that single image.
Move to a more graceful degradation 3d asset import model.

(cherry picked from commit a81f4dd5a7)
2021-05-22 19:09:53 +02:00
jfons 01ce818c7b
Fix swapped front/rear directions in viewport rotation control.
(cherry picked from commit e70e33ddcf)
2021-05-22 19:09:32 +02:00
Hugo Locurcio 274e251d30
Print a warning when importing a repeating NPOT texture in a GLES2 project
Repeating NPOT textures are not guaranteed to be displayed correctly
in GLES2, since the specification does not mandate support for it.

The warning is also displayed in GLES3 projects that are configured
to allow falling back to GLES2.

(cherry picked from commit 20f79287cd)
2021-05-22 19:08:07 +02:00
Rémi Verschelde 337ef03958
Fix typos with codespell
Using codespell 2.0.0.

Method:
```
$ cat > ../godot-word-whitelist.txt << EOF
ang
curvelinear
dof
doubleclick
fave
findn
GIRD
leapyear
lod
merchantibility
nd
numer
ois
ony
que
seeked
synching
te
uint
unselect
webp
EOF

$ codespell -w -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po"
$ git diff // undo unwanted changes
```

(cherry picked from commit eb78f80f03)
2021-05-20 14:36:39 +02:00
Hugo Locurcio 7339de9dbb
Increase the TileSet editor's snap step to 1024
This also tweaks the autotile bitmaks mode property hint string.

(cherry picked from commit a9df687db6)
2021-05-19 15:28:13 +02:00
Rémi Verschelde bcedd09742
i18n: Sync translations with Weblate 2021-05-18 12:09:09 +02:00
Rémi Verschelde c3732f0da8
Revert "Tweak lightmapper warning message to mention Rosetta emulation on macOS"
This reverts commit 1e3166115a.

This is no longer needed after #48455.
2021-05-18 11:58:45 +02:00
kleonc 628265be44
Fix crash after disabling plugin using set_force_draw_over_forwarding_enabled()
(cherry picked from commit 5a8314016a)
2021-05-17 13:13:50 +02:00