ArdaE
87573e92dc
GLTF import: Prevent significant numerical errors in keyframe times
...
Keyframe times shift slowly in imported animations, starting with a zero shift
at the beginning and increasing and becoming erratic slowly farther into an
animation, reaching significant levels at times after about 3 minutes into an
animation. This commit fixes the issue by increasing the precision of the
floating point numbers used for keyframe time calculations. Only the most
significant cases that cause fast accumulation of errors over a short animation
duration are fixed. Other cases that would have a marginal benefit from
switching to double precision numbers are left for another PR/further analysis.
Note that this change has no impact on the runtime performance of games/apps
created using Godot. It only affects the GLTF importer.
Fixes #47127 .
(cherry picked from commit 6770a9413b
)
2021-03-19 10:53:37 +01:00
K. S. Ernest (iFire) Lee
f1e8ec942d
Expand bone name possibilities.
...
(cherry picked from commit c203fbfa8c
)
2021-03-17 15:17:02 +01:00
Rémi Verschelde
94a0fc47f7
i18n: Sync translations with Weblate
2021-03-16 11:41:29 +01:00
Haoyu Qiu
966c89657b
Fix AnimationTree editor crash when renaming node
...
(cherry picked from commit eac806547f
)
2021-03-16 11:38:29 +01:00
Dominik 'dreamsComeTrue' Jasiński
ac4cedc596
Reset ruler tool when switching tools with shortcuts
...
Fixes : #37056
(cherry picked from commit a99a671034
)
2021-03-16 11:11:27 +01:00
Rémi Verschelde
48708b8e3d
Merge pull request #46999 from bruvzg/mac_new_wnd
...
[macOS] Fix "New Window" opening copy of current project instead of Project Manager.
2021-03-14 18:21:27 +01:00
bruvzg
7273e0b51b
[macOS] Fix "New Window" opening copy of current project instead of Project Manager.
2021-03-14 17:56:02 +02:00
jmb462
592c0632a1
fix-EditorSpinSlider-grabber-zoomed-position
...
(cherry picked from commit 919b097b9e
)
2021-03-14 12:03:22 +01:00
ray90514
045cf246d4
Fix Node can not be reselected
...
(cherry picked from commit b0c881392a
)
2021-03-14 12:03:22 +01:00
jmb462
4b2b45f72b
Fix crash on closing empty modified scene
...
(cherry picked from commit 49d5ec073f
)
2021-03-14 12:03:17 +01:00
jmb462
b674d934c4
Fix Asset Library URL not updating after been changed in editor settings
...
The changes made in this commit refresh the URL OptionButton when editor settings are modified.
No need to restart any more for the changes to appear in the Asset Library.
Fix #46977
(cherry picked from commit 6525d74623
)
2021-03-14 00:20:54 +01:00
Pop0p
d2a577f7f1
trims_whitespaces_when_creating_folder_windows
...
When creating a Windows folder via a Godot's dialog, the extra spaces are not removed which causes problems with Windows. We now remove leading and trailing whitespace when creating a dir.
(cherry picked from commit c8538153b0
)
2021-03-13 22:25:34 +01:00
jmb462
b73a97b110
Fix hardcoded Maya style navigation pan key modifier
...
ALT key modifier was hardcoded is node_3d_editor_plugin.cpp and didn't take editor settings into account.
Fix #46973
(cherry picked from commit 31077d875e
)
2021-03-13 22:04:55 +01:00
jmb462
7ca7acce7b
Fix always capitalized properties in sub-inspector
...
Fix #46961 :
This commit correctly initialize capitalization in sub-inspectors (like shaders's sub-inspector in the inspector panel) with the editor settings.
(cherry picked from commit 281f5a4999
)
2021-03-13 21:56:31 +01:00
mujpao
f2739b3f52
Update viewport after Polygon2D deselected
...
(cherry picked from commit 030703dd30
)
2021-03-13 21:56:31 +01:00
Rémi Verschelde
1d0929a992
Merge pull request #46920 from nekomatata/soft-body-gizmo-fix-3.2
...
[3.2] Fix pinned vertices in SoftBody editor gizmo
2021-03-13 21:52:51 +01:00
Rémi Verschelde
ba174332af
Merge pull request #46939 from abaire/relaxes_gltf_name_sanitization_3.2
...
Relaxes Node naming constraints in glTF documents to match the Editor.
2021-03-13 14:57:09 +01:00
abaire
b032067e42
Relaxes Node naming constraints in glTF documents to match the Editor.
2021-03-12 08:35:50 -08:00
ray90514
b169a16cb5
Fix Tree focus border disappears when Border Size is set to 0
...
(cherry picked from commit 4c0ab07809
)
2021-03-12 14:15:34 +01:00
mujpao
0def17e80a
Fix crash when trying to export zero files.
...
Fixes crash that happened while exporting if zero files were selected
and adds more error handling to EditorExportPlatform class.
(cherry picked from commit 15656d4182
)
2021-03-12 10:16:32 +01:00
Rafał Mikrut
1435e2c0f9
Fix crashes when manipulating nodes in editor
...
(cherry picked from commit f81ecb498b
)
2021-03-12 10:12:16 +01:00
PouleyKetchoupp
987c3462fe
Fix pinned vertices in SoftBody editor gizmo
...
The wrong vertices could be highlighted/selected due to generating a
debug triangle mesh to gather points, which can modify the order of
vertices.
2021-03-11 18:27:48 -07:00
Ev1lbl0w
bae4b0c952
Fix negative VRAM values
2021-03-09 09:51:17 +00:00
Rémi Verschelde
f1f472439e
i18n: Sync translations with Weblate
2021-03-08 17:40:29 +01:00
nemerle
bd15558768
fix incorrectly connected optimize_dialog signal
...
(cherry picked from commit 7bbacb5ff6
)
2021-03-08 17:37:13 +01:00
gatalskii
f60d27fe16
mod: pop-up usability enhancement for support button
...
Now after choosing support level pop-up doesn't hide after each click
(cherry picked from commit efe05a166e
)
2021-03-08 17:37:13 +01:00
Hugo Locurcio
266282813a
Make the pagination buttons wider in the asset library browser
...
This makes the page number buttons easier to click.
(cherry picked from commit 25c6acb702
)
2021-03-08 17:37:13 +01:00
Pedro J. Estébanez
8be3995efa
Fix crash on cleanup of EditorFileServer
...
(cherry picked from commit 565796518d
)
2021-03-07 22:51:06 +01:00
kobewi
bc56681b0b
Don't save unchanged script upon closing
...
(cherry picked from commit 12f5a5a701
)
2021-03-07 22:51:06 +01:00
Danil Alexeev
72e8697d8c
Merge Category and Property fields in the Project Settings
...
Closes godotengine/godot-proposals#1545 .
2021-03-02 19:39:46 +03:00
Yuri Roubinsky
9517b6e4ce
Check before connecting TileMapEditor::settings_changed
...
(cherry picked from commit 1e7662f972
)
2021-03-02 10:26:14 +01:00
kobewi
56c0b39521
Don't check modified time if file doesn't exist
...
(cherry picked from commit af069109be
)
2021-03-02 10:26:14 +01:00
Rémi Verschelde
9047e760d1
Merge pull request #46451 from hilfazer/click_mesh_instance_crash
...
Prevent crash when clicking Mesh in MeshInstance when is scene root
2021-02-26 20:59:19 +01:00
hilfazer
84a9efcebc
Prevent crash when clicking Mesh in MeshInstance when is scene root
2021-02-26 18:58:05 +01:00
hilfazer
8a7d0d3ce0
Prevent 'Change Type' on nodes from an instanced scene
...
(cherry picked from commit e28cc34db8
)
2021-02-26 15:26:31 +01:00
kobewi
ad204f9b95
Save ProjectSettings on editor restart
...
(cherry picked from commit 59e1c007a7
)
2021-02-26 15:24:19 +01:00
Rémi Verschelde
fb301a0c43
Merge pull request #38351 from avril-gh/remember-scripts-panel-visibility-in-project-metadata
...
preserve scripts panel visibility state between sessions in project metadata
2021-02-25 21:17:02 +01:00
Rémi Verschelde
e919a413fb
Merge pull request #46397 from trollodel/collisionobject3d-debug-shapes-3.2
...
Allow CollisionObject to show collision shape meshes
2021-02-25 16:54:47 +01:00
Rémi Verschelde
dadba2b391
Merge pull request #46392 from YeldhamDev/here_comes_another_rc
...
Backport the Import Defaults Editor
2021-02-25 15:45:34 +01:00
Rémi Verschelde
693a27e9dd
Merge pull request #46336 from m4gr3d/fix_android_resources_inclusion
...
[3.2] Update the filtering logic to properly handle directories with `.gdignore` files
2021-02-25 14:15:19 +01:00
Michael Alexsander
95191b9826
Backport the Import Defaults Editor
2021-02-24 17:50:42 -03:00
trollodel
2da6d82f3b
Allow CollisionObject to show collision shape meshes
...
Add an editor gizmo to CollisionObject.
CollisionShape no longer shows collision shapes directly.
2021-02-24 21:33:40 +01:00
Shatur95
eb98ddf2c7
Add additional plugin path checks (3.2)
...
Need for compatibility after #45316 .
2021-02-24 21:13:13 +02:00
Fredia Huya-Kouadio
48108444f1
Update the filtering logic to properly handle directories with .gdignore
files.
2021-02-22 20:18:56 -08:00
Shatur95
0a874101fd
Handle old relative plugin paths
2021-02-22 22:23:22 +02:00
Rémi Verschelde
d0bc914491
i18n: Sync translations with Weblate
2021-02-22 11:04:13 +01:00
Danil Alexeev
baf4720fd3
Fix "editor/editor_help" shortcut (again)
...
(cherry picked from commit c6435e1d47
)
2021-02-22 10:42:26 +01:00
Hugo Locurcio
f1bbb4fe3f
Increase the page size for array/dictionary editors to 20
...
With smaller arrays/dictionaries, this makes it possible to view all of
an array/dictionary's items on a single page.
Larger values could be used, but make switching between node selections
quite slow, especially on low-end CPUs. They could also be problematic
with complex resource inspectors for arrays/dictionaries that contain
Resources.
This closes https://github.com/godotengine/godot-proposals/issues/2058 .
(cherry picked from commit d97d65b184
)
2021-02-22 10:15:00 +01:00
hilfazer
28fa0f5d13
Prevent selecting hidden nodes in Canvas Item Editor
2021-02-20 20:30:16 +01:00
Borislav Kosharov
96ff829816
fix file dialog filename cleared when selecting favorites
...
(cherry picked from commit 318d5442ec
)
2021-02-19 15:51:19 +01:00