bruvzg
0be7de6e11
[3.x] Fix export plugins after embedded PCK loading changes.
2022-05-04 12:56:00 +03:00
kleonc
2e4e8bb87c
Fix inspecting nested dictionaries/arrays when debugging
2022-05-04 00:49:34 +02:00
Rémi Verschelde
6ee64331db
Merge pull request #60527 from KoBeWi/unique_names_demastered
2022-05-02 10:48:27 +02:00
FireForge
e8d1552af2
Add an inspector preview for BitMap
2022-05-02 09:16:34 +08:00
Haoyu Qiu
b8d5c3b003
Fix issues when skipping l10n for script variables
2022-04-29 17:47:47 +08:00
Haoyu Qiu
65f3d99693
Fix external link icon black background
2022-04-29 09:21:23 +08:00
bruvzg
bea7c9be5d
[3.x] Improve embedded PCK loading and exporting.
2022-04-28 11:11:48 +03:00
FireForge
f3a4e3eee5
Add more property capitalizations
...
- BiDi
- FileSystem
- NavMesh
(cherry picked from commit a549617a38
)
2022-04-27 12:32:33 +02:00
Hugo Locurcio
2bc036dad5
Add an external link editor icon
...
This replaces the existing "chainlink" instance icon that was
used for external links. That icon is still used for scene instancing.
The icon was designed by redlamp.
Co-authored-by: Taylor Wright <taylor@redlamp.org>
(cherry picked from commit 5626d026d8
)
2022-04-27 12:30:31 +02:00
FireForge
994c0b7ce5
Fix UndoRedo in Gradient editor
...
(cherry picked from commit a384031326
)
2022-04-27 12:26:10 +02:00
Daniel Kříž
41d0486ad1
Fix missing favorite files in filesystem dock
...
(cherry picked from commit cbe363d716
)
2022-04-27 12:24:16 +02:00
Rémi Verschelde
510ed791f9
Merge pull request #60554 from timothyqiu/editor-settings-cleanup
2022-04-27 11:51:03 +02:00
Rémi Verschelde
360be72d4c
Merge pull request #60550 from timothyqiu/import-preset-i18n-3.x
2022-04-27 10:33:36 +02:00
Haoyu Qiu
d088128b43
Remove duplicate editor settings definitions
2022-04-27 15:26:46 +08:00
Rémi Verschelde
ac24644464
Merge pull request #60536 from timothyqiu/class-name-icon-3.x
...
[3.x] Fix custom class icon when it inherits from a script
2022-04-27 08:06:02 +02:00
Rémi Verschelde
1f7a2328a3
Merge pull request #59338 from fire-forge/raycast2d-editor-3.x
...
[3.x] Add an editor handle for `RayCast2D.cast_to`
2022-04-27 07:57:00 +02:00
Haoyu Qiu
5d150559a3
Make more import preset name translatable
2022-04-27 13:50:59 +08:00
Haoyu Qiu
42448d7587
Fix custom class icon when it inherits from a script
2022-04-27 10:01:08 +08:00
kobewi
e1c74ae83f
Implement Scene Unique Nodes
2022-04-26 13:55:48 +02:00
Rémi Verschelde
1e61fb1e37
i18n: Sync editor translations with Weblate
2022-04-25 17:14:49 +02:00
Hugo Locurcio
c3da5228a3
Fix project manager window position when editor scale is above 100%
...
This backports a fix from `master` to `3.x` (with simplified code).
2022-04-15 18:05:32 +02:00
FireForge
8aa30eee2f
Fix EditorProperty text and icon overlap bugs
...
(cherry picked from commit dbc380af59
)
2022-04-14 21:38:06 +02:00
Haoyu Qiu
4e0547afe9
Add option to paste animation as duplicate
...
Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>
2022-04-14 10:40:39 +08:00
Rémi Verschelde
9a45eb70b4
Merge pull request #60204 from akien-mga/3.x-cherrypicks
2022-04-13 14:23:56 +02:00
Haoyu Qiu
8d9071542b
Localize unnamed project name in editor window title
...
(cherry picked from commit 35d0878139
)
2022-04-13 11:43:49 +02:00
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
Priyansh Rathi
f23663bb59
fix same project opening mutliple times from project manager
2022-03-27 16:06:09 +05:30
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
Raul Santos
862691a9f7
Support explicit values in flag properties, add C# flags support
...
- Add support for explicit values in properties using `PROPERTY_HINT_FLAGS`
that works the same way it does for enums.
- Fix enums and flags in VisualScriptEditor (it wasn't considering the
explicit value).
- Use `PROPERTY_HINT_FLAGS` for C# enums with the FlagsAttribute instead
of `PROPERTY_HINT_ENUM`.
2022-03-19 19:22:54 +01: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
Rémi Verschelde
7a16bb2ee4
Fix typos with codespell
...
Using codespell 2.2-dev from current git.
Added `misc/scripts/codespell.sh` to make it easier to run it once in a
while and update the skip and ignore lists.
(cherry picked from commit 1bdb82c64e
)
2022-02-11 09:50:59 +01:00
Haoyu Qiu
e5fd6a5086
Don't display empty Class Properties in feature profile
...
(cherry picked from commit d9d12cd352
)
2022-02-11 09:50:59 +01:00
Haoyu Qiu
8231303dec
Backport FlowContainer
2022-02-11 14:48:40 +08:00
Rémi Verschelde
c7f09c1318
Merge pull request #57900 from timothyqiu/canvas-layer-visible
2022-02-10 22:48:05 +01:00
Rémi Verschelde
77196d4c43
Merge pull request #57903 from aaronfranke/3.x-canvas-editor-scale
2022-02-10 22:24:38 +01:00
Haoyu Qiu
f49ffe4bb0
Backport CanvasLayer visibility
2022-02-11 01:00:35 +08:00
Rémi Verschelde
f50c7f7415
Core: Move generated `VERSION_HASH` to a `.cpp` file
...
This lets us have its definition in `core/version.h` and avoid
rebuilding a handful of files every time the commit hash changes.
(cherry picked from commit 90162851a7
)
2022-02-10 13:06:56 +01:00
Aaron Franke
a672f0db17
[3.x] Fix CanvasItemEditor scale editor not using the editor methods
2022-02-10 04:04:53 -06:00
lawnjelly
f0af29346b
ProjectSettings add dirty flag and project_settings_changed signal
...
Most frames there will be no change in project settings, and it makes no sense to read settings every frame in case of changes, as a large number of string compares are involved.
This PR adds a signal to ProjectSettings that can be subscribed to in order to keep local settings up to date with ProjectSettings.
In addition a function `ProjectSettings::has_changes()` is provided for objects outside the signal system (e.g. Rasterizers).
2022-02-09 11:20:25 +00:00
Rémi Verschelde
a47a71b87e
Merge pull request #57093 from Calinou/editor-help-references-use-code-font-3.x
2022-02-08 18:44:55 +01:00
Rémi Verschelde
7dc00ddae8
Merge pull request #57041 from fire-forge/fix-create-root-node-scrolling-3.x
2022-02-08 13:17:55 +01:00
Rémi Verschelde
8acdd0502d
Merge pull request #57737 from winterpixelgames/faster-script-class-get-parent
2022-02-07 18:28:36 +01:00
Jason Knight
6f7cef601a
Use ScriptServer::get_global_class_base instead of script_class_get_base in script_class_is_parent.
2022-02-07 07:36:59 -06:00
kleonc
87b4db9e63
SpriteFramesEditor Fix crash when selecting non-Texture file for splitting
2022-02-06 23:39:26 +01:00
Rémi Verschelde
689f59dca0
Merge pull request #53463 from lawnjelly/vital_redraws
...
Add editor vital redraws only option
2022-02-04 21:42:49 +01:00
Haoyu Qiu
aeb9925615
Revert "Fix ViewportPreview upside-down in 3.x."
...
This reverts commit 1426df66a8
.
2022-02-04 13:54:47 +08:00
Rémi Verschelde
80306cc88a
EditorProperty: Fix range hint parsing with optional step
...
This could lead to have a step of 0 when parsing e.g. "1,10,is_greater".
2022-02-03 12:33:37 +01:00
lawnjelly
a0c6d16c90
Add editor vital redraws only option
...
When editor continuous redraws is switched off, the editor only redraws when a redraw_request was issued by an element in the scene. This works well in most situations, but when scenes have dynamic content they will continuously issue redraw_requests.
This can be fine on high power desktops but can be an annoyance on lower power machines.
This PR splits redraw requests into high and low priority requests, defaulting to high priority. Requests due to e.g. shaders using TIME are assigned low priority.
An extra editor setting is used to record the user preference and an extra option is added to the editor spinner menu, to allow the user to select between 3 modes:
* Continuous
* Update all changes
* Update vital changes
2022-02-02 11:26:45 +00:00
Rémi Verschelde
b6dbff7621
Merge pull request #57361 from lawnjelly/occ_poly_only
2022-02-01 14:04:24 +01:00
lawnjelly
8ea20f5fdd
Add OccluderShapePolygon
...
Add OccluderShapePolygon, glue to Occluder and gizmos etc.
2022-02-01 11:31:06 +00:00
Ryan Roden-Corrent
0a77d2d850
Merge create_physical_skeleton undo entries.
...
Pressing `ctrl+z` after clicking "Create Physical Skeleton" will now
undo the creation of all physical bones by that operation.
Previously undo would remove one bone at a time.
Fixes https://github.com/godotengine/godot/issues/55351 .
(cherry picked from commit c9cce53983
)
2022-01-31 22:54:23 +01:00
Rémi Verschelde
b18a7f5220
Merge pull request #57030 from timothyqiu/disable-script-editor-menu-3.x
...
[3.x] Disable ScriptEditor's menu items when they do nothing
2022-01-26 08:06:05 +01:00
Haoyu Qiu
7a7eab06f8
Fix crash after renaming an animation node
...
(cherry picked from commit 5ea4a8b421
)
2022-01-25 18:55:51 +01:00
kleonc
5b240d833a
SpriteFramesEditor Show AtlasTexture's source texture path in the frame's tooltip
...
(cherry picked from commit c635ab914d
)
2022-01-25 18:17:23 +01:00
Haoyu Qiu
164ef0763a
Update AssetLib network settings when Editor Settings change
...
(cherry picked from commit 575cd3645c
)
2022-01-25 18:14:58 +01:00
Navdeep Singh Rathore
b531a49265
Added the smart word wrap property to preview label
...
(cherry picked from commit 0b55eedc52
)
2022-01-25 18:14:42 +01:00
Hugo Locurcio
357e7e8f9f
Use a fixed-width font for internal references in the editor help
...
Since internal references are often written in scripts, it makes sense
to use a fixed-width font for them.
2022-01-23 18:47:50 +01:00
fire540
a5b9f9f1ed
[3.x] Fix Create Root Node dialog expanding in favorites tab
2022-01-21 11:45:43 -06:00
Rémi Verschelde
d775499f43
Merge pull request #57037 from timothyqiu/groups-editor-3.x
2022-01-21 13:06:11 +01:00
Haoyu Qiu
7dcfe6b878
Improve Groups dock panel and the Group Editor
2022-01-21 18:32:27 +08:00
Rémi Verschelde
3e7e701385
Merge pull request #56909 from Calinou/editor-add-scene-casing-setting-3.x
2022-01-21 10:27:57 +01:00
Rémi Verschelde
45b8cc4854
Merge pull request #56956 from rburing/fix_import_hints_breaking_animations_3.x
2022-01-21 10:20:19 +01:00
Haoyu Qiu
061ee6cdb3
Disable ScriptEditor's menu items when they do nothing
2022-01-21 12:05:32 +08:00
Hugo Locurcio
8948b36f0d
Add project setting to change scene file casing
...
The default behavior is unchanged (the root node name is used as-is).
2022-01-21 02:00:43 +01:00
Hugo Locurcio
856f2d0f8f
Add shortcuts for New Scene and New Inherited Scene actions
...
These default to Ctrl + N and Ctrl + Shift + N respectively.
2022-01-20 20:34:05 +01:00
bruvzg
30ee208bd9
[macOS export, 3.x] Implements ad-hoc signing on Linux/Windows, adds extra privacy settings, entitlements warnings and error checking.
2022-01-20 10:46:29 +02:00
Ricardo Buring
742c54d0a7
Fix import hints breaking node paths in animations
2022-01-19 16:42:38 +01:00
Ricardo Buring
684b7fdf47
Fix "Convert to MeshLibrary" not respecting collision transforms
...
(cherry picked from commit 025d7b9332
)
2022-01-19 16:04:17 +01:00
SaracenOne
37910dd10f
Allow selection of option 'Open in File Manager' even when a file/folder is not explicitly selected.
...
(cherry picked from commit b7348419a3
)
2022-01-19 16:04:16 +01:00
jmb462
3641ec61bb
Prevent renaming to an unkown extension from FileSystem dock.
...
(cherry picked from commit c24433f500
)
2022-01-19 16:04:16 +01:00
Haoyu Qiu
28ae995a1a
Fix crash when undoing node creation of BlendTree editor
...
(cherry picked from commit 19634bd1a1
)
2022-01-19 16:02:54 +01:00
kobewi
7bd13a4325
Automatically go up if current dir was deleted
...
(cherry picked from commit 18633b975b
)
2022-01-19 16:01:04 +01:00
Haoyu Qiu
a36ca80493
Improve the SnapGrid editor icon
...
(cherry picked from commit e9f660c066
)
2022-01-19 14:04:37 +01:00
Rémi Verschelde
ede7e68ab6
Merge pull request #56620 from timothyqiu/left-right-palette-3.x
2022-01-18 16:38:26 +01:00
Rémi Verschelde
c938104a88
Merge pull request #56630 from Pineapple/replace-find-last
2022-01-18 16:36:52 +01:00
Hendrik Brucker
365486543d
Improve Colorpicker presets
2022-01-17 15:21:47 +01:00
Rémi Verschelde
1ee44b2366
ImageLoader: Remove references to unsupported svgz extension
...
I don't see any reference to gzip/svgz supported in the nanosvg library,
and the handful of test gzip compressed svgz files I tried failed loading.
Also cleaning a couple missing includes in platform export code.
2022-01-17 10:52:32 +01:00
kleonc
63fd172fce
Fix AtlasTexture nesting
2022-01-15 00:11:02 +01:00
Rémi Verschelde
a627cdafc5
Update copyright statements to 2022
...
Happy new year to the wonderful Godot community!
2022-01-13 15:54:13 +01:00
Rémi Verschelde
d13e0a368b
Merge pull request #56222 from godotengine/inputmap_undo
2022-01-13 12:27:34 +01:00
Rémi Verschelde
da5a11fe45
i18n: Sync editor translations with Weblate
2022-01-12 18:45:00 +01:00
zacryol
6fc587a6e5
Reword "Open Project Data Folder" as "Open User Data Folder"
...
Clarifies that the button opens the user:// dir
and for better consistency with certain ProjectSettings values:
"Use Hidden Project Data Directory" is named similarly, but refers to data within res://
and two values refer to user:// as "User Dir"
(Translations were not updated)
and rename enum value accordingly
(cherry picked from commit 54018e4021
)
2022-01-12 17:39:31 +01:00
Rémi Verschelde
7249e170f7
Merge pull request #56044 from timothyqiu/position-nodes
...
[3.x] Improve axis awareness and visibility for Position2D and Position3D
2022-01-11 08:54:52 +01:00
Rémi Verschelde
8a192cd0ab
Merge pull request #55987 from bruvzg/wt 🤎 3
2022-01-10 16:43:56 +01:00
Rémi Verschelde
edd9534f97
Merge pull request #53900 from ChronicallySerious/update-vcs-1
2022-01-10 12:18:57 +01:00
Bartłomiej T. Listwon
22750b1c03
Replace String::find_last with rfind where possible (backward compatible with old API)
2022-01-08 22:40:44 +01:00
Haoyu Qiu
37a38ece59
Allow showing both left and right side panels
2022-01-08 20:20:36 +08:00
Rémi Verschelde
67db681871
Merge pull request #56562 from mortarroad/3.x-fix-import-dock-multiple
2022-01-07 16:15:35 +01:00
Rémi Verschelde
01fef99749
Merge pull request #56325 from pycbouh/editor-resource-picker-needs-type-3.x
2022-01-07 16:13:46 +01:00
Morris Tabor
756d5531b6
Fix the importer dock being blank when selecting multiple files.
...
Broken in 0adc1ebf41
2022-01-07 15:49:34 +01:00
Rémi Verschelde
aad12a2df5
Merge pull request #54824 from LightningAA/backport-gradient-texture-2d
2022-01-07 14:47:44 +01:00
Rémi Verschelde
02d9ac1071
i18n: Sync template with current 3.x codebase
...
Weblate will now track the state of `3.x` to prepare for the 3.5 release.
2022-01-07 13:30:21 +01:00
Rémi Verschelde
321d5f0861
i18n: Sync editor translations with Weblate (last 3.4 sync)
...
Next sync will be with the `3.x` branch to prepare the 3.5 translations.
(cherry picked from commit dd002197db
)
2022-01-07 13:30:21 +01:00
Pierre-Thomas Meisels
7dd8e364b1
OSX: Add signing of directory structure in Library when exporting for OSX.
...
Add exporting of folder structure in PlugIns when exporting for OSX.
2022-01-07 01:15:37 +01:00
Rémi Verschelde
b197de6f5f
Fix typos with codespell
...
Using codespell 2.1.0.
Method:
```
$ cat > ../godot-word-whitelist.txt << EOF
ang
curvelinear
dof
doubleclick
fave
findn
GIRD
leapyear
lod
merchantibility
nd
numer
ois
ony
que
readded
seeked
statics
synching
te
uint
unselect
webp
EOF
$ codespell -w -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po"
$ git diff // undo unwanted changes
```
2022-01-07 00:14:54 +01:00
Rémi Verschelde
94184d8039
Merge pull request #56426 from V-Sekai/foreign_scene_child_node_fix_3_x
2022-01-06 12:51:50 +01:00
SaracenOne
2056e8b028
Prevent saving branches in foreign scenes
2022-01-06 10:16:18 +00:00
Rémi Verschelde
8f17a4037b
Merge pull request #56466 from Chaosus/vs_uniform_hints_3.x
2022-01-06 09:39:27 +01:00
LlamaLad7
a0cc90a908
Editor: Resolve being able to move control nodes in containers using arrow keys
...
Fixes #55260
(cherry picked from commit b5407f802f
)
2022-01-06 00:35:44 +01:00
kobewi
0adc1ebf41
Make Import Dock more obvious to use
...
Co-authored-by: Jairo Honorio <registrofx@gmail.com>
(cherry picked from commit cff0a1a896
)
2022-01-06 00:33:04 +01:00
kobewi
ad767b2ec4
Don't edit foreign resources when restoring scene
...
(cherry picked from commit 363a9c674a
)
2022-01-06 00:27:35 +01:00
kobewi
664f36308a
Add drag and drop for NodePaths
...
(cherry picked from commit acf563e59f
)
2022-01-06 00:23:08 +01:00
bruvzg
d2558bdc8c
Fix decoding UTF-8 filenames on unzipping.
...
(cherry picked from commit d2573c1636
)
2022-01-06 00:21:37 +01:00
Jake Young
09bc9eb101
Backport NavigationServer with RVO2 to `3.x`
...
Change the entire navigation system.
Remove editor prefix from nav mesh generator class. It is now used for baking
at runtime as well.
Navigation supports obstacle avoidance now with the RVO2 library.
Nav system will also automatically link all nav meshes together to form one
overall complete nav map.
2022-01-05 16:00:56 +01:00
Rémi Verschelde
791f454b17
Merge pull request #56364 from V-Sekai/preview_node_sanitize_3_x
...
Clean preview node of all nodes which are not derived from VisualInstances [3.x]
2022-01-04 17:20:49 +01:00
Rémi Verschelde
fde61a044b
Merge pull request #54913 from rcorre/copy-backport
2022-01-04 15:29:39 +01:00
Rémi Verschelde
25369acff9
Merge pull request #51708 from Calinou/viewport-add-32bpc-color-depth
2022-01-04 14:30:24 +01:00
Hugo Locurcio
d6e7308b3f
Split 3D editor sensitivity freelook sensitivity into its own setting
...
This allows configuring orbit sensitivity and freelook sensitivity
independently from each other. Often, it's needed to use a lower
freelook sensitivity compared to the orbit sensitivity.
Also, when using a FOV scale lower than the default
(using Alt + mouse wheel), the mouse sensitivity is now scaled
to make it easier to use freelook to look at distant objects.
This does not affect orbiting and panning.
2022-01-03 22:36:42 +01:00
Yuri Roubinsky
5b0fe7880e
[3.x] Add hints and default values to the uniform nodes in visual shader
2022-01-03 22:59:10 +03:00
Rémi Verschelde
0aa7768b1e
Merge pull request #54207 from Calinou/3d-editor-add-quick-fov-adjust-3.x
2022-01-03 20:44:00 +01:00
SaracenOne
5935cee298
Clean preview_node of all none VisualInstances
2021-12-31 01:19:15 +00:00
Yuri Sizov
b32acc57f3
Make the theme editor correctly stop updating after it was hidden
2021-12-29 23:40:23 +03:00
Yuri Sizov
d9bf3e5e35
Fix return type for the exposed EditorResourcePicker method
2021-12-29 21:57:14 +03:00
Ryan Roden-Corrent
be2203bf9f
Copy/Paste property paths/values in inspector.
...
Resolves godotengine/godot-proposals#106.
Adds the following property menu options with default bindings:
- Copy Property (ctrl+c)
- Paste Property (ctrl+v)
- Copy Property Path (ctrl+shift+c)
If you hover over a property label in the inspector dock, you can copy
either the property value or the property path to the system clipboard
using the shortcuts above This is especially useful for the
`AnimationTree`, where code might reference properties like
"parameters/state/aim/move/blend_position".
One issue is that if you click a property, then click on the node you
currently have selected in the node tree, then press ctrl+shift+c, it
will still copy the selected property path rather than the node path. If
you click on a different node in the nodetree, however, ctrl+shift+c
will return to copying the nodepath.
The property value copy/paste was implemented by KoBeWi at #39398 and
merged into this PR due to their similarity.
Backport of 0205fffbf3
from master.
2021-12-27 11:14:53 -05:00
Michael Alexsander
d00e183512
Fix undo/redo operations in Input Map
2021-12-24 12:17:34 -03:00
Rémi Verschelde
9d17215dbf
i18n: Sync editor translations with Weblate
...
(cherry picked from commit 0fe94ee6e5
)
2021-12-21 12:33:56 +01:00
kobewi
f874df58f7
Allow to copy foreign nodes
...
(cherry picked from commit bd6e9e0d6e
)
2021-12-21 11:27:44 +01:00
Pedro J. Estébanez
4f38a9e4d6
Stop asuming a default value of NIL means there's no default
...
(cherry picked from commit 18663aa305
)
2021-12-21 11:27:14 +01:00
jabcross
a074b66380
Allow selection in asset description
...
Many assets include links in the description.
This change enables selection for the links,
and other information such as version numbers,
to be copied/pasted.
(cherry picked from commit 814a4ee434
)
2021-12-21 11:25:57 +01:00
kleonc
d0a5580321
EditorAtlasPacker Fix incorrectly deducing zero height in some cases
...
(cherry picked from commit 46eebf11ca
)
2021-12-21 11:21:23 +01:00
bruvzg
59085d5051
[Windows] Improve console handling and execute.
...
Always build with the GUI subsystem.
Redirect stdout and stderr output to the parent process console.
Use CreateProcessW for blocking `execute` calls with piped stdout and stderr (prevent console windows for popping up when used with the GUI subsystem build, and have more consistent behavior with non-blocking calls).
Add `open_console` argument to the `execute` to open a new console window (for both blocking and non-blocking calls).
Remove `interface/editor/hide_console_window` editor setting.
Remove `Toggle System Console` menu option.
Remove `set_console_visible` and `is_console_visible` functions.
2021-12-18 10:13:27 +02:00
Haoyu Qiu
2bff705e13
Improve axis awareness and visibility for Position2D and Position3D
...
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2021-12-18 12:53:24 +08:00
Haoyu Qiu
d99a313fd3
Fix font preview text color on light background
2021-12-18 00:34:54 +08:00
Rémi Verschelde
660e8e7bb8
i18n: Sync editor translations with Weblate
...
(cherry picked from commit 8a30e04fd1
)
2021-12-16 15:15:41 +01:00
Rémi Verschelde
a90cac7ba4
Merge pull request #55988 from timothyqiu/http-proxy-3.x
2021-12-16 13:09:07 +01:00
Haoyu Qiu
1cada6bfa9
Add proxy support for `HTTPClient` and the editor
...
* Adds proxy related methods for `HTTPClient` and `HTTPRequest`
* Adds `network/http_proxy/{host,port}` editor settings
* Makes AssetLib and Export Template Manager proxy aware
2021-12-16 19:38:53 +08:00
Haoyu Qiu
c11b1850c4
Make `--doctool` locale aware
...
* Adds `indent(prefix)` to `String`
* Moves the loading of tool/doc translation into
`editor/editor_translation.{h,cpp}`
* Makes use of doc translation when generating XML class references, and
setup the translation locale based on `-l LOCALE` CLI parameter.
The XML class reference won't be translated if `-l LOCALE` parameter is
not given, or when it's `-l en`.
2021-12-16 18:27:32 +08:00
Hugo Locurcio
69f7f7310d
Make EditorSpinSlider grabbers thicker to be more noticeable
2021-12-15 17:18:53 +01:00
Yuri Sizov
9c155a25d0
Improve user communication in the Add Item Type dialog
2021-12-14 17:22:37 +03:00
Zae
1426df66a8
Fix ViewportPreview upside-down in 3.x.
2021-12-12 00:53:49 +08:00
Rémi Verschelde
3e41e8dfa0
Merge pull request #55521 from Calinou/editor-spin-slider-float-draw-filled-slider-3.x
2021-12-10 19:00:31 +01:00
Rémi Verschelde
e82091db51
Merge pull request #55782 from RPicster/3.x-gpu-particle-vis-rect
2021-12-10 13:50:45 +01:00
Rémi Verschelde
eac0d90c39
Merge pull request #55560 from pycbouh/docs-overridden-cross-linked-3.x
...
[3.x] Make overridden properties link to parent definition
2021-12-10 12:42:09 +01:00
Rémi Verschelde
95f895f087
i18n: Remove deleted translations from PO files
...
Since we bundle the whole files in the editor binary, they actual impact the
binary size needlessly.
Automate it via `make merge`.
(cherry picked from commit 6fb47a271f
)
2021-12-10 11:52:45 +01:00
Rémi Verschelde
6b1fa33c55
i18n: Sync editor translations with Weblate
...
(cherry picked from commit fd86272ca0
)
2021-12-10 11:52:35 +01:00
Raffaele Picca
995408b492
GPU Particles (2D + 3D) visibility rect / gizmo optimization for reduced visual clutter
2021-12-10 11:22:44 +01:00
Hugo Locurcio
d879540456
Improve accent color modulate visibility for the Anchor editor icon
...
This switches to the default icon color so that the accent color
modulation becomes more easily visible.
(cherry picked from commit f0c7d78ebf
)
2021-12-10 11:18:04 +01:00
Maverick Liberty
e6cee71097
ResourceImporterScene: Add error when "default" is not defined to create clips
...
(cherry picked from commit 4b9e12b8c0
)
2021-12-10 11:08:13 +01:00
Cory Petkovsek
3d20218dae
Clears RIDs wherever they are freed by VisualServer or PhysicsServer and possibly reused. Fixes #53374
2021-12-10 02:31:30 +08:00
Raul Santos
229489f7b7
Expose `ScriptEditor::edit` to scripting
...
Exposes a method in `EditorInterface` to open scripts on a specified
line and column. This method handles if the internal or the external
editor should be used.
(cherry picked from commit 9535831866
)
2021-12-09 12:05:14 +01:00
kobewi
6eb1c92cea
Fix custom built-in script names
2021-12-08 14:04:10 +01:00
Rémi Verschelde
643a9a3420
Merge pull request #55526 from pycbouh/docs-sort-group-newline-theme-and-enums-3.x
2021-12-07 12:14:48 +01:00
kobewi
4405daa09b
Allow to add RESET values from existing keys
...
(cherry picked from commits f77a494d22
and b7d83689e4
)
2021-12-06 18:26:15 +01:00
Haoyu Qiu
dcb5d7a14f
Fix EditorPlugin.remove_inspector_plugin() instance cleanup
...
(cherry picked from commit da94b61d09
)
2021-12-06 16:52:00 +01:00
kobewi
d0569255f2
Properly reload built-in tool scripts
...
(cherry picked from commit 75e8eafa72
)
2021-12-06 16:51:55 +01:00
lawnjelly
3d981b8265
Add option to use handles to RID
...
Adds an option to compile an alternative implementation for RIDs, which allows checks for erroneous usage patterns as well as providing leak tests.
2021-12-06 14:43:34 +00:00
kobewi
f899b76747
Improve save handling for built-in scripts
2021-12-04 01:28:52 +01:00
Yuri Sizov
1cf6d21f69
Make overridden properties link to parent definition
...
Co-authored-by: Josh DeGraw <joshmdegraw@gmail.com>
2021-12-03 17:48:49 +03:00
kobewi
eef08ea3e0
Show mouse position when clicking ruler tool
...
(cherry picked from commit 0f7d7c9ffb
)
2021-12-03 12:19:47 +01:00
Marcel Admiraal
e0729b9c79
Allow any kind of Mesh to be added to an EditorSpatialGizmo
2021-12-03 08:51:38 +00:00
Yuri Sizov
eb98210be4
Allow scrolling theme preview when the control picker is active
2021-12-02 19:03:31 +03:00
Raul Santos
ba3e1d6ced
Skip script property in remote object property list
2021-12-02 12:37:17 +01:00
Rémi Verschelde
f36debf8de
Merge pull request #55232 from Calinou/script-editor-add-replace-in-files-3.x
2021-12-02 09:38:01 +01:00
Yuri Sizov
ebd8101546
Sort and group theme properties in docs, improve formatting for theme and enums
2021-12-01 22:48:17 +03:00
Hugo Locurcio
9d3acbfad9
Draw the filled part of the slider on float EditorSpinSliders
...
This makes it more obvious that the slider has a "filled" part
on the left, which improves visibility especially in wider inspectors
(such as the Project Settings and Editor Settings).
2021-12-01 19:12:31 +01:00
janglee
0b327eb46e
VCS: Add push, pull, fetch and improved diff view to VCS UI
...
This commit was created by merging the commits presented in #39255 for
the GSoC 2020 VCS Improvement project
VCS: Make EditorVCSInterface store less amount of internal state
VCS: Add force push checkbox + more frequent VCS updates
Add force push checkbox in the Commit dock. Also add some missing
opportunities for checking the VCS state again on from UI inputs
VCS: Fix script contents not being updated on merge conflict
VCS: Add branch creation VCS interface calls
VCS: Add VCS remote creation and remote selection menus
VCS: Show more commit information + Fix truncated commit offsets
VCS: Make VCS less noisy + Fix diff view refreshes
VCS: Fix mismatched argument names in VCS helpers
VCS: Add SSH transport support for remote operations
Also, moves the editor's VCS settings registrations to
project_settings.cpp and editor_settings.cpp
VCS: Change TTR() to vformat() for branch and remote removal text
VCS: Add VCS branch icon instead of using Tree node icon
Co-authored-by: @ChronicallySerious
2021-12-01 22:52:07 +05:30
Rémi Verschelde
c2470f5298
EditorInspector: Add missing arg names for GDNative
2021-12-01 17:34:38 +01:00