Commit graph

6363 commits

Author SHA1 Message Date
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
Hugo Locurcio 757c2c0e77
Add "Support Godot Development" option to the editor's Help menu
(cherry picked from commit 3eae2f9c6d)
2021-05-17 13:12:38 +02:00
Rémi Verschelde f6c29d1cf5
i18n: Sync translations with Weblate 2021-05-14 13:22:30 +02:00
Yuri Sizov 75cd0dc950
Keep custom editor theme when changing editor settings
(cherry picked from commit 56aedcee17)
2021-05-14 11:05:50 +02:00
Daniel Lungaro 2784697b96
Remove plugin from enabled if there's an error
inform user in warning message

Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>

Refactor remove plugin from enabled

(cherry picked from commit 2bae31a4df)
2021-05-14 11:05:42 +02:00
davidh 025a380d1f
Check for valid DynamicFontData before duplicate
(cherry picked from commit ae2bc66eae)
2021-05-13 23:16:20 +02:00
Yuri Sizov 57f271f03a
Fix EditorPropertyEasing capturing drag events originated outside of it
(cherry picked from commit 31db95b048)
2021-05-13 23:16:06 +02:00
Rémi Verschelde d1ac177f98
TileSet: Fix signal disconnect error in some situation
Fixes second issue in #45938.

Co-authored-by: kleonc <9283098+kleonc@users.noreply.github.com>
(cherry picked from commit 6e920d0c14)
2021-05-10 17:13:58 +02:00
Kyle 5193c3c8eb
Add ctrl+shift+a to instance scene in scenetree dock
Adds another key shortcut to instance a scene in the scentree dock. Complements ctrl+a to add a node.

(cherry picked from commit ea5445655c)
2021-05-09 17:29:53 +02:00
Hugo Locurcio dd20139901
Allow negative contrast values in the editor theme settings
When using a negative contrast value, the base color will be lightened
to create the derivative colors instead of being darkened.

This can lead to better-looking themes, especially for light themes.

(cherry picked from commit e7e2ef0767)
2021-05-09 16:38:18 +02:00
Hugo Locurcio 7eacb604b1
Fix EditorPropertyResource focus outline being drawn behind the preview
(cherry picked from commit 0b47f1be8c)
2021-05-09 16:28:56 +02:00
Hugo Locurcio 3fc59fbcc7
Tweak the setting hint for the custom editor theme setting
The custom editor theme is only visible after restarting the editor.

(cherry picked from commit 027301fec7)
2021-05-09 16:28:04 +02:00
Kyle b622a9e359
Remove extra separator
Removes an extra separator when Scene Tree Editing is disabled. Discussed in #48518

(cherry picked from commit e168baf433)
2021-05-09 16:27:26 +02:00
Kyle e6cbb4d460
Fixed cut/copy/paste visibility
Fixes #48514 by moving the visibility of these buttons into their own if statement that depends on if scene tree editing is allowed. Previously it was under the script editing setting which is unexpected as it works with nodes and the scene tree.

(cherry picked from commit 10d5d4d3cd)
2021-05-09 16:27:10 +02:00
kobewi 476bc5191b
Save project after opening
(cherry picked from commit 76240515d8)
2021-05-05 18:35:55 +02:00
CaptainProton42 b4529c7e8d
Fix 3D scene preview generation.
File system dock previews will now be generated for 3D scenes when no
editor feature profile is set.

