Juan Linietsky
61630d4e1e
Merge pull request #75829 from reduz/fix-ci-build-error
...
Fix CI build error
2023-04-08 19:25:05 +02:00
Yuri Rubinsky
12142f2b50
Fix completion of source_color
hint for texture arrays in shaders
2023-04-08 20:13:26 +03:00
Juan Linietsky
37362202a4
Fix CI build error
...
Fixes potential use of uninitialized variable.
2023-04-08 18:21:08 +02:00
Rémi Verschelde
3683b040ed
Merge pull request #75627 from reduz/faster-node-child-management
...
Optimize Node children management
2023-04-08 18:01:02 +02:00
Michael Alexsander
2ea4f8bc78
Fix bottom of LineEdit
s in the editor being rounded
2023-04-08 09:50:17 -03:00
Michael Alexsander
f057d755ab
Remove unnecessary zero multiplications
2023-04-08 09:31:05 -03:00
yedpodtrzitko
c01d2902d9
optimize blend position search
2023-04-08 18:49:06 +07:00
Juan Linietsky
ab5fc22f67
Optimize Node children management
...
* Adding and removing child nodes is now constant time, speed up should be huge.
* Searching for node paths as in ("path/to/node") should be far faster too.
This changes the children management and makes it a hashmap, optimizing most StringName based operations.
Most operations should be severe speed up without breaking compatibility.
This should fix many issues regarding to node access performance, and may also speed up editor start/end, but benchmarks are needed. So if you want to test, please make some benchmarks!
Further performance improvements will be done in the future by removing NOTIFICATION_MOVED_IN_PARENT and replacing by something less laborious.
2023-04-08 10:54:28 +02:00
Haoyu Qiu
936c9e83b4
Fix connect signal dialog not allowing Unicode method name
2023-04-08 16:31:25 +08:00
RandomCatDude
c118314fe8
Apply sky fog after luminance multiplier
2023-04-08 12:52:33 +05:00
fuzzy@notepc
c6a45f1031
Fix #75790 , where creating Ceil(Vector2) node in Visual Shader Editor
...
crashes engine due to index out of bounds.
2023-04-08 13:30:11 +09:00
jeffVenancius
97c2133548
Add an option to show a TextEdit caret when editable is disabled
...
Update doc/classes/TextEdit.xml
2023-04-07 22:27:01 -03:00
cody
5062df41a5
Fix "error X3708: continue cannot be used in a switch" in HTML export
2023-04-07 23:16:10 +02:00
smix8
1549aeaef8
Add Mesh ConvexDecompositionSettings wrapper
...
Adds wrapper MeshConvexDecompositionSettings to control parameters for Mesh ConvexDecomposition operations.
2023-04-07 22:39:25 +02:00
3deathtoll
3841c4a4b4
Make SyntaxHighlighter::get_text_edit a const function
2023-04-07 23:46:50 +05:30
RedworkDE
27124ed8e5
C#: Discontinue GodotNuGetFallbackFolder
2023-04-07 19:22:43 +02:00
RedworkDE
6963e84b58
Allow EditorExportPlugins to provide export options
2023-04-07 19:18:00 +02:00
Yuri Sizov
4154039832
Improve includes of EditorNode (and everything else)
...
Also start organizing editor-specific GUI components
into a dedicated folder, `editor/gui`.
Also move `editor_file_server` next to the rest of debugger classes.
2023-04-07 18:59:49 +02:00
Rémi Verschelde
c151d3231f
Merge pull request #75760 from reduz/optimize-node-add-child-validation
...
Optimize Node::add_child validation
2023-04-07 18:20:28 +02:00
Riteo Siuga
af9372eb59
Convert the logo's text outlines into paths
...
This avoids rendering issues with ThorVG and other renderers (which
don't support the `paint-order` property) at a slight cost in file size.
This approach has already been used by the main icon.
2023-04-07 17:51:56 +02:00
kleonc
3e7752463a
Fix deserializing resource usage debug data
2023-04-07 17:00:38 +02:00
Yuri Sizov
f38b540273
Merge pull request #75756 from smix8/fix_obstacle_avoidance_sim_4.x
...
Fix NavigationObstacles not being added to avoidance simulation
2023-04-07 15:11:40 +02:00
Yuri Sizov
b5f532094e
Merge pull request #56671 from Rgtemze/warn_if_concave
...
Warn when a concave polygon is assigned to ConvexPolygonShape2D
2023-04-07 14:39:41 +02:00
Haoyu Qiu
2c0db8222a
Set font sizes for various styles in editor output panel
2023-04-07 20:01:55 +08:00
Yuri Sizov
a13635cdf8
Merge pull request #70901 from timothyqiu/tree-scroll-offset
...
Add scrollbar offset theme constants to Tree
2023-04-07 13:24:01 +02:00
Juan Linietsky
223ce4fcb9
Optimize Node::add_child validation
...
Adding 10k nodes is almost twice as fast.
2023-04-07 13:18:47 +02:00
Yuri Sizov
920e8067f7
Merge pull request #68091 from AThousandShips/sprite_frames_order
...
Improve SpriteFrameEditor frame addition ordering
2023-04-07 13:13:41 +02:00
Yuri Sizov
3abe4781b6
Merge pull request #75241 from Calinou/doc-compressedtexturelayered
...
Fix CompressedTextureLayered description in the class reference
2023-04-07 13:08:48 +02:00
Yuri Sizov
f1f0e5f91d
Merge pull request #75728 from smix8/fix_audiostreamplayer2d_crash_4.x
...
Fix AudioStreamPlayer2D crash when PhysicsServer2D runs on thread
2023-04-07 12:46:53 +02:00
Yuri Sizov
8c551374ca
Merge pull request #75738 from bruvzg/web_phzkezs
...
[Web] Fix keycode/physical keycode mixed up.
2023-04-07 12:44:36 +02:00
Yuri Sizov
47af40c71f
Merge pull request #75665 from Malcolmnixon/penetration-depth-precision
...
Modify contact_max_allowed_penetration precision to 3 significant digits
2023-04-07 12:43:12 +02:00
Yuri Sizov
cbb2e17369
Merge pull request #75368 from MightiestGoat/fix-limit-interpolation-R0
...
Fix the limit for interpolation of R0 with respect to metallic and the calculation of the cos theata in the Fresnel Shlick term in SSR
2023-04-07 12:40:33 +02:00
Yuri Sizov
08c1b55862
Merge pull request #74891 from jmattspartacus/OccluderPolygon2D_memLeak_53722
...
Fix for OccluderPolygon2D memory leak
2023-04-07 12:37:51 +02:00
Rattle22
5c387cbdb3
Fix Typo in NavigationServer2D
2023-04-07 12:24:31 +02:00
Danil Alexeev
9df96e97ea
GDScript: Misc fixes and improvements for signature generation
...
* Use type hints for `@GlobalScope` enums.
* Use plain `int` for `BitMask<T>`.
* Fix type hints for typed arrays.
* Use `Variant` and `void` type hints.
* Discard unnecessary class prefix.
2023-04-07 10:43:21 +03:00
Clay John
132000f58d
Merge pull request #75767 from spanzeri/missing-node-index-update-on-deletion
...
Update sibling indices after a node is removed.
2023-04-06 14:43:35 -07:00
Samuele Panzeri
404f24b5c4
Update sibling indices after a node is removed.
...
With change 104392e
the code to update node indices on removal was erronously removed.
The out of date indices would cause crashes while selecting nodes in a graph editor (e.g. animation tree) and selected nodes are oftern pushed to beginning or end of the child list for the parent.
2023-04-06 20:47:57 +02:00
mightygoat
2c000cb72f
Fix the limit for interpolation of R0 with respect to metallic and SSR
...
Shlick term
2023-04-06 23:14:47 +05:30
smix8
aadf33efd8
Fix NavigationObstacles not being added to avoidance simulation
...
Fixes NavigationObstacles not being added to avoidance simulation.
2023-04-06 16:32:49 +02:00
Rémi Verschelde
92b7a9603a
Merge pull request #75701 from reduz/notification-moved-in-parent
...
Remove NOTIFICATION_MOVED_IN_PARENT
2023-04-06 14:35:04 +02:00
Juan Linietsky
104392ef4e
Remove NOTIFICATION_MOVED_IN_PARENT
...
* This notification makes node children management very inefficient.
* Replaced by a NOTIFICATION_CHILDREN_CHANGED (and children_changed signal).
* Changed Canvas code (and similar) to use the above signal, to perform more efficiently.
This PR breaks compatibility (although this notification was very rarely used, even within the engine), but provides an alternate way to do the same.
It is required for the changes in #75627 to be entirely effective.
2023-04-06 13:57:13 +02:00
Haoyu Qiu
498d538578
Add scrollbar offset theme constants to Tree
2023-04-06 15:04:28 +08:00
bruvzg
744bf604bf
[Web] Fix keycode/physical keycode mixed up.
2023-04-06 09:40:59 +03:00
smix8
a5351086b0
Fix AudioStreamPlayer2D crash when PhysicsServer2D runs on thread
...
Fixes AudioStreamPlayer2D crash when PhysicsServer2D runs on thread due to empty PhysicsSpace
2023-04-06 03:29:09 +02:00
Malcolm Nixon
1d1d3c71e0
Modify "physics/3d/solver/contact_max_allowed_penetration" precision to three significant digits, so values down to "0.001" can be specified.
...
Updated additional 2D and 3D physics parameters based on team recommendations
Co-Authored-By: Ricardo Buring <rburing@users.noreply.github.com>
2023-04-05 18:14:35 -04:00
Rémi Verschelde
49a196277f
Merge pull request #75661 from KoBeWi/no_resource_can_hide_from_the_all-seeing_popup
...
Add a list of all sub-resources used in the scene
2023-04-05 22:47:48 +02:00
kobewi
5a99304251
Add a list of all sub-resources used in the scene
2023-04-05 21:01:49 +02:00
Rémi Verschelde
fba9416fe0
Merge pull request #75700 from akien-mga/ci-visible-whitespace
...
CI: Visibly print trailing whitespace when static checks fail
2023-04-05 20:21:19 +02:00
Rémi Verschelde
c80b7638be
Merge pull request #75687 from umarcor/umarcor/ci/redundant
...
[ci/windows] remove obsolete 'tools' in the name
2023-04-05 20:21:16 +02:00
Rémi Verschelde
6935216b5c
Merge pull request #75309 from HK-SHAO/fix-python-type-error
...
Fix the Python type error when creating the .sln file
2023-04-05 20:21:13 +02:00