Commit graph

7068 commits

Author SHA1 Message Date
Rémi Verschelde
a3a5b10e88
Merge pull request #59291 from fire-forge/gradient2d_editor_3.x
[3.x] Add a GradientTexture2D editor plugin
2022-03-18 19:52:28 +01:00
FireForge
d76c9f8d92 Add a GradientTexture2D editor plugin 2022-03-18 13:18:10 -05:00
Rémi Verschelde
0de7cfc60f i18n: Sync editor translation template after #59265 2022-03-18 11:52:03 +01:00
Rémi Verschelde
4228d320bd i18n: Sync editor translations with Weblate 2022-03-18 11:50:55 +01:00
Haoyu Qiu
177c60fc52 Improves editor property name extraction 2022-03-18 17:53:28 +08:00
Rémi Verschelde
93a3d47edc i18n: Sync editor translation POs with template 2022-03-17 19:44:13 +01:00
Rémi Verschelde
972c6687ff i18n: Add property paths to editor translation template 2022-03-17 19:42:24 +01:00
Rémi Verschelde
98b8f4043a i18n: Sync editor translations with Weblate 2022-03-17 19:39:48 +01:00
Rémi Verschelde
cdbc819b85
Merge pull request #59164 from timothyqiu/filter-property-3.x 2022-03-17 19:19:16 +01:00
Rémi Verschelde
fc93c22b6e
Merge pull request #59238 from akien-mga/3.x-cherrypicks 2022-03-17 19:16:48 +01:00
Haoyu Qiu
7e0d814603 Improve inspector filtering 2022-03-18 01:15:31 +08:00
Haoyu Qiu
8d7ec5075b Remap property path based on path substrings
Also added captialization caching.
2022-03-18 00:32:36 +08:00
Haoyu Qiu
8eb539d5c1 More icon updates on theme change
(cherry picked from commit 0ac6e6acbe)
2022-03-17 14:45:19 +01:00
Haoyu Qiu
bb257543d8 Add missing navigation node icons
Co-Authored-by: Michael Alexsander <michaelalexsander@protonmail.com>
2022-03-17 10:55:07 +08:00
Hugo Locurcio
b087538119
Add an XML schema for documentation
This makes it easier to spot syntax errors when editing the
class reference. The schema is referenced locally so validation
can still work offline.

Each class XML's schema conformance is also checked on GitHub Actions.
2022-03-16 23:01:02 +01:00
Haoyu Qiu
04eb5c486a Add note about encryption key to export dialog 2022-03-16 19:55:26 +08:00
Haoyu Qiu
878cf8262a Add context support for editor translation 2022-03-16 15:44:30 +08:00
Rémi Verschelde
a6762a30b5
Merge pull request #59138 from timothyqiu/sprite-frames-editor-3.x 2022-03-15 09:11:04 +01:00
Haoyu Qiu
9031d264e4 Improves SpriteFrames editor 2022-03-15 09:12:46 +08:00
Haoyu Qiu
95c672e1b4 Separate 2D grid visibility and grid snap 2022-03-15 08:52:21 +08:00
Rémi Verschelde
fdaf0de3f0
Merge pull request #59100 from RandomShaper/mouse_drop_on_disable_3.x 2022-03-14 11:25:12 +01:00
Pedro J. Estébanez
3d7821bf1f Drop mouse focus and over when gui input is globally disabled
Since some porjects may be relying on the former behavior, this is opt-in via a new project setting, disabled by default, but enabled for new projects, since it's the new standard behavior (and the only one in 4.0).
2022-03-14 11:06:26 +01:00
FireForge
c2c0c8067d Add missing property name capitalizations
(cherry picked from commit 543218fc7c)
2022-03-14 10:38:05 +01:00
ConteZero
0ffacff998 [3.x] Add option to make selection unique 2022-03-14 09:48:09 +01:00
Hugo Locurcio
5f9c13b980
Improve display of freelook/zoom speed indicator bars in the 3D editor
- Use a different color for freelook and zoom speed bars.
- Use a shadow for the text to make it readable on any background.
2022-03-13 22:59:21 +01:00
Hugo Locurcio
caf2c20655 Don't store and show current file/directory/path FileDialog properties
These properties are only useful at run-time, so they don't need
to be displayed in the editor and stored.

(cherry picked from commit 2ad6e11b78)
2022-03-13 15:46:01 +01:00
Ryan Roden-Corrent
846416afe8 Copy full project setting path from dialog.
The EditorProperty UI elements for project settings are created from
SectionedInspector, which has a prefix added to each property path. Each
EditorProperty needs to be made aware of this path so copy_property_path
copies the full path, and not just the suffix.