(cherry picked from commit 16304aaa3b)
2021-05-05 18:35:54 +02:00
kleonc 44a4df0476
TileMapEditor Modulate autotile previews
(cherry picked from commit 3f1b95cfb1)
2021-05-03 16:41:48 +02:00
kleonc 839f602859
TileMapEditor::_bucket_fill Check autotile coordinates only if autotile is selected
(cherry picked from commit a1b903066e)
2021-05-03 16:41:28 +02:00
bruvzg 87aa694ae5
Duplicate DynamicFontData resources in the editor preview generation thread to avoid race condition.
(cherry picked from commit 301bedd5d4)
2021-04-30 12:12:49 +02:00
Yuri Roubinsky 7a6a150bc2
[3.2] Prevents default values of VSNodeCustom from overriding by a script
(cherry picked from commit ac91e2ca0d)
2021-04-26 11:50:44 +02:00
Hugo Locurcio 1e3166115a
Tweak lightmapper warning message to mention Rosetta emulation on macOS
(cherry picked from commit 47f869b731)
2021-04-22 18:08:30 +02:00
Rémi Verschelde 305c364c13
i18n: Sync translations with Weblate 2021-04-21 09:40:43 +02:00
Rémi Verschelde d91b780cf8
Merge pull request #48058 from lyuma/legacy_names_gltf_3.3
Add an import setting use_legacy_names for 3.3 compatibility.
2021-04-21 08:57:12 +02:00
Lyuma d92a172879 Add an import setting use_legacy_names.
During the development of 3.3, internationalization features were added to allow arbitrary bone and node names.
However, doing so will break all references and existing animation clips for projects upgraded from 3.2
This adds an import setting, enabled by default, but disabled for newly generated .import files which restores the old behavior.
2021-04-20 22:48:52 -07:00
kleonc 7a776d68b6
ProjectSettingsEditor: Make "Type" OptionButton item ids match corresponding Variant::Type enum values.
(cherry picked from commit f8f12d0564)
2021-04-20 20:12:52 +02:00
Rémi Verschelde 2335da5af2
Merge pull request #47742 from mortarroad/3.x-fix-gltf-bone-names-space
[3.3] fix gltf importer regression from b032067e42, causing different BoneAttachment names
2021-04-20 20:12:41 +02:00
Hugo Locurcio 8e54573dfc
Add a tooltip to document performance issues of the Remote scene tree
(cherry picked from commit 6d2f5ee244)
2021-04-14 13:29:59 +02:00
kobewi f72c91e0b1
Expose edit_node() for editor plugins
(cherry picked from commit 72014a7a2e)
2021-04-12 09:24:37 +02:00
Aaron Franke 9b928cbd9e
Show a message when trying to zoom farther than the limit
(cherry picked from commit b8f66d58b6)
2021-04-12 00:23:43 +02:00
Haoyu Qiu 14cea66f23
Fixes Node3D rotation in select mode on macOS
(cherry picked from commit 879a290ed9)
2021-04-12 00:23:43 +02:00
Rémi Verschelde f3476b66c4
Merge pull request #47213 from timothyqiu/project-icon-size-3.x
[3.x] Fix project icon size in Project Manager
2021-04-12 00:08:40 +02:00
Haoyu Qiu bfa5adb84f Fix 3D selection box size for Spatial 2021-04-11 19:01:37 +08:00
Morris Tabor d9e9aec9b9 fix gltf importer regression from b032067e42, causing different BoneAttachment names 2021-04-09 10:25:45 +02:00
Yuri Sizov ea5b3dda93
Expose editor scale to the plugin API
(cherry picked from commit ea31af68ba)
2021-04-06 10:18:20 +02:00
Hugo Locurcio 566213e08d
Add a subtle background to editor scrollbars
This makes it possible to see whether a scrollbar grabber is at the top
or at the bottom of a scrollbar. Also, if a scrollable area is very
large, this makes it easier to notice that the area can be scrolled
(since the grabber is proportionally very small).

The scrollbar grabbers were also made thicker and slightly more opaque
for better visibility, especially in peripheral vision.

(cherry picked from commit b60b6ddba4)
2021-04-06 10:04:51 +02:00
Rémi Verschelde 5cfdb86660
i18n: Sync translations with Weblate 2021-04-05 16:30:04 +02:00
megalobyte 724a18cf72
Use double when setting the default step size
Casting it as a float was causing issues with the progress bar

(cherry picked from commit d0f3817876)
2021-04-05 12:01:18 +02:00
AndreaCatania bd5663e2cf
Fixes editor crash on closing
Fixes editor crash when the gizmo is destroyed and the `SceneTree` is already freed.

(cherry picked from commit 79f55fcded)
2021-03-31 12:47:54 +02:00
Rémi Verschelde cca2637b9b
i18n: Sync translations with Weblate 2021-03-30 00:03:07 +02:00
Rémi Verschelde 015973df04
doc: Make all tutorial links point to 3.3 branch of docs 2021-03-26 10:43:43 +01:00