Commit Graph

7129 Commits

Author SHA1 Message Date
Rémi Verschelde ffea68a4e8
Merge pull request #59501 from timothyqiu/tileset-icons-3.x
[3.x] Fix icons for tile bitmask copy & paste buttons
2022-03-25 08:01:16 +01:00
Haoyu Qiu 60511e9fd9 Update default proxy port to 8080 2022-03-25 13:17:02 +08:00
Haoyu Qiu 3b52200e01 Fix icons for tile bitmask copy & paste buttons 2022-03-25 11:11:27 +08:00
Haoyu Qiu 91b6c287d9 Update inspector layer names when project settings changed 2022-03-24 17:19:59 +08:00
Rémi Verschelde 39ad3a02be
Merge pull request #48327 from Blackiris/fix-create-skeleton-physical-bones-3.x 2022-03-21 11:26:56 +01:00
Haoyu Qiu 545e2ceb8a Refactor editor `extract.py` 2022-03-21 15:53:43 +08:00
Haoyu Qiu 1bf30d7be0 More editor `extract.py` improvements and fixes 2022-03-20 20:21:05 +08:00
Rémi Verschelde cec7fc4ffe
Merge pull request #58479 from ChronicallySerious/use-time-in-vcs
Use Time singleton in VersionControlEditorPlugin
2022-03-18 20:34:56 +01:00
ChronicallySerious 9e978bf989 Use Time singleton in VersionControlEditorPlugin
Instead of displaying the exact string, now Godot uses the Time
singleton to calculate the date string from the UTC Unix timestamp and
also uses Time's timezone offset conversion to string function
2022-03-19 00:50:37 +05:30
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
Hugo Locurcio 5f175828f0
Add editor icons for OccluderShapePolygon and OccluderShape
The abstract OccluderShape resource now has an icon, like the abstract
Mesh resource.
2022-03-15 23:02:55 +01: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
Haoyu Qiu bee9a6cc0d Fix add child error when opening the Editor 2022-03-09 14:27:24 +08:00
Rémi Verschelde 85b4848ca8
Merge pull request #54188 from Rubonnek/increase_var_arg_max_3x 2022-03-08 13:10:48 +01:00
Wilson E. Alvarez 424dbf70af
Increase VARIANT_ARG_MAX to 8 2022-03-07 10:03:49 -05:00
Yuri Roubinsky de79e10951 [3.x] Add option to filter the stack variables of GDScript debugger 2022-03-07 14:49:57 +03:00
Igor Kordiukiewicz b28eea610c Fixed issue where Extend Script option would show up even without script attached to the node
(cherry picked from commit dc361d3201)
2022-03-07 08:33:29 +01:00
Haoyu Qiu cc65147250 Update scroll position when zooming TileSet editor 2022-03-07 13:01:39 +08:00
Hugo Locurcio 2e6a305b8f
Improve display for unsupported debug draw modes in GLES2
- Don't disable the Normal option as it technically can be chosen
  (it's the default).
- Use a text suffix in addition to the tooltip.
2022-03-05 22:03:39 +01:00
Haoyu Qiu 61e35b4f6e Make name of editor file dialog filters translatable 2022-03-05 12:44:17 +08:00
Rémi Verschelde 5b3dfe1ffa
Merge pull request #58760 from raulsntos/icon_color-editor-theme-3.x
[3.x] Add `icon_color_normal` to Button in editor theme
2022-03-04 21:35:02 +01:00
Raul Santos 0e8a76dbb2
Add icon_color_normal to Button in editor theme 2022-03-04 19:21:05 +01:00
Haoyu Qiu aaff2e3982 i18n: Make property paths and sections translatable
Co-Authored-By: Hugo Locurcio <hugo.locurcio@hugo.pro>
2022-03-03 15:33:46 +08:00
Hugo Locurcio 2893090a50
Color 3D editor FPS label depending on the performance level
This provides easier visual grepping.

Incindentally, this change will force constant editor redrawing whenever
the View FPS option is enabled in the 3D viewport settings. This is
required to get an accurate FPS display in 3.x.
Otherwise, the FPS counter shot all the way up to 145 FPS
whenever nothing was changing on screen (even if actual
performance was much lower).
2022-03-02 22:16:13 +01:00
Haoyu Qiu e5102872c0 Translate class brief description in Editor Feature Profile dialog 2022-03-02 16:23:48 +08:00
Rémi Verschelde 74b698b817
Merge pull request #58135 from timothyqiu/shortcut-zoom-mouse-pos-3.x 2022-02-23 13:26:21 +01:00
lawnjelly e3f84916de Fix GIProbe gizmo out of bounds crash
The GIProbe gizmo was writing values in 3 dimensions to Vector2s. This error was previously being masked by the Vector2 accessor, but now results in a crash or ERR_FAIL message.

This PR removes the Vector2s as they were unused.
2022-02-22 17:37:31 +00:00
Rémi Verschelde 4e44a15176
Merge pull request #58386 from KoBeWi/fix3bility 2022-02-21 12:33:28 +01:00
kobewi fdded6b44d Fix 2D instance drop position
(cherry picked from commit 3a9fb3aff0)
2022-02-21 11:14:54 +01:00
kobewi 642591b6a9 Fix CanvasItem visibility propagation 2022-02-21 11:11:03 +01:00
Rémi Verschelde 6071d78ba1
Merge pull request #57165 from winterpixelgames/3.x-allow-disable-alpha-trim-texture-atlas 2022-02-20 12:43:58 +01:00
Jason Knight 177041b968 Allow disabling the alpha trim on texture atlas creation.
Default to true
2022-02-19 14:01:30 -06:00
Ricardo Subtil 60f9c0fb42 Fix decompression functions not returning errcodes
(cherry picked from commit 61790a03f5)
2022-02-19 15:50:38 +01:00
Hugo Locurcio 92e6c2a33d Use versioned URL for "Online Documentation" buttons in the editor
This also avoids a redirect, making the page appear to load faster.

(cherry picked from commit 958912a33f)
2022-02-19 15:49:26 +01:00
Rémi Verschelde e2287a201a
Merge pull request #58253 from mbrlabs/deselect-3x 2022-02-17 20:32:38 +01:00
Rémi Verschelde 453dc482e2
Merge pull request #58252 from mbrlabs/region-select-3x 2022-02-17 20:32:25 +01:00
Hugo Locurcio 3b25190494
Only store `_edit_use_anchors_` metadata if value is not the default
The default value is assumed to be `false`, so this metadata
only needs to be stored if the value is `true`.
2022-02-17 20:13:28 +01:00
Marcus Brummer d9c99f64c1 Improved region-select in the 3D editor viewport
Enable region-select when dragging the mouse. Previously this was only possible when the mouse was not over a mesh.
2022-02-17 19:49:39 +01:00
Marcus Brummer 67b879edbd Deselect nodes in the 3D editor when pressing ESC 2022-02-17 19:43:35 +01:00
Yuri Sizov df13466139 Add type variations to Theme 2022-02-17 15:24:10 +03:00
Haoyu Qiu d09a023339
Translate link titles in classref XML
(cherry picked from commit 7d05a066e3)
2022-02-17 09:59:28 +01:00
Rémi Verschelde cb7c2db4e4
Merge pull request #58188 from timothyqiu/type-icons
[3.x] Backport editor type icons
2022-02-17 09:17:30 +01:00
Yuri Sizov a91a24f822 Don't translate numbers in VersionControlEditorPlugin 2022-02-16 19:53:27 +03:00
Haoyu Qiu 5688ca688c Backport editor type icons
Co-authored-by: FireForge <isaacr.7.2005@gmail.com>
2022-02-16 23:36:51 +08:00
Rémi Verschelde 9f09251027
i18n: Sync editor translations with Weblate
Minor proofreading of new OSX export strings.
2022-02-16 09:55:45 +01:00
Rémi Verschelde 6235bd2a78
Merge pull request #58005 from akien-mga/3.x-cherrypicks 2022-02-15 14:53:49 +01:00
jmb462 8b49a62745 [3.x] Fix AnimationTrack mouse wheel zooming at low zoom level 2022-02-15 13:48:57 +01:00
Jean-Michel Bernard 9b7147157d
Hide Polygon2D lines and handles when node is not visible in tree.
(cherry picked from commit b0ebbd8ece)
2022-02-15 12:23:46 +01:00
Jean-Michel Bernard cb885e97c5
Hide CollisionShape2D handles when node is not visible in tree.
(cherry picked from commit ef995b222e)
2022-02-15 12:23:45 +01:00
Haoyu Qiu a25137c48e Utilize mouse position when zooming with shortcuts in 2D editor 2022-02-15 16:49:00 +08:00
Hugo Locurcio 53b96095eb
Improve completion scroll bar visibility in the script editor (3.x)
This makes the scroll bar bar thicker and more opaque (roughly
matching the editor theme's scroll bar by default).
2022-02-14 14:54:35 +01:00
Haoyu Qiu aaf29c2d58 Make duplicate animation prompt for new name 2022-02-14 14:48:34 +08:00