Fixes #59020.

(cherry picked from commit d271e2517e)
2022-03-13 15:43:23 +01:00
Haoyu Qiu
f280712215 Fix missing grid lines when TileMap has half offset 2022-03-13 17:20:43 +08:00
Rémi Verschelde
7c49b8e70f
Merge pull request #59009 from timothyqiu/tile-map-grid-3.x
[3.x] Improve TileMap editor grid
2022-03-12 22:06:54 +01:00
Haoyu Qiu
36ec71bcef Hide smart snapping line when guideline dragging ends
(cherry picked from commit b255efba7c)
2022-03-12 15:10:28 +01:00
Markus Sauermann
93447eb1ae Use get_cursor_shape for identifying the cursor shape in AnimationNodeStateMachineEditor
get_cursor_shape() is used in cases where a Control displays different cursors in different areas.
There is no need to set the default cursor shape on every mouse move event.

Fix minor issue with selection order.

(cherry picked from commit 0d96dbcb2a)
2022-03-12 15:10:14 +01:00
Markus Sauermann
e2bd1ad6da Use get_cursor_shape for identifying the cursor shape in AnimationTrackEditTypeAudio
get_cursor_shape() is used in cases where a Control displays different cursors in different areas.
There is no need to set the default cursor shape on every mouse move event.

(cherry picked from commit 24942214d9)
2022-03-12 15:10:13 +01:00
Markus Sauermann
d92406751b Use get_cursor_shape for identifying the cursor shape in AnimationTimelineEdit
get_cursor_shape() is used in cases where a Control displays different cursors in different areas.
There is no need to set the default cursor shape on every mouse move event.

(cherry picked from commit 4a8a6f892f)
2022-03-12 15:09:57 +01:00
Haoyu Qiu
15aab4cde0 Remove unused code in AnimationPlayerEditor::_update_animation_list_icons()
(cherry picked from commit 6a1e3380f8)
2022-03-12 14:45:35 +01:00
Haoyu Qiu
86ec09faf5 Improve TileMap editor grid 2022-03-11 10:41:30 +08:00
Rémi Verschelde
ae036e823b
Merge pull request #58694 from Calinou/editor-frame-time-color-3.x 2022-03-10 21:11:17 +01:00
Rémi Verschelde
153a068958
Merge pull request #58634 from timothyqiu/property-i18n-3.x 2022-03-10 21:08:38 +01:00
Rémi Verschelde
b0376ff494
Merge pull request #58851 from timothyqiu/tileset-zoom 2022-03-10 21:06:02 +01:00
Ryan Roden-Corrent
5d7b3e10ee Create parent directories on export.
Fixes #42231.

This works for both the UI and the --export CLI flag.

(cherry picked from commit 66a278f585)
2022-03-10 19:02:01 +01:00
Haoyu Qiu
3b04f59354 Fix some Animation panel icons not updating after theme change
(cherry picked from commit 83828c7d1b)
2022-03-10 19:02:01 +01:00
Haoyu Qiu
c2297215e3 Fix TextureRegion editor grid color for light themes
(cherry picked from commit af16e099ea)
2022-03-10 19:01:53 +01:00
Haoyu Qiu
2c3646b37b Add missing i18n to various strings
(cherry picked from commit 25d93200c8)
2022-03-10 19:01:52 +01:00
Haoyu Qiu
5514126234 Don't show Lock & Group buttons for nodes hidden by CanvasLayer
(cherry picked from commit fb999ebe22)
2022-03-10 17:18:41 +01:00
Haoyu Qiu
2ccd4fd030 Fix animation resource name after duplication
(cherry picked from commit 8dc12135cd)
2022-03-10 17:18:41 +01:00
Haoyu Qiu
a26afe807f Update audio effect icon when theme changes
(cherry picked from commit 20ed798e59)
2022-03-10 17:18:41 +01:00
miremrie
8a6b066ab7 Allow absolute file paths in file dialogs
(cherry picked from commit a5e30c0228)
2022-03-10 17:18:41 +01:00
Haoyu Qiu
86bcac5a5e Fix text color of TileMap editor info overlay 2022-03-10 19:12:40 +08:00
Rémi Verschelde
751769ed45 i18n: Sync editor translations with Weblate 2022-03-09 10:33:03 +01:00
Rémi Verschelde
e489f889c2
Merge pull request #58918 from timothyqiu/tilemap-select-icon 2022-03-09 08:29:34 +01:00
Haoyu Qiu
84a27308c1 Use ToolSelect icon for TileMap editor select button 2022-03-09 14:33:09 +08:00