dankan1890
657f12edcc
TextureRegion: fixed Autoslice not created/updated properly.
...
(cherry picked from commit 671e97d254
)
2020-04-06 18:17:19 +02:00
Michael Alexsander
9dcf9da205
Fix changing the import type of multiple files at once
...
(cherry picked from commit 6d6af0ea06
)
2020-04-06 18:16:58 +02:00
Rémi Verschelde
acd14e645a
Remove unused classes and stray headers
...
Found by reviewing headers with 1 or less matching includes:
```
find -name thirdparty -prune -o -name "*.h" -exec basename {} \; | sort -u > headers
for header in $(cat headers); do echo "$header: "; rg -l "#include \"(.*/)?$header\"" | wc -l; done > list-includes
```
(cherry picked from commit 9d24541597
)
2020-03-25 11:38:54 +01:00
Ivan.Shakhov
d06ae167bf
for third-party tools - editor_path is stored in project's editor settings
...
(cherry picked from commit 2f151068b5
)
2020-03-25 11:38:54 +01:00
simpuid
a10a21f407
Fixes transform gizmo position when node has default transform
...
Changes made:
* Added dirty bit for SpatialEditorSelectedItem's last_xform
* SpatialEditorViewport checks that dirt bit too before skipping the selection
(cherry picked from commit 19825436d4
)
2020-03-25 11:38:53 +01:00
johan
31fb54742b
Editor 2D: Change pixel alignment strategy, fix jittering in high zoom
...
Alignment of scene pixels on screen pixel ensure a crisp rendering of small features (such as text). Unfortunately, alignment of top left pixel on screen adds a lot of jittering when zooming at high zoom factor.
This change allow to snap the top left scene pixel on the closest screen pixel (not only the top-left most), and we do so only when the scale factor is an integer.
(cherry picked from commit 1c02906a6f
)
2020-03-25 11:38:53 +01:00
alvaroHernandez
bce2a3a2d2
prevent joypad button input dropdown going out of dialog
...
(cherry picked from commit e47d5691e4
)
2020-03-25 11:38:53 +01:00
JFonS
4d85f70015
Update all editor viewports after settings changes
...
(cherry picked from commit 55b478afd9
)
2020-03-25 11:30:49 +01:00
JFonS
784ff23adc
Fix rotation gizmo for empty Spatials
...
The AABB for an empty Spatial has 0 size, since the stored and
compared Transform was scaled by the AABB size, it would completely
destroy the rotation information. If there is no rotation
information, the gizmo doesn't update when the rotation changes.
(cherry picked from commit a0af3094b4
)
2020-03-25 11:30:49 +01:00
Haoyu Qiu
d25949dd49
Keeps the filename when marking scene as unsaved
...
(cherry picked from commit 9ed61a70cc
)
2020-03-25 11:30:48 +01:00
volzhs
644d49b156
Update snap setting only with OK
...
restore previous values with cancel
(cherry picked from commit 667a981d4d
)
2020-03-25 11:30:48 +01:00
volzhs
5edd669503
Use checkbox for plugin status instead of option list
...
(cherry picked from commit 09b055bd34
)
2020-03-25 09:38:53 +01:00
Tomasz Chabora
843948b69d
Show theme property descriptions in the inspector
...
(cherry picked from commit 7a0e813ffa
)
2020-03-25 09:38:18 +01:00
Ignacio Etcheverry
110523fecc
Expose FileSystemDock to the scripting API and fixed signals
...
Fixed FileSystemDock's `file_removed` and `folder_removed` signals not being
emitted because the emitted was using the wrong signal name.
(cherry picked from commit fe0b783e70
)
2020-03-18 17:57:45 +01:00
Rémi Verschelde
69081c000d
Merge pull request #33098 from JFonS/viewport_rotation
...
Add rotation widget to 3D viewport
2020-03-17 16:29:44 +01:00
Rémi Verschelde
4a38ec3937
Merge pull request #36336 from m4gr3d/android_plugin_v2_for_godot_3_2
...
Re-architecture of the Godot Android plugin. [3.2]
2020-03-17 16:27:59 +01:00
Rémi Verschelde
c01e840f03
Merge pull request #36639 from RandomShaper/imvu/improve_drives_ux_3.2
...
Improve UX of drive letters (3.2)
2020-03-17 16:27:33 +01:00
Pedro J. Estébanez
6105dfdac9
Improve UX of drive letters
...
Namely, move the drive dropdown to just the left of the path text box and don't include the former
in the latter.
This improves the UX on Windows.
In the UNIX case, since its concept of drives is (ab)used to provide shortcuts to useful paths, its
dropdown is kept at the original location.
2020-03-17 14:48:54 +01:00
Rémi Verschelde
0e36b11f9d
i18n: Sync translations with Weblate
2020-03-16 10:45:42 +01:00
Rémi Verschelde
df2a2ae0fc
DocData: Fix serialization of Variant default values
...
Co-authored-by: Bojidar Marinov <bojidar.marinov.bg@gmail.com>
(cherry picked from commit 788765709d
)
2020-03-09 11:36:57 +01:00
fhuya
c3660bb4dc
Re-architecture of the Godot Android plugin.
2020-03-09 10:30:02 +01:00
Rémi Verschelde
18e021b7cd
i18n: Sync translations with Weblate
2020-03-09 10:03:42 +01:00
jfons
5b4251695a
Add rotation widget to 3D viewport
2020-03-09 09:40:10 +01:00
Thakee Nathees
15057c9284
Fix EditorFolding crash when switching scenes
...
(cherry picked from commit 3275e8488b
)
2020-03-06 23:51:26 +01:00
Aaron Franke
41e385cfac
Document EditorPlugin get_plugin_icon and get_plugin_name
...
The return value's type hint is now accurate.
(cherry picked from commit 68d73ecf60
)
2020-03-06 23:51:25 +01:00
Dominik 'dreamsComeTrue' Jasiński
a2bc4f0b30
Take correct part of extension with File Dialog
...
Fixes #36697
(cherry picked from commit 319840bad1
)
2020-03-04 12:40:15 +01:00
fhuya
7de67f6c48
Fix android template install validation.
...
(cherry picked from commit 5b80dc9a2a
)
2020-03-04 12:40:15 +01:00
simpuid
621c20db90
Implement undo-redo feature for Parameter Paste in the Inspector
...
EditorData::undo_redo.add_do_property and EditorData::undo_redo.add_undo_property is used in EditorData::paste_object_params to implement this feature. It's action name is set to "Paste Params"
Changes made
* Removed the call for clearing the history on paste params case.
* Instead of directly setting the properties value, EditorData::undo_redo is used.
(cherry picked from commit f817ba8379
)
2020-03-04 12:40:15 +01:00
Michael Alexsander
867ea694da
Fix import changing disabling checking on multiple files
...
(cherry picked from commit d35386263f
)
2020-03-04 12:40:15 +01:00
Richard Menzies
367048030b
Fix wrong selection on cloning a line down in the editor
...
(cherry picked from commit 28f74327be
)
2020-03-04 12:40:14 +01:00
Hugo Locurcio
6488570251
Fix a typo in the "Create Single Convex Collision Sibling" option
...
(cherry picked from commit 7348dfb5b7
)
2020-03-04 12:40:14 +01:00
Maurizio Petrarota
53b4689979
Fixed TextureAtlas import.
...
(cherry picked from commit 744c1fafff
)
2020-03-04 12:40:14 +01:00
Andrea Catania
30688769f4
Fixed editor crash when the animation player has no root assigned.
...
(cherry picked from commit c9b86d54bf
)
2020-03-04 12:40:14 +01:00
Michael Alexsander
6e4aa5a580
Don't show a copy of the property's name in the inspector's tooltip if there's no description
...
(cherry picked from commit 28d3f85e64
)
2020-03-04 12:40:14 +01:00
Michael Alexsander
6e300a0c49
Remove extra margin in the top of the debugger
...
(cherry picked from commit 5c5a2b7472
)
2020-03-04 12:40:14 +01:00
Juan Linietsky
03c8e12d54
Add support for named binds in Skin.
...
Helps better reutilization of skeletons from Maya exported files.
(cherry picked from commit 9a34f39d32
)
2020-03-04 12:40:14 +01:00
Hugo Locurcio
73240f81d0
Decrease the script editor's default split width to 70
...
This also makes its value change to match the editor scale.
(cherry picked from commit ac3c93077c
)
2020-03-04 12:40:14 +01:00
Yuri Sizov
04b3e208fa
Add a button to quickly repeat last search in files
...
(cherry picked from commit 8c80b602ac
)
2020-03-04 09:52:55 +01:00
janglee
56437cddeb
Make orthogonal view mode persistent in new scene
...
Fixes #36339 .
(cherry picked from commit d3c580f0bc
)
2020-02-20 07:59:45 +01:00
Rémi Verschelde
1c9132540f
i18n: Sync translations with Weblate
2020-02-19 10:09:14 +01:00
Tomasz Chabora
15162906e4
Allow for continuous deletion/duplication of lines
...
(cherry picked from commit b23f141ba4
)
2020-02-18 14:22:05 +01:00
Haoyu Qiu
dcf158703e
Fixes crash when pressing enter in ConnectDialog with nothing selected
...
(cherry picked from commit cf8eedb2f5
)
2020-02-18 14:21:01 +01:00
Hugo Locurcio
06344ac10d
Increase the width of the "Connections to method" dialog
...
This closes #36245 .
(cherry picked from commit 5c659dd399
)
2020-02-18 14:20:18 +01:00
SkyJJ
9091e8d839
Fix script icon not showing at startup bug
...
(cherry picked from commit 032b0e5899
)
2020-02-18 14:19:25 +01:00
Michael Alexsander
f6d2bbdeab
Fix multiple issues with the "Import" dock
...
(cherry picked from commit bdd4d28081
)
2020-02-18 14:18:09 +01:00
Rémi Verschelde
fbaf3c26bf
doc: Only encode version branch (x.y) in class header
...
This avoids a big diff on patch version updates.
(cherry picked from commit dacfdd8f33
)
2020-02-14 20:20:12 +01:00
Rémi Verschelde
3dfedc0b4c
i18n: Sync translation template with current source
2020-02-14 17:52:59 +01:00
Rémi Verschelde
74738806f3
i18n: Sync translations with Weblate
2020-02-14 17:51:56 +01:00
Haoyu Qiu
762578e7bc
Fixes range hint for default_float_step
...
(cherry picked from commit dfe9825e00
)
2020-02-14 16:32:33 +01:00
Hugo Locurcio
6edb5ac9e9
Optimize the editor icon generation
...
Icons are no longer upsampled when using an integer editor scale.
This makes some icons slightly less crisp, but the icons themselves
can be adjusted to mitigate this. When using a non-integer editor
scale setting, upsampling is kept as it improves crispness in a
far more visible manner.
When upsampling is disabled, this speeds up the theme generation
by about 100 ms on average, making the project manager and editor
start slightly faster. This also speeds up switching between themes.
(cherry picked from commit 9e3393a624
)
2020-02-14 16:14:56 +01:00