Commit graph

7172 commits

Author SHA1 Message Date
Haoyu Qiu
b657d0c76c Add dedicated macros for property name extraction
* Replace case-by-case extraction with PNAME & GNAME
* Fix group handling when group hint begins with property name
* Exclude properties that are PROPERTY_USAGE_NOEDITOR
2022-05-19 11:31:35 +08:00
Yuri Rubinsky
32b9818965 Add node list param to GraphEdit::delete_nodes_request signal 2022-05-18 12:36:00 +03:00
Rémi Verschelde
caeae1f949 i18n: Sync editor translations with Weblate 2022-05-17 23:41:31 +02:00
Haoyu Qiu
b611b4cddc Create onready variables when dropping nodes and holding Ctrl 2022-05-17 11:52:17 +08:00
FireForge
5968dbd747 Expose EditorSpinSlider.hide_slider
(cherry picked from commit 8e752b06e8)
2022-05-16 21:12:21 +02:00
Haoyu Qiu
59151db99e Fix crash when editing pinned StyleBox
(cherry picked from commit 4b013a9c96)
2022-05-16 21:12:21 +02:00
kleonc
06b7f218c6 AnimationTrackEditor Fix signal connection on root exiting the tree
(cherry picked from commit 2ede2bac0b)
2022-05-16 16:00:03 +02:00
FireForge
f17c5fa7bd Add interpolation modes to Gradient
- Linear, Constant, and Cubic interpolation modes
- Partial backport of #53321
2022-05-12 14:24:04 -05:00
Rémi Verschelde
6e07417abb
Merge pull request #60804 from RedHeadphone/patch-1 2022-05-10 11:01:45 +02:00
Red Headphone
a0acb41379 fix: no quit confirmation on project reload if files are saved 2022-05-10 14:02:55 +05:30
Hugo Locurcio
8682874419
Rename profiler "Idle Time" to "Process Time"
References to "idle time" are progressively being replaced by
"process time" throughout the engine to avoid confusion.

This also changes some debug prints to be printed only when verbose
mode is enabled (like in `master`).
2022-05-06 19:31:31 +02:00
Haoyu Qiu
809a0362c1 Make import defaults inspector honor property style settings 2022-05-06 22:24:51 +08:00
Fabio Alessandrelli
225e75daba [3.x] [Debugger] Add --debug-server CLI option.
Automatically starts the editor debug server at given <IP>:<PORT>.

E.g.:
 # Run editor and debug server listening on any interface, port 8080
godot3 -e --path proj/proj_empty --debug-server *:8080

 # Run the godot project connecting to that debug server.
godot3 --path proj/proj_empty --remote-debug 127.0.0.1:8080
2022-05-06 14:02:00 +02:00
Rémi Verschelde
0997c2de84 i18n: Sync editor translations with Weblate 2022-05-05 15:54:58 +02:00
kobewi
7c6203a60e Cache script icons in editor
(cherry picked from commit 3f50dad460)
2022-05-05 15:54:58 +02:00
Haoyu Qiu
92256df9fb Load fallback icon for custom class when no icon available
(cherry picked from commit ba90778f1c)
2022-05-05 13:43:39 +02:00
Rémi Verschelde
eea48d9a1d
Merge pull request #60770 from KoBeWi/animetiles
Expose tile_texture property
2022-05-05 08:36:43 +02:00
kobewi
0b5289cadf Expose tile_texture property 2022-05-05 02:22:43 +02:00
Hugo Locurcio
aaf8424d7e
Use physical keys for numpad emulation in the 3D editor
This makes numpad emulation work on non-QWERTY keyboard layouts
more reliably.
2022-05-05 01:33:47 +02:00
Rémi Verschelde
7774cbd8f2
Merge pull request #42298 from gvekan/stop-multimeshinstance-populate-reset
Stop reset of MultiMesh properties on populate
2022-05-05 00:35:24 +02:00
Haoyu Qiu
9c82c3581f Handle AssetLib repository config error 2022-05-04 22:19:21 +08:00
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