Commit Graph

129 Commits

Author SHA1 Message Date
Hugo Locurcio
f7585bea99 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-07-27 15:08:06 +02:00
Haoyu Qiu
afc9407ae0 Make import defaults inspector honor property style settings 2022-07-27 15:07:38 +02:00
18bb8e671a Ported: [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
- Faless
225e75daba
2022-07-27 15:07:09 +02:00
kobewi
89b5c84fd1 Cache script icons in editor
(cherry picked from commit 3f50dad460dc2239343e0eb9ba8fb63b8fd20b88)
2022-07-27 15:00:41 +02:00
Haoyu Qiu
957fcb67b1 Load fallback icon for custom class when no icon available
(cherry picked from commit ba90778f1cb670db34e3d51923456e90b29fa1c4)
2022-07-27 14:27:25 +02:00
Hugo Locurcio
263c6ab535 Use physical keys for numpad emulation in the 3D editor
This makes numpad emulation work on non-QWERTY keyboard layouts
more reliably.
2022-07-27 14:17:52 +02:00
Gustav
7126f79cc6 Stop reset of MultiMesh properties on populate
ColorFormat and CustomFormat is not changed when populate is called.
2022-07-27 14:17:19 +02:00
bruvzg
127060d953 Fix export plugins after embedded PCK loading changes. 2022-07-27 14:10:05 +02:00
kleonc
e992e44d75 Fix inspecting nested dictionaries/arrays when debugging 2022-07-27 14:09:44 +02:00
3a4cd703ac Fix compile. 2022-07-27 14:07:52 +02:00
37413614eb Ported: Add an inspector preview for BitMap - fire-forge, timothyqiu
e8d1552af2
2022-07-27 14:04:48 +02:00
FireForge
57bdac4e2b Add a RayCast2D.cast_to editor handle 2022-07-27 14:02:38 +02:00
Haoyu Qiu
1980eeaa36 Fix external link icon black background 2022-07-27 13:07:56 +02:00
b26a1cd3b4 Ported: [3.x] Improve embedded PCK loading and exporting. - bruvzg
bea7c9be5d
2022-07-27 09:33:39 +02:00
9eee70dbb7 Ported: 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>
- Calinou
2bc036dad5
2022-07-27 09:02:28 +02:00
FireForge
3f22cc9f3b Fix UndoRedo in Gradient editor
(cherry picked from commit a384031326b96dd1185b7ba33809660ba5551549)
2022-07-27 08:54:15 +02:00
Daniel Kříž
028a39f49b Fix missing favorite files in filesystem dock
(cherry picked from commit cbe363d7161d765577e9babf22a2d6f158b6259a)
2022-07-27 01:25:52 +02:00
Haoyu Qiu
5d03519e6d Make more import preset name translatable 2022-07-27 01:17:35 +02:00
Haoyu Qiu
122a796535 Fix custom class icon when it inherits from a script 2022-07-27 01:17:09 +02:00
74dc60ec5f Fix compile. 2022-07-27 01:05:16 +02:00
d1108dc8bc Ported: Implement Scene Unique Nodes - KoBeWi
e1c74ae83f
2022-07-27 00:45:48 +02:00
Hugo Locurcio
416258cd55 Fix project manager window position when editor scale is above 100%
This backports a fix from `master` to `3.x` (with simplified code).
2022-07-26 15:00:44 +02:00
FireForge
d4d913bd4c Fix EditorProperty text and icon overlap bugs
(cherry picked from commit dbc380af59b28de8243f945c6cb965bee83efadf)
2022-07-26 14:59:48 +02:00
2b6b95db1f Fix compile. 2022-07-26 12:55:53 +02:00
Haoyu Qiu
6191e0f0b8 Add option to paste animation as duplicate
Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>
2022-07-26 12:45:49 +02:00
Haoyu Qiu
0658cad124 Localize unnamed project name in editor window title
(cherry picked from commit 35d087813981d05a699221f6bc7e5c72fc55c665)
2022-07-26 12:36:44 +02:00
Jason Yundt
983eec5521 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 1cc7e7ec33a652647d63cb32fa164eceef87c653)
2022-07-26 12:34:50 +02:00
Haoyu Qiu
5dc677822d Clip animation track keyframe rects
(cherry picked from commit c7e06e2202c97dbd75933fe1b587d668a717c5f2)
2022-07-26 11:51:46 +02:00
9d9a394af6 Ported: Add an explicit way to remove a theme type. - timothyqiu and YuriSizov
f6251724af
2022-07-25 23:46:08 +02:00
48366a8490 Ported: Refactor editor extract.py - timothyqiu
545e2ceb8a
2022-07-25 23:04:53 +02:00
79c193aabb Ported: Improve Select Frames dialog of SpriteFrames editor. - timothyqiu
32488b46a6
2022-07-25 22:25:18 +02:00
15b447d880 Ported: Update the editor display scale based on the device's scaled density - m4gr3d
3ba0508f79
2022-07-25 22:07:34 +02:00
d85caf2c71 Ported:
[3.x] Add option to make selection unique - ConteZero
0ffacff998
2022-07-25 19:46:09 +02:00
9017b5bf26 Ported:
Restore hidden folder behavior for project manager - Ev1lbl0w
5f05cb8696
2022-07-25 19:11:45 +02:00
335d98afcd Ported:
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. - Calinou
053b54b67c
2022-07-25 19:05:27 +02:00
eb99e955d9 Ported:
Update SceneTree debug colors when settings changed - timothyqiu
37d4306c2e
2022-07-25 18:55:29 +02:00
Ev1lbl0w
5dbc95691c Hide .gdignore'd folders
(cherry picked from commit 057a0e00ebb3a7cbfd5692363c9d219156f0373c)
2022-07-25 18:48:54 +02:00
Haoyu Qiu
168b1c2ae5 Fix popup dialog UI in AnimationTreePlayer editor 2022-07-25 18:48:32 +02:00
82aaf6d586 Fix build. 2022-07-25 18:42:16 +02:00
Haoyu Qiu
8eb81855d9 Disable "Open in Inspector" when there is no animation 2022-07-25 18:18:44 +02:00
Haoyu Qiu
c0010ad0f1 Focus filter LineEdit after Theme Type dialog popup 2022-07-25 18:15:49 +02:00
Haoyu Qiu
9e0a1c88a0 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-07-25 18:12:28 +02:00
ConteZero
d45100b57b Fix Copy Selection on editor_log 2022-07-25 18:10:21 +02:00
Nicholas Huelin
344d18b2ee 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 01ca9d3eec71154b6b0d32d34cab6b9fdb6fd24c)
2022-07-25 17:49:58 +02:00
Daniel Kříž
62dc43396c Fix persistent favorites after rename
Signed-off-by: Daniel Kříž <Daniel.kriz@protonmail.com>
(cherry picked from commit 0535ef549a6563e374c95ff9bdf6171117a59e6a)
2022-07-25 17:49:27 +02:00
Vitika9
41eb735bb2 Made reload current project ask for confirmation with unsaved changes
(cherry picked from commit eb81ac8fc524edf7fa3fdcaaa1e7f22ffbbe287c)
2022-07-25 17:48:55 +02:00
taigi100
4ce3baf8f9 Update properties to properly filter for templates.
(cherry picked from commit d8d73cdd023253d778acf0e826b38be4046a6e1f)
2022-07-25 17:45:18 +02:00
Haoyu Qiu
10eba686fb Fix crash when exporting projects with shared libraries
(cherry picked from commit 680bcef82546fa0f50b431f20423b62621d1c5ac)
2022-07-25 17:43:42 +02:00
Rémi Verschelde
92561386ec 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 b389ce5ccd664c993772a0b71ba99a875106b523)
2022-07-25 17:42:23 +02:00
Vitika9
b6273a70ce Removed extra separator in absence of ChangeType and Rename
(cherry picked from commit 46ca4737f19f3701ec352f2e898514109c096587)
2022-07-25 17:41:16 +02:00