Commit Graph

167 Commits

Author SHA1 Message Date
kobewi
8a60933e6d Fix NodePath property dragging 2022-07-29 09:03:29 +02:00
bb5acfd745 Ported: [3.5] Update NavigationServer backport
Backports features and bugfixes from current Godot 4.0 to 3.5 and brings functions and codebase of both version largely in sync to make tutorials more compatible and future backports easier.
- smix8
8bd7c6188b
2022-07-28 22:34:28 +02:00
152f9728b0 Ported: [Windows, 3.x] Add support for handling network share paths. - bruvzg
11a7997a67
2022-07-28 19:33:43 +02:00
Hugo Locurcio
309d538703 Print messages when textures are detected as used in 3D/normal map
This detection automatically changes some import options, so it's
important that users are aware of this.
2022-07-28 19:22:55 +02:00
Haoyu Qiu
52d0f7eef9 Fix scene tree dock focus after using "Add Child Node" button 2022-07-28 19:05:03 +02:00
Hugo Locurcio
3268544299 Rename "Convert to Mesh2D" to "Convert to MeshInstance2D" in the editor
These actions create MeshInstance2D nodes, not Mesh2D resources.
2022-07-28 19:04:16 +02:00
kobewi
24a7bbc9ea Don't handle pending clicks outside scene tree
(cherry picked from commit ec6bbd486f31245af3764c466431ffc2d13d52ed)
2022-07-28 19:03:25 +02:00
43131ad4cb Ported: Add readable export errors. Add RTL image vertical alignment support. - bruvzg
f5fa1ca944
2022-07-28 18:40:46 +02:00
Haoyu Qiu
ddac7ae8ed Add tooltips to Export dialog icon buttons
(cherry picked from commit f78943b08b4568dc1c7aa85e1d6b351f18f9472c)
2022-07-28 15:16:08 +02:00
Danny Chung
737942ac85 Increase AnimationPlayer position SpinBox to fit more decimals
Fixed UI bug where it appeared that pushing the up or down incrementing
arrows did not increment the SpinBox value appropriately. Just needed
to increase the size of the box horizontally, to display four decimal
points consistently.

(cherry picked from commit 09658f7e3ba7ffc87ae9f90aa42f64dfeeb33f40)
2022-07-28 15:04:58 +02:00
kobewi
f23274bbf2 Properly release LMB even while panning 2022-07-28 15:00:05 +02:00
kobewi
bbf62e97b8 Improve title of DependencyEditorOwners
(cherry picked from commit 847eee71dfb9462df69195e8415a29258994584c)
2022-07-28 14:57:30 +02:00
Johannes Witt
eb1fa27364 Fix EditorSpinSlider mouse reset position on tree exit
(cherry picked from commit 784b1adb188f6003f01201d8cff3dab574c6beab)
2022-07-28 14:56:09 +02:00
Arsh Panesar
a55cfb671b Fixed Populating MultimeshInstance Crash
When populating a MultimeshInstance (node), Godot would set the
new Multimesh's color and custom data format as the current node's
multimesh, which would cause a crash if node's multimesh is null.

Populate Function will now check if node has a multimesh or not, and
set the new multimesh with default (NONE) values if node's multimesh is
null.

Fixes Issue #61553
2022-07-28 13:46:23 +02:00
a8a140af27 Ported: Fix empty space after project sort options - timothyqiu
03e84abfa5
2022-07-28 13:42:15 +02:00
Hugo Locurcio
0f28c94c91 Increase the editor profiler frame history default and maximum limit
The new default value (1800) allows storing 30 seconds of profiling
at 60 FPS.

The new maximum value (10000) allows storing about 3 minutes of
profiling at 60 FPS.

The profiler graph will scale accordingly to the chosen setting,
so the default value is kept relatively low to prevent the graph
from looking too squished on narrow displays.
2022-07-28 11:35:24 +02:00
FireForge
2c0ca59835 Remove extra space in property editors - NodePath, Resource, and multiline string 2022-07-28 11:16:23 +02:00
lawnjelly
fb4c62b273 Fix Occluder Poly gizmo warning spam
The call to draw the handles in the OccluderPoly was spamming errors when the hole has no points. This PR prevents trying to draw the gizmo for the hole when there are no points, which prevents the spam.
2022-07-28 11:11:37 +02:00
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