Jason Yundt
6ca73386d1
Improve autoload inheritance error message
...
Autoloaded scripts should always inherit from Node. When you run a
project that tries to autoload a script which doesn’t inherit from Node,
then Godot gives an error.
Before this change, the error said “Script does not inherit a Node”.
That error message is a little bit misleading. If a class inherits a
Node, then one of its superclasses has a Node. If a class inherits
_from_ Node, then one of its superclasses is Node. This change corrects
that mistake.
Fixes #59884 .
(cherry picked from commit 1cc7e7ec33
)
2022-04-13 11:43:49 +02:00
Haoyu Qiu
722d28adeb
Clip animation track keyframe rects
...
(cherry picked from commit c7e06e2202
)
2022-04-13 11:43:49 +02:00
FireForge
423ca42a9b
Capitalize names in the debugger
...
(cherry picked from commit efd9b8bc29
)
2022-04-13 11:43:49 +02:00
Ev1lbl0w
5f05cb8696
Restore hidden folder behavior for project manager
...
(cherry picked from commit 38fed916e7
)
2022-04-13 11:43:48 +02:00
Ev1lbl0w
a5e58f102d
Hide .gdignore'd folders
...
(cherry picked from commit 057a0e00eb
)
2022-04-13 10:53:56 +02:00
Haoyu Qiu
65aac2cfae
Fix popup dialog UI in AnimationTreePlayer editor
2022-04-13 16:49:47 +08:00
Rémi Verschelde
e5abfc8679
Merge pull request #60048 from timothyqiu/input-drag
2022-04-12 21:04:02 +02:00
Rémi Verschelde
808f315325
Merge pull request #60058 from timothyqiu/select-frames-3.x
2022-04-12 14:43:54 +02:00
Haoyu Qiu
32488b46a6
Improve Select Frames dialog of SpriteFrames editor
2022-04-09 17:30:06 +08:00
Haoyu Qiu
af8d85a15e
Fix crash when dragging from Input Map to VisualScript editor
2022-04-09 09:11:56 +08:00
Haoyu Qiu
f0908df8b9
Disable "Open in Inspector" when there is no animation
2022-04-08 10:20:33 +08:00
Haoyu Qiu
f196532de6
Focus filter LineEdit after Theme Type dialog popup
2022-04-07 17:14:53 +08:00
Haoyu Qiu
f6251724af
Add an explicit way to remove a theme type
...
Co-Authored-by: Yuri Sizov <yuris@humnom.net>
2022-04-05 11:51:15 +08:00
Rémi Verschelde
44a7fd1bfb
Merge pull request #59836 from ConteZero/fix_editor_log
2022-04-04 23:56:06 +02:00
Rémi Verschelde
5f9ae5e936
Merge pull request #59868 from m4gr3d/update_default_display_scale
2022-04-04 19:31:59 +02:00
Fredia Huya-Kouadio
3ba0508f79
Update the editor display scale based on the device's scaled density
2022-04-04 04:18:56 -07:00
Haoyu Qiu
1136a9b58a
Add missing CheckBox & CheckButton editor icons
...
Co-authored-by: Silc 'Tokage' Renew <tokage.it.lab@gmail.com>
Co-authored-by: Yuri Sizov <yuris@humnom.net>
2022-04-04 12:15:46 +08:00
ConteZero
6188e427b4
Fix Copy Selection on editor_log
2022-04-03 16:38:55 +02:00
Hugo Locurcio
053b54b67c
Add missing newlines to the generated default_env.tres
in new projects
...
This prevents unnecessary whitespace changes in VCS diffs when saving
a scene for the first time in a new project.
2022-04-02 18:41:15 +02:00
Haoyu Qiu
f9da6f6978
Extract theme property names for localization
2022-04-01 11:35:02 +08:00
Rémi Verschelde
383f79e4f1
Merge pull request #59668 from timothyqiu/strip-feature-tag-3.x
2022-03-30 16:06:56 +02:00
Rémi Verschelde
8f2b484817
Merge pull request #59179 from Calinou/occluder3D-add-editor-icons-3.x
2022-03-30 16:03:37 +02:00
Haoyu Qiu
14c13f7c4a
Strip feature tag manually when extracting property paths
2022-03-30 20:28:57 +08:00
Haoyu Qiu
79d3fc5319
Add more patterns for property path extraction
2022-03-30 18:21:24 +08:00
Haoyu Qiu
17ce0fcc7c
Simplify FBX importer project settings registering
2022-03-29 15:00:31 +08:00
Rémi Verschelde
eb837f8cb4
Merge pull request #59375 from timothyqiu/extract-refactor-3.x
...
[3.x] Refactor editor `extract.py`
2022-03-29 08:45:18 +02:00
Rémi Verschelde
15dc747de8
i18n: Sync editor translation template after #59349
2022-03-29 01:22:20 +02:00
Rémi Verschelde
0db753ef54
i18n: Sync editor translations with Weblate
2022-03-29 01:22:20 +02:00
FireForge
7f787857ef
Fix inspector group name capitalization
...
(cherry picked from commit 88b09694e7
)
2022-03-29 00:20:23 +02:00
Nicholas Huelin
6c778a19d1
Hide "Normal Map" import option when using lossless compression on Texture
...
This pull request resolves an issue where images being imported with lossless compression allowed you to select a normal map, but the normal map only applies if you're using VRAM compression. Thereby making it redundant to appear when using lossless compression. This pull request hides the normal map option when lossless compression is selected.
Resolves : #59435
(cherry picked from commit 01ca9d3eec
)
2022-03-29 00:07:45 +02:00
Daniel Kříž
7ed3bfc2fb
Fix persistent favorites after rename
...
Signed-off-by: Daniel Kříž <Daniel.kriz@protonmail.com>
(cherry picked from commit 0535ef549a
)
2022-03-29 00:06:24 +02:00
Vitika9
8d1827cf7c
Made reload current project ask for confirmation with unsaved changes
...
(cherry picked from commit eb81ac8fc5
)
2022-03-29 00:03:53 +02:00
FireForge
e97893ba0e
Remove space in MeshLibrary editor button
...
(cherry picked from commit c0f2825f8b
)
2022-03-28 23:50:30 +02:00
taigi100
d20cf762b3
Update properties to properly filter for templates.
...
(cherry picked from commit d8d73cdd02
)
2022-03-28 23:49:44 +02:00
Haoyu Qiu
60fe14c595
Add TTR context for pagination button texts
...
(cherry picked from commit 81c21ebf39
)
2022-03-28 23:49:23 +02:00
Haoyu Qiu
50ba2d3051
Fix crash when exporting projects with shared libraries
...
(cherry picked from commit 680bcef825
)
2022-03-28 23:48:03 +02:00
Rémi Verschelde
113102aa51
ResourceImporterWAV: Allow configuring loop mode on import
...
The new `edit/loop_mode` import options lets user choose to either:
- Detect loop points from the WAV (default, same behavior as before)
- Set the loop mode and loop points manually like in AudioStreamSample
Fixes #46164 .
(cherry picked from commit b389ce5ccd
)
2022-03-28 23:46:29 +02:00
Vitika9
77a386aa08
Removed extra separator in absence of ChangeType and Rename
...
(cherry picked from commit 46ca4737f1
)
2022-03-28 23:44:56 +02:00
Fredy Huya-Kouadio
cb0b2aefc3
Android port of the Godot Editor
...
These set of changes focus primarily on getting the core logic and overall Godot Editor UI and functionality up and running natively on Android devices.
UI tweaks / cleanup / polish, as well configuration for Android specific functionality / restrictions will be addressed in follow-up PRs iteratively based on feedback.
Co-authored-by: thebestnom <shoval.arad@gmail.com>
2022-03-28 07:54:10 -07:00
Haoyu Qiu
b1044b9b86
Add property name style toggle to Inspector
2022-03-28 17:10:41 +08:00
Rémi Verschelde
e80a8bebf6
Merge pull request #59615 from timothyqiu/debug-colors-3.x
2022-03-28 10:19:09 +02:00
Rémi Verschelde
fa9e2f8e21
Merge pull request #59522 from bruvzg/mo_and_woff2_3x
...
[3.x] Add binary MO translation file and brotli decoder and WOFF2 support.
2022-03-28 09:00:54 +02:00
Haoyu Qiu
37d4306c2e
Update SceneTree debug colors when settings changed
2022-03-28 10:49:13 +08:00
Haoyu Qiu
7b7ef59552
Mark Editor SSL Certificates setting as require restart
2022-03-27 09:48:42 +08:00
bruvzg
fd2fba7c2c
Add binary MO translation file support. Add brotli decoder and WOFF2 support.
...
Use smaller .mo files instead of .po, if gettext is available.
Convert editor fonts to .woff2 format.
2022-03-25 19:51:39 +02:00
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
FireForge
da18e44803
Add a RayCast2D.cast_to editor handle
2022-03-19 23:23:11 -05: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