Commit Graph

149 Commits

Author SHA1 Message Date
132fd3ad10 Ported: Only switch to node when not dragging it - KoBeWi
8f52320310
2022-07-28 10:18:16 +02:00
Hugo Locurcio
0177073d53 Increase saturation of accent color on the Grey editor theme preset
This makes activated icons easier to distinguish from non-activated icons.
2022-07-28 00:01:51 +02:00
d161a30a4b Ported: Backport TextMesh and expose dynamic font vector outlines - bruvzg
d502bd4847
2022-07-28 00:01:20 +02:00
7fd0b29642 Ported: Backport Label3D node implementation and Sprite*3D material render priority. - bruvzg
dc6d8d6098
2022-07-27 23:40:35 +02:00
kleonc
3f7569cb91 EditorPropertyArray Fix crash when drag-reordering elements in the inspector
(cherry picked from commit 33b29704926f623f97402e0cfbf2591a163b8ab6)
2022-07-27 23:13:09 +02:00
e00c158647 Ported: Fix incorrect separators in Scene tree menu - timothyqiu
78ec40e9ff
2022-07-27 23:08:12 +02:00
bruvzg
5b66d10760 Fix incorrect encoding used in _error_handler functions
Co-authored-by: Haoyu Qiu <timothyqiu32@gmail.com>
2022-07-27 23:05:03 +02:00
SnailRhymer
45f12bc8be Fix _class_desc_select to handle Variant.Type
Change the order of checks in _class_desc_select to first try checking current page and GlobalScope before resorting to slicing either side of the first ".". This may change previous search behaviours - previously if both x.y and @GlobalScope.x.y existed, _class_desc_select would select the former; it will now select the latter.

Also tidies up some comments.
2022-07-27 23:03:55 +02:00
Hugo Locurcio
35a813b06c Fix project manager display at small window sizes
- Don't use minimum size for project order/filter controls.
  This also allows the filter field to become longer at large
  window sizes.
- Hide the loading label instead of changing its opacity.
  This causes a reflow during loading, but this is preferable to having
  the UI overflow.
- Hide the language dropdown on Android as it doesn't work correctly.

This allows the project manager to be displayed correctly at much
lower window sizes than previously.
2022-07-27 23:01:46 +02:00
85776387c5 Fix compile. 2022-07-27 20:07:29 +02:00
53f8707713 Ported: Add node list param to GraphEdit::delete_nodes_request signal - Chaosus
32b9818965
2022-07-27 20:01:38 +02:00
Haoyu Qiu
9281e140dd Properly clean button_add_item ref in Dict property editor
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2022-07-27 19:50:29 +02:00
Douglas Leão
92d4c75d57 ResourceImporterWAV: Add support for 64-bit IEEE float 2022-07-27 19:48:12 +02:00
FireForge
cacca31e08 Expose EditorSpinSlider.hide_slider
(cherry picked from commit 8e752b06e8a0f116991a0e618cc47e4fe2f3d270)
2022-07-27 19:11:34 +02:00
Haoyu Qiu
9912a99675 Fix crash when editing pinned StyleBox
(cherry picked from commit 4b013a9c967ecc063801b3d4a0e833dcbc865f83)
2022-07-27 19:07:26 +02:00
kleonc
929216d32a AnimationTrackEditor Fix signal connection on root exiting the tree
(cherry picked from commit 2ede2bac0bb14b96b0d6f65e99d4eeccdc00702b)
2022-07-27 18:29:41 +02:00
FireForge
71d20ea670 Add interpolation modes to Gradient - Linear, Constant, and Cubic interpolation modes - Partial backport of #53321 2022-07-27 18:12:14 +02:00
Red Headphone
7ddeae2e23 fix: no quit confirmation on project reload if files are saved 2022-07-27 17:46:15 +02:00
4964f541e7 Revert afc9407ae0. 2022-07-27 15:43:40 +02:00
c94e099389 Fix compile. 2022-07-27 15:16:45 +02:00
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