Rémi Verschelde
3d49e89b9b
Merge pull request #62181 from smix8/navigation_navagent_pathpoint_dist_4.x
2022-06-20 14:54:16 +02:00
reduz
141c375581
Clean up Hash Functions
...
Clean up and do fixes to hash functions and newly introduced murmur3 hashes in #61934
* Clean up usage of murmur3
* Fixed usages of binary murmur3 on floats (this is invalid)
* Changed DJB2 to use xor (which seems to be better)
2022-06-20 12:54:19 +02:00
Rémi Verschelde
3e6de687b8
Node: Rename `child_exited_tree` to `child_exiting_tree`
...
The name was confusing as this signal is emitted around the same time as
`tree_exiting` and `NOTIFICATION_EXIT_TREE`, i.e. while the child node is
still in tree.
Fixes #59210 .
2022-06-20 11:55:19 +02:00
Rémi Verschelde
ff9a66067b
Merge pull request #62158 from MightiestGoat/particles-material-patch
...
Adding emission_tex_ofs calculation in process()
2022-06-20 00:49:52 +02:00
markdibarry
459228cdb3
Add explicit deferred flags
2022-06-19 10:04:53 -04:00
smix8
55923ade68
Add navigation layer bitmask helper functions
...
Adds helper functions to work with the navigation layer bitmask.
2022-06-19 13:47:19 +02:00
Rémi Verschelde
01efb93842
Merge pull request #62195 from hakuhan/fix-animate-physical-bone-not-working-bug
...
Fix physical bone is not animated in running project.
2022-06-19 09:25:46 +02:00
Hugo Locurcio
514624c58e
Remove spaces in `SubResource()/ExtResource/Resource()` in text resources
...
These spaces are not needed for the file to be successfully parsed.
Other types such as Vector3 are no longer serialized with spaces
after the opening parenthesis and before the closing parenthesis,
so this is also more consistent.
2022-06-19 05:54:03 +02:00
Haoyu Qiu
74e15ea35f
Remove argument option for the `remove_animation` that no longer exists
2022-06-19 11:08:19 +08:00
baihan
da7eb96804
Fix physical bone is not animated in running project.
2022-06-19 09:46:34 +08:00
mightygoat
59029f1a3f
Declaring emission_tex_ofs globally
2022-06-19 01:20:57 +05:30
smix8
07740302f3
Add NavigationAgent desired path distance
...
Add NavigationAgent desired path distance
2022-06-18 19:11:49 +02:00
kleonc
728e8de87d
Fix `CPUParticles2D.emission_shape` enum hint
2022-06-18 16:06:39 +02:00
Andreas Raddau
0e4fd72ae6
Remove duplicate assignment of AnimationNode::State.valid
...
In AnimationTree::_process_graph, the State.valid variable is set to true.
A few lines later, it's set again. Probably a copy/paste mistake. This
commit removes the second assignment.
2022-06-18 11:59:19 +02:00
Hugo Locurcio
5b72ccc254
Fix Light3D `angular_distance` property hint being in radians
...
The unit is internally stored as degrees and is treated as such,
so it should be displayed as-is in the inspector.
2022-06-17 20:00:54 +02:00
Rémi Verschelde
d2be5416ef
Merge pull request #58841 from ellenhp/expose_tightness
...
Expose panning strength parameters
2022-06-17 18:36:58 +02:00
Fabio Alessandrelli
32b16c876b
[Net] Fix SceneReplicationConfig setter.
...
Used by resource loader, it would always add properties as both sync and
spawn, disregarding the actual option value.
2022-06-17 13:49:36 +02:00
Ellen Poe
d384d84f45
Audio: Expose 2D/3D panning strength parameters
2022-06-17 13:08:48 +02:00
Rindbee
53bd72fa70
Fix previous min size affects _get_contents_minimum_size in AcceptDialog
2022-06-17 16:21:23 +08:00
holgac
a5c01dc25a
Fixes #62096 : LightmapGIData::_get_light_textures_data crash on empty image
...
The program crashes when trying to determine slice width/height if the
light texture is empty. This fix just returns an empty array, as if the
light texture does not exist.
2022-06-17 02:27:08 +02:00
Rémi Verschelde
1767507e69
Merge pull request #61888 from Chaosus/vs_remove_engine_version
...
Remove engine version from visual shader
2022-06-16 18:19:03 +02:00
bruvzg
b5c96df277
Move duplicate AutoWrap, Overrun and VisibleChar behavior enums to the TextServer.
2022-06-16 16:49:37 +03:00
Rémi Verschelde
9ddf13e7ad
Merge pull request #60151 from Klowner/pathfollow3d-parallel-transport-improvement
...
PathFollow3D parallel transport frame reliability improvements
2022-06-15 23:54:00 +02:00
Rémi Verschelde
421d8b716d
Merge pull request #61952 from V-Sekai/custom-docs
...
`SurfaceTool.set_custom_format` Fixes and documentation.
2022-06-15 21:20:58 +02:00
Rémi Verschelde
778a9fce77
Merge pull request #61997 from Rindbee/fix-ColorPicker-wrong-sampling
...
Fix wrong sampling in ColorPicker
2022-06-15 12:48:23 +02:00
FireForge
f85eb4164a
Expose PopupMenu set/get_item_horizontal_offset()
...
- Renames setter from set_item_h_offset()
- Adds getter
2022-06-15 02:08:44 -05:00
Rindbee
fd285e19ed
Fix the bug that the sampling position is reversed, make eyedrop reusable.
2022-06-15 12:44:36 +08:00
smix8
245da150e7
Streamline Navigation layer function names.
...
Streamline Navigation layer function names.
2022-06-15 00:18:48 +02:00
Lyuma
03b896c992
`SurfaceTool.set_custom_format` Fixes and documentation.
...
Fix mistake making `set_custom_format` impossible to use.
Automatically forward custom flags in `SurfaceTool.commit`.
Add documentation in `SurfaceTool` and `Mesh` for custom channels.
Deprecate `SurfaceTool.generate_lod` and expose `ImporterMesh.generate_lods`.
2022-06-14 15:10:17 -07:00
Rémi Verschelde
d2a90d62fd
Merge pull request #62044 from smix8/navigation_navagent_map_change_4.x
...
Add NavigationAgent2D/3D set_navigation_map() function
2022-06-14 22:54:13 +02:00
smix8
f10ff0efda
Add NavigationAgent set_navigation_map() function
...
Add NavigationAgent set_navigation_map() and get_navigation_map() function.
2022-06-14 21:48:47 +02:00
Rémi Verschelde
7c0f1b4cd7
Merge pull request #62042 from Calinou/basematerial3d-nearest-height-always-linear
...
Always sample the heightmap with linear filtering in BaseMaterial3D
2022-06-14 21:39:03 +02:00
Hugo Locurcio
26f6625dcc
Always sample the heightmap with linear filtering in BaseMaterial3D
...
Nearest-neighbor filtering of the heightmap results in a broken
appearance, with and without Deep Parallax enabled on the material.
Linear filtering results in a more expected appearance. This does
not affect other texture maps such as albedo, normal or roughness.
2022-06-14 18:56:18 +02:00
FireForge
92817aa72f
Add Vector2/3 linking to more properties
...
- Camera2D.zoom
- CanvasLayer.scale
- ParallaxBackground.scroll_base_scale
- ParallaxLayer.motion_scale
- Polygon2D.texture_scale
- BaseMaterial3D.uv1_scale
- BaseMaterial3D.uv2_scale
2022-06-14 09:33:44 -05:00
Rémi Verschelde
111a3ca097
Merge pull request #59125 from KoBeWi/link_to_the_vector
2022-06-14 16:18:17 +02:00
Rémi Verschelde
d845d690f2
Merge pull request #61861 from techiepriyansh/multi-image-atlases
2022-06-14 16:11:30 +02:00
kobewi
5553e27fe8
Add vector value linking
...
Co-authored-by: redlamp <244062+redlamp@users.noreply.github.com>
2022-06-14 14:58:44 +02:00
Priyansh Rathi
d49c1cfc3e
save lightmap as multi-image atlas
2022-06-14 17:22:55 +05:30
Rémi Verschelde
706dc74e01
Merge pull request #61998 from groud/fix_terrain_constraints
...
Fixes terrains for isometric tilemaps
2022-06-13 21:08:41 +02:00
Gilles Roudière
923b1a56b4
Fixes terrains for isometric tilemaps
2022-06-13 18:10:08 +02:00
Rémi Verschelde
41986532c1
Merge pull request #61974 from Calinou/project-settings-mark-as-basic
2022-06-13 17:16:03 +02:00
Rémi Verschelde
d4f31e201d
Merge pull request #61809 from groud/terrain_center_bit
2022-06-13 17:06:34 +02:00
Hugo Locurcio
0225c6d31a
Tweak Light3D property hints for greater flexibility
...
- Specular can now be set above 1.0.
- Blur can be set to 0 to disable shadow blurring entirely, which is useful
on lights that have a non-zero size.
- When shadow blurring is disabled, lights that have a non-zero size will
not use PCSS-like soft shadows, speeding up shadow rendering
considerably.
- Some property hints now allow more precise values.
2022-06-13 14:31:46 +02:00
Rémi Verschelde
136f84fc35
Merge pull request #61772 from bruvzg/ft_ot_collect
2022-06-13 11:13:05 +02:00
Rémi Verschelde
e95f4eb5a7
Merge pull request #61819 from bruvzg/button_overrun
2022-06-13 11:02:04 +02:00
Rémi Verschelde
ae5a962cc4
Merge pull request #61842 from bruvzg/popup_fixes_sw
2022-06-13 10:51:46 +02:00
bruvzg
ba6cb84d01
[RTL] Fix underline/overline/strikethrough interaction with the "visible characters" property.
2022-06-13 10:53:55 +03:00
bruvzg
f7269fe878
Single-window mode popups and edited scene windows fixes.
...
Fix single-window mode popup not closing when OptionBox is clicked.
Fix single-window mode submenus closing when parent menu item, that was used to open it is clicked (using same safe-area logic as platform specific code).
Disallow windows that are part of an edited scene from being set as exclusive or popup to prevent it from locking up the editor.
2022-06-13 09:56:08 +03:00
Rémi Verschelde
803d25a20a
Merge pull request #61961 from jtnicholl/anim_lib_type_hints
...
Fix type hints for AnimationLibrary's signals' arguments
2022-06-12 22:26:53 +02:00
Hugo Locurcio
c178cfef8e
Mark some common project settings as basic
2022-06-12 19:50:14 +02:00
Jonathan Nicholl
3d8e400fb5
Fix type hints for AnimationLibrary's signals
2022-06-12 13:20:51 -04:00
FireForge
4678736a39
Add suffixes to all nodes and resources
2022-06-11 09:41:05 -05:00
Yuri Rubinsky
f4b4294c5f
Revert vector4 output ports in visual shaders
2022-06-11 10:36:11 +03:00
Gilles Roudière
62d2549e9e
Add terrain center bit
2022-06-10 14:37:39 +02:00
Rémi Verschelde
5c3081dae2
SoftBody: Fix attachments property names after #61180
...
Fixes #61581 .
2022-06-10 14:16:14 +02:00
Yuri Rubinsky
d6622330d7
Remove engine version from visual shader
2022-06-10 13:17:16 +03:00
Rémi Verschelde
8aa69c4e06
Merge pull request #52415 from deakcor/dev-node2d
...
Fix global properties setters and add global skew for node2d
2022-06-10 09:49:15 +02:00
Rémi Verschelde
e29a395571
Merge pull request #61862 from KoBeWi/fake_class
...
Remove TooltipPanel and TooltipLabel
2022-06-10 07:53:13 +02:00
Rémi Verschelde
68ecffb054
Merge pull request #61868 from iwek7/line_edit_caret
...
Fix setting line edit caret after double and triple click
2022-06-10 07:48:32 +02:00
iwek
082cf5440e
Fix setting line edit caret after dobule and triple click
2022-06-10 00:18:25 +02:00
Hugo Locurcio
dbe513931f
Add a property hint to Environment's `sky_rotation` property
...
This property hint is identical to Node3D's `sky_rotation` property
and provides degree-based editing.
2022-06-09 22:54:15 +02:00
kobewi
9036fcbe5e
Remove TooltipPanel and TooltipLabel
2022-06-09 22:23:11 +02:00
Rémi Verschelde
c91d33e9ca
Merge pull request #61813 from smix8/navigationmesh_properties_naming_4.x
2022-06-09 09:48:01 +02:00
smix8
2c059dcfcb
Remove slash delimiter from NavigationMesh properties
...
Remove slash delimiter from NavigationMesh properties.
2022-06-09 09:20:52 +02:00
Rémi Verschelde
b13c41c33f
Merge pull request #61830 from XutaxKamay/fix-image-texture
...
Fix for regression of an ImageTexture being imported
2022-06-09 08:47:36 +02:00
Kamay Xutax
d8f1ee66d7
Fix for ImageTexture imported
...
Someone apparently forgot to return true ...
on ImageTexture::_set/_get
2022-06-09 00:08:07 +02:00
Guilherme Felipe de C. G. da Silva
7fc3aa43ce
Fix ObjectDB instances leaked on state machine when editor closes
2022-06-08 17:08:48 -03:00
bruvzg
906e9b6ac5
Add overrun behavior to the Button.
2022-06-08 19:02:27 +03:00
Rémi Verschelde
e4994e2817
Merge pull request #61739 from smix8/navigation_region_cost_4.x
2022-06-08 16:05:38 +02:00
Rémi Verschelde
07029e94f4
Merge pull request #61662 from smix8/navigation_map_cell_defaults_4.x
2022-06-08 15:56:22 +02:00
kobewi
80025171cd
Re-add internal image field to ImageTexture
2022-06-08 00:57:03 +02:00
Rémi Verschelde
60eec78a1f
Merge pull request #61558 from kleonc/triangle_mesh_from_triangle_strip
...
Make `Mesh::generate_triangle_mesh()` handle `PRIMITIVE_TRIANGLE_STRIP`
2022-06-07 22:07:16 +02:00
Rémi Verschelde
5ebdfc31b2
Merge pull request #61319 from JFonS/taa_wip
...
Initial TAA implementation
2022-06-07 20:53:55 +02:00
Rémi Verschelde
96f41d6ada
Merge pull request #61284 from KoBeWi/steal_image()
...
Remove image property of ImageTexture
2022-06-07 20:53:09 +02:00
Rémi Verschelde
d52a79ad22
Merge pull request #59786 from V-Sekai/ok_color
...
Allow picking similar colours using OKHSL.
2022-06-07 20:52:32 +02:00
Clay John
12edb2ce58
Merge pull request #55909 from Calinou/volumetric-fog-tweak-temporal-reprojection-range-hint
...
Tweak the volumetric fog temporal reprojection property hint
2022-06-07 08:56:05 -07:00
kobewi
c519a667ad
Remove image property of ImageTexture
2022-06-07 16:30:54 +02:00
K. S. Ernest (iFire) Lee
1b776a6e7a
Allow picking similar colours using OKHSL.
2022-06-07 05:53:27 -07:00
Rémi Verschelde
70757ad7df
Merge pull request #61726 from YeldhamDev/always_clear
...
Take into account the clear icon's size even when not visible in `LineEdit`s
2022-06-07 14:16:13 +02:00
Rémi Verschelde
7f5c10b588
Merge pull request #61737 from LightningAA/fix-frac-typo
...
Fix typo "Frac" instead of "Fract"
2022-06-07 14:10:56 +02:00
jfons
ba832d83b2
Initial TAA implementation
...
Initial TAA support based on the implementation in Spartan Engine.
Motion vectors are correctly generated for camera and mesh movement, but there is no support for other things like particles or skeleton deformations.
2022-06-07 13:14:44 +02:00
bruvzg
6e4cdad3ac
[TextServer] Adds support for TrueType / OpenType collection files (*.TTC, *.OTC).
2022-06-07 11:35:59 +03:00
bruvzg
fc77f983cb
[RTL] Stop processing thread before deleting scroll bar.
2022-06-06 23:46:22 +03:00
Haoyu Qiu
83d931ad3c
Fix `Viewport.own_world_3d` documentation
...
Also fixed the naming of the setter's parameter and made an `if` block
straightforward.
2022-06-06 21:34:40 +08:00
smix8
cfdfd304f1
Add NavigationRegion costs for pathfinding
...
Add NavigationRegion costs for pathfinding.
2022-06-06 15:25:06 +02:00
Rémi Verschelde
52952edafc
Merge pull request #61724 from iwek7/fixing_rich_text_label
...
Fix richTextLabel scroll showing
2022-06-06 10:39:39 +02:00
Aaron Record
14df02b21f
Fix typo "Frac" instead of "Fract"
2022-06-05 19:20:32 -06:00
Rémi Verschelde
3dac7ff876
Merge pull request #61707 from KoBeWi/GradientTextureXD
...
Increase maximum size of gradient textures
2022-06-05 20:59:13 +02:00
Rémi Verschelde
dc26b00d3b
Merge pull request #61700 from Rindbee/fix-strange-behavior-with-list-close-tag
...
Fix strange behavior with list close tags and empty list tags
2022-06-05 20:55:53 +02:00
iwek
c179ba665a
Fix richTextLabel scroll showing
2022-06-05 20:33:17 +02:00
Michael Alexsander
71c8fb26e0
Take into account the clear icon's size even when not visible in `LineEdit`s
2022-06-05 15:13:19 -03:00
kobewi
855a1ff61f
Increase maximum size of gradient textures
2022-06-05 18:20:26 +02:00
Nathan Franke
8d66896a47
rename 'configuration' to 'replication_config' in MultiplayerSynchronizer
2022-06-04 18:30:31 -05:00
Rindbee
a14f7c4027
Fix strange behavior with list close tags and empty list tags
...
Fix the first two points in #61621 .
Support for two writing ways: compact or loose. The loose one is designed for easy editing in the editor.
For this, the first blank line (if exists) right after the list tags (`[ol]`, `[/ol]`, `[ul]`, and `[/ul]`)
will be ignored.
Make sure the empty list contains at least one item, that is, an empty list is ultimately a list with one item.
As a reminder here is a list.
2022-06-05 01:33:09 +08:00
Winston Yallow
2a2c931664
typo: change congiruation into configuration
2022-06-04 18:49:23 +02:00
Rémi Verschelde
659f4b64d6
Merge pull request #60830 from Ansraer/fix-2d-scale
...
[4.x] Add viewport content scale
2022-06-04 00:15:38 +02:00
smix8
3066091780
Match NavMap and ProjectSettings with NavigationMesh defaults
...
Match NavMap and ProjectSettings with NavigationMesh defaults since the NavMap edge merging requires a matching cell_size with the NavigationMesh to create connections without issues.
2022-06-03 19:17:49 +02:00
Rémi Verschelde
798b39ed44
Merge pull request #61623 from smix8/navigation_navpoly_getmesh_4.x
2022-06-03 10:49:39 +02:00
Rémi Verschelde
93bbbf8947
Merge pull request #61625 from smix8/navigation_debugview_mesh_scripted_4.x
2022-06-02 18:24:30 +02:00
Rémi Verschelde
52e36ab80e
Merge pull request #61631 from iwek7/redundant_min_call
2022-06-02 18:20:45 +02:00
Rémi Verschelde
d9277fdab8
Merge pull request #61629 from Geometror/fix-graphedit-comment-nodes
2022-06-02 18:18:33 +02:00
iwek
848e759d88
Remove redundant min call when setting line
2022-06-02 15:52:09 +02:00
Hendrik Brucker
c6a39cd952
Fix enclosed nodes calculation of GraphEdit comment nodes
2022-06-02 13:14:46 +02:00
JFonS
8abace0f79
Merge pull request #60517 from Calinou/3d-editor-audiostreamplayer3d-add-gizmo
2022-06-02 12:11:06 +02:00
smix8
b6eff47bac
Add NavigationMesh debug when navmesh is added later through scripts
...
Add NavigationMesh debug when navmesh is added later through scripts
2022-06-02 10:55:19 +02:00
smix8
8bcce0ebb2
Expose get_mesh() for NavigationPolygon Resources
...
Expose get_mesh() for NavigationPolygon Resources.
2022-06-02 09:52:26 +02:00
smix8
56fe26b5e0
Fix NavigationAgent reparent issues
...
Fix NavigationAgent reparent issues
2022-06-01 06:45:12 +02:00
Yuri Sizov
ba273c6c5f
Fix theme propagation for children of top level controls and windows
2022-06-01 04:20:00 +03:00
Yuri Sizov
8e5ad7be46
Mark node groups as dirty for every children if parent is moved
2022-05-31 21:28:04 +03:00
monkeyman192
5c29a7dbc5
Handle drawing of relationship lines better to take in to account invisible children
2022-06-01 00:23:33 +10:00
kleonc
9b556c96f0
Make `Mesh::generate_triangle_mesh()` handle `PRIMITIVE_TRIANGLE_STRIP`
2022-05-31 13:57:42 +02:00
Rémi Verschelde
cf9aad63ba
Merge pull request #61453 from m3g4d1v3r/master
...
Fix #61444 : Executing Tree.scroll_to_item crashes Godot
2022-05-31 12:28:50 +02:00
Rémi Verschelde
cea54a0357
Merge pull request #61489 from Rindbee/reset-buttons_visible-to-false-if-tabs-is-empty
...
Reset buttons_visible to false while tabs is empty in TabBar::_update_cache
2022-05-31 12:19:36 +02:00
Rémi Verschelde
a837accc5d
Merge pull request #61495 from timothyqiu/asymmetric-le
...
Fix LineEdit clear button for asymmetric stylebox
2022-05-31 08:55:21 +02:00
Hendrik Brucker
70c234f3e3
Improve Graphedit connection lines
2022-05-30 17:33:01 +02:00
Yuri Rubinsky
3ed2a0428c
Merge pull request #61515 from Geometror/improve-graphedit-hotzones
2022-05-30 17:39:34 +03:00
Hendrik Brucker
771cb1261a
Improve and fix the GraphNode port hotzones
...
Co-authored-by: Ansraer <jacky2611@gmail.com>
2022-05-30 15:48:58 +02:00
kobewi
7bae94910e
Update VisibleOnScreenNotifier2D when rect changed
2022-05-29 23:51:24 +02:00
Haoyu Qiu
e021fc9419
Fix LineEdit clear button for asymmetric stylebox
2022-05-28 19:50:35 +08:00
Rindbee
a3b23f6b67
Reset buttons_visible to false while tabs is empty in TabBar::_update_cache
2022-05-28 12:54:45 +08:00
Rémi Verschelde
b60c78ab72
Merge pull request #61437 from monkeyman192/hide_invisble_lines
...
Check visibility of items before drawing their relationship lines
2022-05-27 10:19:17 +02:00
m3g4d1v3r
ee89c65b11
Add nullptr handling of argument pointer in Tree::scroll_to_item
2022-05-26 23:56:52 -03:00
Yuri Rubinsky
6b9f6823c4
Merge pull request #61432 from Chaosus/fix_material_free_errors
...
Fix errors when materials attached to 3d object are not freed
2022-05-26 22:07:30 +03:00
Hugo Locurcio
93933e4085
Add a gizmo to visualize AudioStreamPlayer3D's audible radius
...
The ring's color changes depending on the attenuation model chosen,
and whether Max Distance is capping the distance the sound can be
heard at.
Cold colors are used when the volume cap is a "soft" cap (the sound
can still be heard past the distance, but only faintly).
Warm colors are used when the volume cap is a "hard" cap (the sound
can't be heard past the distance at all).
White is used for linear fade performed when the attenuation model
is Disabled and Max Distance is greater than 0.
No ring is drawn when the attenuation model is Disabled and Max Distance
is equal to 0 (since the sound can be heard from anywhere).
2022-05-26 20:53:07 +02:00
monkeyman192
d4aa6e5366
Check visibility of items before drawing their relationship lines
2022-05-26 23:25:42 +10:00
Rémi Verschelde
2e8862887c
Merge pull request #61434 from nathanfranke/tree-item-edited
...
tree: do not pass custom click to item edited
2022-05-26 13:29:15 +02:00
Rémi Verschelde
69b30eae29
Merge pull request #61337 from reduz/improve-stylebox-preview
...
Improve StyleBox preview
2022-05-26 13:28:36 +02:00
Nathan Franke
2d14164bca
tree: always emit item_edited
2022-05-26 05:12:57 -05:00
reduz
b4c6900123
Improve StyleBox preview
...
* Show checkerboard on background.
* Add margins.
* Show Ninepatch lines (toggleable).
* Move the region to its own section so it does not pollute.
2022-05-26 11:57:56 +02:00
Yuri Rubinsky
8f57d9519e
Fix errors when materials attached to 3d object are not freed
2022-05-26 09:42:59 +03:00
Rémi Verschelde
af61ba63fb
Merge pull request #61400 from nathanfranke/err-fail-index
...
use ERR_FAIL_INDEX when preferred
2022-05-26 00:51:26 +02:00
Lyuma
1f02bc0e3e
Only call _update_panning during _physics_process.
2022-05-25 14:14:22 -07:00
Nathan Franke
77c8f271e7
use ERR_FAIL_INDEX when preferred
2022-05-25 13:36:45 -05:00
Hugo Locurcio
e85459dcd1
Add Cone and Cylinder shapes to FogVolume
...
This complements the existing Ellipsoid and Box local fog shapes.
This can be used to represent a light cone coming from a SpotLight.
2022-05-25 12:35:53 +02:00
Rémi Verschelde
cc21892fa4
Merge pull request #61355 from bruvzg/text_mesh_fix_fill_align
...
[TextMesh] Fix incorrectly applied FILL alignment.
2022-05-25 01:16:42 +02:00
Rémi Verschelde
19e3c7fcd9
Merge pull request #61040 from Calinou/basematerial3d-rename-tex-properties
2022-05-24 23:36:29 +02:00
Rémi Verschelde
12ddaa36a6
Merge pull request #60641 from clayjohn/Sky-ign
...
Use IGN instead of white noise for sky dithering
2022-05-24 23:34:41 +02:00
Hugo Locurcio
a8a6e664fb
Rename BaseMaterial3D properties to use fully spelled out "texture"
...
This is more consistent with other BaseMaterial properties such as
`ao_texture_channel`.
This also improves the documentation related to
`albedo_texture_force_srgb`.
This also fixes a typo in the 3.x material converter.
2022-05-24 20:44:17 +02:00
clayjohn
4f82b1bd20
Use IGN instead of white noise for sky dithering
2022-05-24 10:57:07 -07:00
Rémi Verschelde
d81c5eab8c
Merge pull request #61361 from snailrhymer/remove-anim-config-warning
2022-05-24 18:25:32 +02:00
Hugo Locurcio
ce7099a35a
Tweak TextMesh decomposition error message to mention self-intersecting lines
2022-05-24 15:11:39 +02:00
SnailRhymer
b0e31eeb4a
Remove configuration warning from AnimationPlayer
...
Remove warning about animations in different libraries having the same name, since shared names are fine.
Also fix missing vformat argument when setting the name of an animation to one that does conflict with an animation in the same library.
2022-05-24 13:22:16 +01:00
bruvzg
826de9da48
[TextMesh] Fix incorrectly applied FILL alignment.
2022-05-24 11:58:54 +03:00
Rémi Verschelde
2998be4f99
Merge pull request #60061 from monkeyman192/allow_treeitem_visible
...
Allow TreeItem nodes to toggle visibility
2022-05-24 10:53:41 +02:00
Rémi Verschelde
bd8d91254c
Merge pull request #61106 from snailrhymer/animation-library-fixes
...
Fix errors and improve UX relating to new animation libraries
2022-05-24 10:51:31 +02:00
Rémi Verschelde
65dd1bf023
Merge pull request #47665 from trollodel/tree_more_buttons_signals
2022-05-24 10:50:55 +02:00
Vincent D
697316155f
Fix global properties and add global skew for node2d
...
Renamed parent item variable in node2d global setters and optimize
Aligned variable renaming in global setters
Optimize node2d global setters
Add global skew description in doc
Co-Authored-By: Aaron Franke <arnfranke@yahoo.com>
2022-05-24 09:49:24 +02:00
Rémi Verschelde
56dbfcdcba
Merge pull request #61203 from Calinou/cylindermesh-add-cap-properties
...
Add properties to disable top/bottom cap generation in CylinderMesh
2022-05-24 08:21:01 +02:00
Rémi Verschelde
1314e6cbcc
Merge pull request #60803 from Chaosus/shader_hint_rename
...
Rename `hint_albedo`, `hint_white/black` in shaders
2022-05-24 08:15:33 +02:00
Rémi Verschelde
d3268c51ad
Merge pull request #61311 from trollodel/fix_joint3d_warning_crash
2022-05-23 22:23:53 +02:00
Rémi Verschelde
9923851370
Fix typos with codespell
...
Using codespell 2.2-dev from current git.
2022-05-23 21:32:19 +02:00
bruvzg
4e86c13557
[TextMesh] Do not generate meshes for non-visual glyphs.
2022-05-23 20:06:36 +03:00
bruvzg
f9fbe92e8a
[Label3D, 4.x] Monitor default theme font changes, to prevent use of invalid materials.
2022-05-23 18:15:34 +03:00
Rémi Verschelde
a76db34592
Merge pull request #61314 from Chaosus/vs_fix_conversion_bug
...
Fix connection of subports after uniform->constant conversion in visual shader
2022-05-23 16:21:30 +02:00
reduz
12474fd87a
Improve MultiplayerSynchronizer editor usability
...
* Add a button to add properties (which lets you select node and property)
* Add ability to drag properties and drop them to the editor.
* Made the editor transient (not always visible on the bottom) since its not needed most of the time.
* Added the ability to pin the editor, in case dragging properties from other nodes is desired.
2022-05-23 13:14:59 +02:00
Yuri Rubinsky
0778c7a19e
Fix connection of subports after uniform->constant conversion in vshader
2022-05-23 14:09:59 +03:00
trollodel
51b229bffa
Fix Joint3D and Joint2D warning causing a crash
2022-05-23 12:21:13 +02:00
Rémi Verschelde
3568b3deea
Merge pull request #61283 from bruvzg/text_mesh_cubic
...
[TextMesh] Fix cubic Bezier arc processing.
2022-05-23 09:34:33 +02:00
Rémi Verschelde
603de7a055
Merge pull request #61270 from Calinou/sphereshape3d-decrease-default-radius
...
Decrease SphereShape3D's default radius to 0.5 to match primitive mesh
2022-05-23 06:07:05 +02:00
Rémi Verschelde
a80793fcb8
Merge pull request #61235 from smix8/navigation_agent_avoidance_processing_4.x
2022-05-22 19:11:32 +02:00
bruvzg
1f066837e4
[TextMesh] Fix cubic cubic Bezier arc processing.
2022-05-22 18:04:32 +03:00
Haoyu Qiu
4ac999cc3f
Update last min size when Control becomes visible
2022-05-22 15:50:13 +08:00
Hugo Locurcio
f008e98ea2
Decrease SphereShape3D's default radius to 0.5 to match primitive mesh
...
The SphereMesh primitive mesh's size was recently decreased, but
unlike other primitive meshes, the sphere shape's radius wasn't
adjusted accordingly.
2022-05-22 08:46:01 +02:00
trollodel
307427af89
Add the button pressed to some signals in Tree
2022-05-21 17:16:52 +02:00
Hugo Locurcio
df9340d552
Tweak the GPUParticles3D Transform Align property hint for readability
2022-05-21 13:13:48 +02:00
Hugo Locurcio
d23071cae3
Add properties to disable top/bottom cap generation in CylinderMesh
2022-05-21 02:06:53 +02:00
Rémi Verschelde
8adf048045
Merge pull request #61194 from reduz/new-hash-set
...
Add a new HashSet template
2022-05-21 01:06:21 +02:00
smix8
7f3688603c
Process NavigationAgent2D/3D avoidance on demand only
...
Changes NavigationAgent avoidance callback to a toggle that is disabled by default.
Also fixes a few missing descriptions / wrong warnings.
2022-05-20 23:47:10 +02:00
Hugo Locurcio
3afc03455e
Remove outdated "not implemented yet" comments in ParticlesMaterial
...
These features have been working as of 4.0.alpha8.
2022-05-20 23:28:12 +02:00
reduz
45af29da80
Add a new HashSet template
...
* Intended to replace RBSet in most cases.
* Optimized for iteration speed
2022-05-20 22:40:38 +02:00
Hugo Locurcio
8962d2760d
Tweak the disabled files text color in FileDialog for readability
...
Contrast rate is still fairly low, but the text needs to be easy enough
to distinguish from non-disabled items.
2022-05-20 16:59:34 +02:00
Rémi Verschelde
136da4d3bc
Merge pull request #61182 from danielkariv/fix_misclick_selection
2022-05-20 15:38:22 +02:00
Rémi Verschelde
29708f79a8
Merge pull request #61170 from smix8/navigation_navmesh_property_limits_4.x
...
Remove arbitrary NavigationMesh bake property limits
2022-05-20 08:47:20 +02:00
Rémi Verschelde
a5109d49ce
Merge pull request #61026 from timothyqiu/quit-prop
...
Make `auto_accept_quit` and `quit_on_go_back` properties
2022-05-20 08:13:00 +02:00
Rémi Verschelde
277ea1950a
Merge pull request #61205 from Calinou/default-font-tweak-fake-bold-italic
...
Tweak the default font's fake italic to better match Open Sans Italic
2022-05-20 07:56:12 +02:00
Hugo Locurcio
383a27e930
Tweak the default font's fake italic to better match Open Sans Italic
2022-05-20 01:31:25 +02:00
Aaron Franke
5dc3bfb80e
Use suffixes for units in nodes and resources
2022-05-19 14:34:27 -05:00
Rémi Verschelde
ce069fbe99
Merge pull request #61128 from smix8/navigation_agent_process_mode_4.x
2022-05-19 15:24:34 +02:00
Rémi Verschelde
b9bb3de6a1
Merge pull request #61142 from bruvzg/rtl_threaded
2022-05-19 14:27:48 +02:00
Aaron Record
900c676b02
Use range iterators for RBSet in most cases
2022-05-19 12:09:16 +02:00
Daniel Kariv
e6c909b489
add check for selection when try to push a meta.
...
Add a check for when we select a text but end on a link. Before it would act as if we just click an link, but now it changes it so if we click-drag over a link, we could select it (and not move to other page).
2022-05-19 11:55:14 +03:00
bruvzg
cfcdfc38e2
[RTL] Add support for shaping in background thread.
2022-05-19 09:34:44 +03:00
Haoyu Qiu
fc3b845c07
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_NO_EDITOR
* Extract missing ADD_ARRAY*, ADD_SUBGROUP* macros
2022-05-19 14:08:47 +08:00
smix8
cda93057f7
Remove arbitrary NavigationMesh bake property limits
...
Lowers or removes the slider limits and steps from NavigationMesh resources and changes some default values to better work with realistic unit sizes by default.
2022-05-18 23:00:12 +02:00
Rémi Verschelde
c0d189fbb8
Merge pull request #60955 from pfertyk/issue-60668-fix-get-breakpointed-lines-crash
...
Fix `get_breakpointed_lines` crashing Godot
2022-05-18 22:55:30 +02:00
Rémi Verschelde
838cb598e3
Merge pull request #61155 from YuriSizov/theme-using-using
2022-05-18 17:45:56 +02:00
Rémi Verschelde
03f240ba93
Merge pull request #60599 from rburing/rest_on_recovery_param
2022-05-18 17:36:24 +02:00
Yuri Sizov
21b253a870
Define some Theme data structures with using for readability
2022-05-18 18:17:47 +03:00
Ricardo Buring
f072aa69a9
Add motion parameter to toggle whether recovery is reported as a collision
...
This makes the intent explicit in each use case.
2022-05-18 16:40:29 +02:00
Rémi Verschelde
3b09e90ae7
Merge pull request #61154 from KoBeWi/call_deferred_helps,_as_always
2022-05-18 16:38:59 +02:00
Rémi Verschelde
e709a6e2cf
Merge pull request #61152 from YuriSizov/theme-sets-lists-and-idle-hands
2022-05-18 16:17:04 +02:00
kobewi
6b981bf12b
Defer group calls in Node3D
2022-05-18 16:10:03 +02:00
Rémi Verschelde
533e364ab5
Merge pull request #61149 from smix8/navigation_region2d_update_navpoly_4.x
2022-05-18 15:29:32 +02:00
Rémi Verschelde
5b3d596285
Merge pull request #60774 from TokageItLab/root-seek-mode
...
Fixed broken root motion calculation in internal process of `AnimationBlendTree` such as `NodeOneShot`
2022-05-18 15:24:21 +02:00
Rémi Verschelde
2f3a8a3d61
Merge pull request #61095 from BimDav/get_node_and_resource
...
Fix a bug in get_node_and_resource when the property is set to null
2022-05-18 15:19:17 +02:00
Rémi Verschelde
3ec3984204
Merge pull request #61144 from smix8/navigation_create_from_mesh_warning_4.x
2022-05-18 15:15:57 +02:00
Yuri Sizov
4e0f11cfdb
Restore Theme.get_type_list behavior to properly handle uniqueness
2022-05-18 15:41:44 +03:00
smix8
4185fce0ef
Add wrong surface warnings to NavigationMesh.create_from_mesh()
...
Adds warnings when at least one of the input mesh surfaces is of wrong primitive type or has an empty vertex / index array as those broken input meshes would fail as both navmesh as well as later when creating debug meshes.
2022-05-18 14:13:01 +02:00
smix8
4035a4103c
Update NavigationRegion2D when polygons of NavigationPolygon change
...
Updates NavigationRegion2D when the NavigationPolygon emits its 'changed' signal due to e.g. polygons altered by script.
2022-05-18 13:36:18 +02:00
Rémi Verschelde
5c79782c7e
Merge pull request #61088 from groud/keep_unhandled_events_on_pass
2022-05-17 23:50:55 +02:00
smix8
6b51ab66d8
Make Navigation Agents and Obstacles respect parent process mode
...
Temporarily removes agent from navigation map when parent node cannot process due to SceneTree pause and process_mode property. Normal process_mode does not work as other agents would still avoid the paused agents because they were still active on the navigation map and the rvo world. Also fixes potential crash when region_get_map or agent_get_map is called while no map is set.
2022-05-17 20:08:39 +02:00
Rémi Verschelde
d4c4302e47
Merge pull request #58023 from raulsntos/curve_points_in_inspector
...
Exposes the Curve, Curve2D and Curve3D points in the inspector
2022-05-17 20:00:58 +02:00
Rémi Verschelde
3ad751f7e0
Merge pull request #60867 from KoBeWi/μtext
...
Remove font height restriction from Button
2022-05-17 19:02:35 +02:00
Raul Santos
a9a41df0c8
Expose Curve points in the inspector
...
Exposes the Curve, Curve2D and Curve3D points as an array property.
2022-05-17 18:08:36 +02:00
Raul Santos
0ba0d51c9e
Implement `mark_dirty` in Curve2D and Curve3D
...
Implements a method `mark_dirty` in Curve2D and Curve3D like the one
that already exists in Curve, it's a convenient way to set
`baked_cache_dirty` to `true` and also emit the `changed` signal.
2022-05-17 18:08:34 +02:00
Mark Riedesel
281cf5fb81
PathFollow3D parallel transport frame reliability improvements
2022-05-17 11:17:00 -04:00
Gilles Roudière
6db8b7616d
Keep input event as unhandled if they go through a control set to MOUSE_FILTER_PASS
2022-05-17 15:41:58 +02:00
Rémi Verschelde
3506825930
Merge pull request #61112 from Chaosus/graph_edit_delete_nodes_param
2022-05-17 13:10:04 +02:00
Rémi Verschelde
ccdd85d8e7
Merge pull request #61001 from derammo/derammo_popup_conditional_hide
2022-05-17 12:56:53 +02:00
Yuri Rubinsky
c84d050980
Add node list param to `GraphEdit::delete_nodes_request` signal
2022-05-17 13:28:21 +03:00
SnailRhymer
d79818acb6
Fix errors and improve UX relating to new animation libraries
...
- Fix a bug causing an error message when a scene containing an AnimationPlayer with a reset track is saved, by correctly referencing the temporary "default" library.
- Make library dropdown in new animation window assign correct library when creating an animation.
- Similarly allow choice of library when duplicating animation.
- Make library dropdown default to library of currently selected animation.
- Make library dropdown show when exactly one library exists, and it isn't [Global]. Include [Global] on the dropdown in this case (will be newly created if dialog is confirmed).
- When appending (x) to avoid New Anim name collisions, correctly check target library instead of [Global].
- Add parentheses when appending x when duplicating animations in the library editor, for consistency.
- Change titles and prompts to be distinct in name/rename/duplicate dialiogs.
- Fix bug in OprionButton.get_selectable_item(true) when last is not selectable.
- Fix issues where animation wasn't found on deletion/rename by correctly prepending library name.
- Remove an extraneous print_line from animation_track_editor.
- Add messages to errors when an animation isn't found.
2022-05-17 00:02:51 +01:00
clayjohn
9b61c855ef
Add basic lighting to GLES3 renderer.
...
This includes all three light types and IBL, but does not include shadows or any form of GI
2022-05-16 15:07:09 -07:00
Rémi Verschelde
61710d823d
Merge pull request #61090 from Geometror/fix-curve-baking
2022-05-16 21:15:08 +02:00
BimDav
3e96abce07
fix a bug in get_node_and_resource
2022-05-16 19:40:59 +02:00
Paweł Fertyk
3d5dd91f22
Fix get_breakpointed_lines crashing Godot
...
Fixes #60668 .
2022-05-16 18:46:01 +02:00
Hendrik Brucker
bf9a836a50
Regression: Fix Curve2D/Curve3D baking
2022-05-16 18:17:02 +02:00
Rémi Verschelde
fda397b5b2
Merge pull request #61085 from timothyqiu/as-over
2022-05-16 15:55:42 +02:00
monkeyman192
31381f8c9e
Allow TreeItem nodes to toggle visibility
2022-05-16 23:55:05 +10:00
Rémi Verschelde
fa2b3269ae
Merge pull request #59231 from Sauermann/fix-top-level-identification
2022-05-16 15:10:27 +02:00
Rémi Verschelde
eaa4e86433
Merge pull request #61061 from smix8/navigation_mesh_sample_distance_range_4.x
2022-05-16 15:05:17 +02:00
Rémi Verschelde
9efb134469
Merge pull request #59799 from Sauermann/fix-gridcontainer-remaining-pixel
2022-05-16 15:04:48 +02:00
Haoyu Qiu
d5f5e96e11
Fix AnimatedSprite doesn't emit animation_finished when changing playback direction
2022-05-16 21:03:22 +08:00
Rémi Verschelde
0497b67bec
Merge pull request #60130 from fire-forge/theme-node-names
2022-05-16 14:57:21 +02:00
smix8
e33fa9d833
Clamp NavigationMesh sample_distance above zero
...
While default ReCast library has support for 0.0 'sample_distance' the Godot implementation does not an crashes.
Previously Godot would set all sample_distance values below 0.9 to 0 which causes the crashes.
This limits the sample_distance range selection to 0.1 - 16.0 and also clamps sample_distance that are below 0.1 before ReCast receives them.
2022-05-16 14:25:20 +02:00
Rémi Verschelde
b154f445d5
Merge pull request #60507 from bruvzg/textmesh
...
Implement TextMesh.
2022-05-16 13:52:57 +02:00
Rémi Verschelde
df2de05c5f
Merge pull request #60463 from Geometror/improve-vs-1
2022-05-16 13:50:42 +02:00
Rémi Verschelde
7b571ab8f7
Merge pull request #60986 from fire-forge/capitalism
2022-05-16 13:49:14 +02:00
Rémi Verschelde
f95b7412c7
Merge pull request #61057 from smix8/navigation_obstacle_transform_error_4.x
2022-05-16 13:47:28 +02:00
Rémi Verschelde
9ba0fac1ba
Merge pull request #61038 from smix8/navigation_obstacle_rid_config_warn_4.x
2022-05-16 13:47:20 +02:00
Rémi Verschelde
95da5436dc
Merge pull request #61032 from smix8/navigationmesh_bake_no_threads_4.x
2022-05-16 13:47:06 +02:00
reduz
746dddc067
Replace most uses of Map by HashMap
...
* Map is unnecessary and inefficient in almost every case.
* Replaced by the new HashMap.
* Renamed Map to RBMap and Set to RBSet for cases that still make sense
(order matters) but use is discouraged.
There were very few cases where replacing by HashMap was undesired because
keeping the key order was intended.
I tried to keep those (as RBMap) as much as possible, but might have missed
some. Review appreciated!
2022-05-16 10:37:48 +02:00
smix8
49c603e127
Disable threaded NavigationMesh bake on unsupported OS
...
Automatically disables threaded NavigationMesh bake when OS does not support threads.
2022-05-16 00:55:15 +02:00
smix8
cc707412e9
Fix NavigationObstacle2D/3D get_global_transform() error
...
Fixes NavigationObstacle2D/3D reporting a 'get_global_transform: Condition "!is_inside_tree()" error when estimating the agent radius.
The collisionshapes that are lower in the SceneTree order than the obstacle node are not loaded in the SceneTree yet so the global_transform function fails.
Also adds warning message when this happens.
2022-05-15 20:29:23 +02:00
smix8
001d89223f
Expose NavigationObstacle2D/3D get_rid() and add config warning
...
Exposes get_rid() function for scripting.
Adds configuration warning when obstacle is used with not intended static body parent.
2022-05-15 01:03:22 +02:00
Haoyu Qiu
82fdad148f
Make auto_accept_quit and quit_on_go_back properties
2022-05-14 18:18:26 +08:00
derammo
47d0dc8a41
popup deferred hide suppressed if reopened
...
popup no longer tries to close itself a second time
popup no longer closes after having been reopened
fixed bug in RenameDialog not calling base (by inspection)
fixes #59181
fixes #60921
reverts #59287
2022-05-13 09:30:00 -04:00
Rémi Verschelde
1346804769
Merge pull request #60993 from Calinou/gpuparticlescollisionheightfield3d-remove-follow-push-camera
2022-05-13 14:53:55 +02:00
Rémi Verschelde
29cf36fc8b
Merge pull request #60991 from fire-forge/tileset-groups
2022-05-13 13:46:43 +02:00
bruvzg
081b6b8053
Add ALT NUM+ {hex code} character input support for LineEdit, TextEdit and CodeEdit.
2022-05-13 09:33:24 +03:00
Yuri Rubinsky
eb80a9f325
Merge pull request #60978 from fire-forge/shader-caps
...
Capitalize AO, AA, UV, and UV2 in visual shader output ports
2022-05-13 09:31:56 +03:00
FireForge
584a646f50
Capitalize output port names in visual shader
2022-05-13 00:53:09 -05:00
bruvzg
05963674a7
Implement TextMesh resource.
...
Apply simulated slant and embolden to the TextServer `gont_get_glyph_contours` results.
2022-05-13 08:20:22 +03:00
Hugo Locurcio
515676a7f5
Remove unused `GPUParticlesCollisionHeightField3D.follow_camera_push_ratio` property
...
- Rename setter/getter methods for consistency.
- Remove section in the inspector as there is now only 1 property
within the section.
- Add performance hints to property hints.
2022-05-13 04:19:28 +02:00
FireForge
40a1fc7a34
Reduce extra groups in TileSet
2022-05-12 17:31:58 -05:00
FireForge
88a8038387
Capitalize/fix some property enum hints
2022-05-12 15:03:16 -05:00
Rémi Verschelde
ff30a09993
Merge pull request #60643 from clayjohn/GLES3-3D
2022-05-12 21:08:02 +02:00
clayjohn
652adcd5bf
Basic 3D rendering
2022-05-12 10:37:27 -07:00
Rémi Verschelde
a624bfe150
Merge pull request #58152 from raulsntos/fix-curve-bake-algorithm
2022-05-12 14:45:23 +02:00
Raul Santos
b3c37b9fe1
Fix Curve bake algorithm
2022-05-12 13:18:21 +02:00
Raul Santos
a80bc715ad
Fix Curve idx calculation for baked tilts and up vectors
2022-05-12 13:18:20 +02:00
bruvzg
6783d55ce4
Use new HashMap implementation in the TextServer, and Font.
2022-05-12 13:42:25 +03:00
reduz
8b7c7f5a75
Add a new HashMap implementation
...
Adds a new, cleaned up, HashMap implementation.
* Uses Robin Hood Hashing (https://en.wikipedia.org/wiki/Hash_table#Robin_Hood_hashing ).
* Keeps elements in a double linked list for simpler, ordered, iteration.
* Allows keeping iterators for later use in removal (Unlike Map<>, it does not do much
for performance vs keeping the key, but helps replace old code).
* Uses a more modern C++ iterator API, deprecates the old one.
* Supports custom allocator (in case there is a wish to use a paged one).
This class aims to unify all the associative template usage and replace it by this one:
* Map<> (whereas key order does not matter, which is 99% of cases)
* HashMap<>
* OrderedHashMap<>
* OAHashMap<>
2022-05-12 11:21:29 +02:00
Rémi Verschelde
694baff233
Merge pull request #60932 from Geometror/button-fix-expand-icon
2022-05-10 22:58:56 +02:00
Hendrik Brucker
c09a5e2774
Fix button icon expansion calculation with empty text
2022-05-10 22:27:48 +02:00
Rémi Verschelde
edf61c077c
Merge pull request #60917 from akien-mga/ci-emscripten-3.1.10
2022-05-10 15:08:32 +02:00
Rémi Verschelde
b6983eeccf
Merge pull request #51591 from Calinou/call-group-default-immediate
...
Make `{call,set,notify}_group()` immediate by default
2022-05-10 14:52:23 +02:00
floppyhammer
f76d417d8a
Add fill_mode to ProgressBar
2022-05-10 19:34:48 +08:00
Rémi Verschelde
d8935b27a9
Fix warnings found by Emscripten 3.1.10
...
Fix `-Wunused-but-set-variable`, `-Wunqualified-std-cast-call`, and
`-Wliteral-range` warnings.
2022-05-10 13:03:13 +02:00
Rémi Verschelde
d3d58e7cc7
Merge pull request #60864 from V-Sekai/modification-stack-array
2022-05-09 22:39:44 +02:00
Yuri Roubinsky
a8bbe570ca
Rename `hint_albedo`, `hint_white/black` in shaders
2022-05-09 22:50:18 +03:00
Rémi Verschelde
e3371a53f8
Merge pull request #60905 from KoBeWi/ ⚓
...
Simplify anchor metadata
2022-05-09 21:13:56 +02:00
Yuri Rubinsky
033e211724
Merge pull request #60845 from Chaosus/vs_color_func
2022-05-09 21:34:34 +03:00
Yuri Rubinsky
b5cb4ea067
Merge pull request #60844 from Chaosus/vs_vec4
2022-05-09 21:34:13 +03:00
kobewi
20cfe6e229
Simplify anchor metadata
2022-05-09 18:51:13 +02:00
Rémi Verschelde
577f3f7f39
Merge pull request #60868 from KoBeWi/1wayarea
2022-05-09 16:19:03 +02:00
Rémi Verschelde
5013c1d5b6
Merge pull request #60890 from pfertyk/issue-60866-fix-backspace-selection-left
2022-05-09 15:52:56 +02:00
kobewi
c836bdf5b1
Mention that Area2D doesn't support one_way_collision
2022-05-09 15:00:53 +02:00
Rémi Verschelde
9923179578
Merge pull request #60893 from KoBeWi/node_rescue
2022-05-09 14:50:48 +02:00
Paweł Fertyk
d1aed90976
Fix backspace when selection reaches left edge
...
Fixes #60866 .
2022-05-09 14:16:28 +02:00
Haoyu Qiu
96cd2d9f52
Fix tree button icon not centered vertically
2022-05-09 10:53:09 +08:00
Silc Renew
ba8398f270
Fixed delta & Implement selection of whether or not to seek root
2022-05-09 08:28:32 +09:00
kobewi
2b53826ee6
Rescue orphan nodes in inherited scenes
2022-05-09 01:22:31 +02:00
kobewi
800d5567a1
Remove font height restriction from Button
2022-05-08 13:33:57 +02:00
K. S. Ernest (iFire) Lee
a396f7eda5
Change skeleton modification 2d and 3d to use the array inspector.
2022-05-07 13:57:10 -07:00
Yuri Roubinsky
ee1b7a033d
Push `HSV2RGB/RGB2HSV` to `ColorFunc` (from `VecFunc`) in visual shaders
2022-05-07 09:49:12 +03:00
Yuri Roubinsky
edd3b1274e
Change output port of `VisualShaderNodeColorUniform` to vec4
2022-05-07 08:40:19 +03:00
Ansraer
045f511bd9
Add viewport content scale
2022-05-06 19:50:53 +02:00
Rémi Verschelde
61517b6d39
Merge pull request #59720 from Vitika9/itemlist-signals
2022-05-06 10:46:47 +02:00
Vitika9
aef3b5681d
Changed signals of ItemList
2022-05-06 13:09:04 +05:30
Rémi Verschelde
f70085a942
Merge pull request #60802 from Calinou/profiler-idle-time-rename
2022-05-06 08:28:59 +02:00
kobewi
1dc7bcc83c
Cleanup metadata usage
2022-05-06 00:27:10 +02:00
Hugo Locurcio
79be2c7b75
Rename profiler "Idle Time" to "Process Time"
...
References to "idle time" are progressively being replaced by
"process time" throughout the engine to avoid confusion.
2022-05-05 20:23:47 +02:00
kobewi
45e4cb2bbf
Fix error spam when tweened node leaves tree
2022-05-05 17:57:25 +02:00
Rémi Verschelde
88a440826a
Merge pull request #60479 from nathanfranke/despawn-remove-child
...
multiplayer - remove child on despawn instead of just queue_delete
2022-05-05 17:03:40 +02:00
Hugo Locurcio
aabbb40009
Make `{call,set,notify}_group()` immediate by default
...
This results in less surprising behavior out of the box.
Internal usages were modified to keep the existing behavior
identical there.
2022-05-05 16:59:37 +02:00
Hugo Locurcio
b6e9314564
Merge pull request #59185 from NeilKleistGao/master
2022-05-05 16:41:39 +02:00
Rémi Verschelde
71e41eb395
Merge pull request #60597 from reduz/missing-node-resource-placeholders
2022-05-05 15:57:50 +02:00
Nathan Franke
680a668e2f
remove child on despawn instead of just queue_delete
2022-05-05 08:50:21 -05:00
Rémi Verschelde
f6e896a968
Merge pull request #60756 from timothyqiu/animated-sprite-autocomplete
...
Add autocompletion for `AnimatedSprite.play()`
2022-05-05 09:20:41 +02:00
Haoyu Qiu
312ec612c7
Add autocompletion for AnimatedSprite.play()
2022-05-05 14:36:35 +08:00
Haoyu Qiu
b3162e270e
Fix global AnimationLibrary name validation
2022-05-05 11:19:54 +08:00
Pawel Lampe
88d3f14697
Add ability to `bake_navigation_mesh` off thread.
...
This feature makes it possible to workaround problems such as:
- long baking time due to heavy synchronization when parsing geometry
from mesh instances
- crash when freeing `NavigationMeshInstance` while baking
- errors when actively baking node tree is being detached from the
scene tree
2022-05-04 23:00:18 +02:00
Rémi Verschelde
84f64ddde9
Merge pull request #60723 from reduz/refactor-module-initialization
2022-05-04 19:08:43 +02:00
reduz
de0ca3b999
Refactor module initialization
...
* Changed to use the same stages as extensions.
* Makes the initialization more coherent, helping solve problems due to lack of stages.
* Makes it easier to port between module and extension.
* removed the DRIVER initialization level (no longer needed).
2022-05-04 17:34:51 +02:00
Rémi Verschelde
1b2992799b
Merge pull request #60727 from aaronfranke/basis-axis-column
2022-05-03 19:36:07 +02:00
reduz
0a57f964a3
Implement missing Node & Resource placeholders
...
Implemented by request of @neikeq to advance in the GDExtension version of Mono.
* If a Resource type is missing upon load, it will be remembered together with its data (Unless manually overriden).
* If a Node type is missing upon load, it will be also be remembered together with its data (unless deleted).
This feature makes working with GDExtension much easier, as it ensures that missing types no longer cause data loss.
2022-05-03 17:08:09 +02:00
Rémi Verschelde
b239275989
Merge pull request #60583 from reduz/placeholder-assets
2022-05-03 16:43:13 +02:00
Aaron Franke
fa7a7795f0
Rename Basis get_axis to get_column, remove redundant methods
2022-05-03 09:37:47 -05:00
Rémi Verschelde
d5d86cb26e
Merge pull request #60571 from Sauermann/fix-control-screen-position
...
Inlcude CanvasLayer transform into calculation of Control screen position
2022-05-03 15:26:39 +02:00
Rémi Verschelde
8aa791d166
Merge pull request #59321 from Calinou/primitive-meshes-csg-tweak-default-sizes
...
Decrease default sizes of some primitive and CSG meshes for consistency
2022-05-03 15:19:30 +02:00
Rémi Verschelde
931838b330
Merge pull request #60627 from aaronfranke/rename-elements
...
Rename Transform2D and Basis `elements` to `columns` and `rows` respectively
2022-05-03 14:40:01 +02:00
Rémi Verschelde
297241f368
Merge pull request #60714 from Calinou/typedef-remove-ref
...
Remove `RES` and `REF` typedefs in favor of spelled out `Ref<>`
2022-05-03 14:28:18 +02:00
Rémi Verschelde
77c9138e72
Merge pull request #24402 from guilhermefelipecgs/state_machine_improvement
...
Improvements to AnimationNodeStateMachine
2022-05-03 14:25:30 +02:00
Rémi Verschelde
f75afaa085
Merge pull request #58777 from Sauermann/fix-capsulemesh-tangent
...
Reverse tangents of capsule mesh
2022-05-03 08:18:48 +02:00
Hugo Locurcio
180e5d3028
Remove `RES` and `REF` typedefs in favor of spelled out `Ref<>`
...
These typedefs don't save much typing compared to the full `Ref<Resource>`
and `Ref<RefCounted>`, yet they sometimes introduce confusion among
new contributors.
2022-05-03 01:43:50 +02:00
kobewi
e3511dd9d7
Fix tscn not listed as Resource extension
2022-05-02 23:21:15 +02:00
Guilherme Felipe
e7056c195d
Improvements of state machine
...
- Open the menu to add new animation nodes by dragging the transitions to
empty areas and automatically connecting them.
- Adds box selection to the state machine.
- Add feature to group/ungroup selected nodes in a "sub" state machine.
- Add start/end node by default. In addition, add new color to these
nodes to differentiate then.
- Add tooltip for transitions to show the connection "from -> to".
- Add new "type" of transition line when multiple transitions are
grouped.
- Add popup to connect nodes in sub state machine.
- Add dialog to select which nodes can be deleted when they are grouped.
- Add classes:
AnimationNodeStartState
AnimationNodeEndState
EditorAnimationMultiTransitionEdit
- Implements disabled transition
API Changes:
- Now it's posible to add transitions between state machines,
`AnimationNodeStateMachine::add_transition` will works with relative path,
this means you can use it like this `add_transition("Idle", "Walk", tr)`
or `add_transition("Idle", "StateMachine/Shoot)`.
2022-05-02 13:06:36 -03:00
Rémi Verschelde
78193788d0
Merge pull request #59895 from akien-mga/clang-tidy
2022-05-02 17:45:13 +02:00
Rémi Verschelde
c273ddc3ee
Style: Partially apply clang-tidy's `cppcoreguidelines-pro-type-member-init`
...
Didn't commit all the changes where it wants to initialize a struct
with `{}`. Should be reviewed in a separate PR.
Option `IgnoreArrays` enabled for now to be conservative, can be
disabled to see if it proposes more useful changes.
Also fixed manually a handful of other missing initializations / moved
some from constructors.
2022-05-02 16:28:25 +02:00
bruvzg
7b18c35ab2
Fix resource dependence renaming.
2022-05-02 16:38:09 +03:00
Rémi Verschelde
5c52b30471
Merge pull request #60529 from timothyqiu/theme-validation
2022-05-02 10:49:14 +02:00
Rémi Verschelde
4e06ce7840
Merge pull request #60655 from smix8/navigation_region_rid_4.x
...
Add get_region_rid() to NavigationRegion2D and NavigationRegion3D
2022-05-01 14:17:40 +02:00
kobewi
f473aab00d
Improve Tween infinite loop detection
2022-05-01 00:24:07 +02:00
Rémi Verschelde
122fa74f6c
Merge pull request #60650 from bruvzg/lbl_n_spr_z_order
2022-04-30 16:32:32 +02:00
bruvzg
0a0e94d996
Expose Label3D and Sprite*3D material render priority properties.
2022-04-30 15:09:30 +03:00
kobewi
7f0bc91844
Simplify Callable error text methods
2022-04-30 13:42:26 +02:00
smix8
05d06b8957
Add get_region_rid() NavigationRegion2D and NavigationRegion3D
...
Add get_region_rid() to NavigationRegion2D and NavigationRegion3D
2022-04-30 13:27:30 +02:00
Hendrik Brucker
6d876baf60
Improve the VisualShader/VisualScript editor UI
2022-04-30 03:56:57 +02:00
Rémi Verschelde
0e98dbb19c
Merge pull request #60070 from Calinou/proceduralskymaterial-add-dithering
...
Add dithering to ProceduralSkyMaterial to combat banding
2022-04-29 20:28:11 +02:00
Hugo Locurcio
d567369c8f
Tweak the Viewport configuration warning to mention 2×2 size requirement
2022-04-29 20:25:05 +02:00
kobewi
8187a777ce
Small improvements to get_first_node_in_group()
2022-04-29 16:14:48 +02:00
Rémi Verschelde
a817bd96c0
Merge pull request #59297 from fabriceci/fix-jitter-2D-slight-slope
2022-04-29 15:33:45 +02:00
Aaron Franke
1bf94dff3a
Rename Basis "elements" to "rows"
2022-04-29 08:02:56 -05:00
Aaron Franke
b831fb0a54
Rename Transform2D "elements" to "columns"
2022-04-29 08:02:39 -05:00
Nathan Franke
925e54ad65
fix lines ending in comments causing auto indent
2022-04-28 20:07:10 -05:00
bruvzg
be2ee9d277
[Label3D] Add offset property.
2022-04-28 21:23:15 +03:00
Rémi Verschelde
212989d467
Merge pull request #59438 from fabriceci/fix-move-and-collide-reported-collisions
...
Fix wrong collision reported on move_and_collide
2022-04-28 18:47:22 +02:00
Rémi Verschelde
5a4e478b0f
Merge pull request #58599 from Calinou/styleboxflat-add-skew
...
Add a Skew property to StyleBoxFlat
2022-04-28 18:32:01 +02:00
Rémi Verschelde
1eb09364f8
Merge pull request #60247 from ScottVMariotte/AnimationTree_atEndFix
...
Replaced `loops_current` with `end_loop` in `AnimationNodeStateMachinePlayback`
2022-04-28 18:22:23 +02:00
Rémi Verschelde
9101c5b499
Merge pull request #52624 from e8newallm/52577
...
Corrected ordering of Left/Top/Right/Bottom properties
2022-04-28 17:57:02 +02:00
Haoyu Qiu
6c01ef8f4c
Miscellaneous Tween fixes
2022-04-28 21:19:01 +08:00
reduz
b02c7387c7
Implement placeholder assets
...
* Placeholder textures
* Placeholder meshes
* Placeholder material
This PR is the first step towards implementing https://github.com/godotengine/godot-proposals/issues/2756
It adds an asset type that uses no resources, which can be used to replace the existing ones on export for using on the upcoming server export.
2022-04-28 12:19:01 +02:00
Markus Sauermann
a793960a10
Fix cppcheck const parameters
...
Convert method signature parameters to const where it is possible
# Conflicts:
# drivers/gles3/rasterizer_canvas_gles3.cpp
# drivers/gles3/rasterizer_canvas_gles3.h
# editor/plugins/animation_state_machine_editor.cpp
# editor/plugins/animation_state_machine_editor.h
2022-04-28 11:35:39 +02:00
Markus Sauermann
f01e1ce1dd
Inlcude CanvasLayer transform into calculation of Control screen position
2022-04-28 00:18:32 +02:00
Hugo Locurcio
53b8899be9
Decrease default sizes of some primitive and CSG meshes for consistency
2022-04-27 22:45:38 +02:00
Rémi Verschelde
3e9ead05f2
Merge pull request #58685 from IgorKordiukiewicz/gpu_particles_2d_interpolation_property
...
Added interpolation property to GPUParticles2D
2022-04-27 13:58:41 +02:00
Rémi Verschelde
1737494479
Merge pull request #60321 from rburing/pathfollow_offset_yes_a_number
2022-04-27 13:27:19 +02:00
Rémi Verschelde
1de51133c9
Merge pull request #60331 from KoBeWi/tween_static()
2022-04-27 13:20:11 +02:00
Rémi Verschelde
baeb8ad860
Merge pull request #60361 from Geometror/fix-gradient-texture-2d-get-image
2022-04-27 12:49:39 +02:00
Rémi Verschelde
f40952e0ba
Merge pull request #60349 from TokageItLab/fix-rotated-root-motion-view
2022-04-27 12:41:24 +02:00
Rémi Verschelde
2890ac7100
Merge pull request #60319 from TokageItLab/implement-global-rest
2022-04-27 11:06:42 +02:00
Rémi Verschelde
6c20ade250
Merge pull request #60440 from KoBeWi/Ȑ̶̛̘̻̹̪͙̇̍̔͐̊̆̏̏̓̈́̉͌͘Ȩ̸͉̳̘̬̣̩̽̈́́̅̈́̕͝ͅS̷͓̮̙̪̪̺̭̰̓̎̌́͗͆͌̈́̒͋͊͘Ë̷̡̨͔̻͈̺͓̘͉́̏̍̓͋̋͠T̶̠̙͍̱̠̱̟͎͇̬̥̞̘͛̔̄̏̆̽̄̌̅͝ͅ
2022-04-27 11:06:20 +02:00
Rémi Verschelde
8dfa12cae7
Merge pull request #59979 from bruvzg/cpp_check2
2022-04-27 10:08:26 +02:00
Samuel Wilson
a4c38aa92e
Fix TileMap::set_pattern offsets
...
Currently it is trying to use the target coordinates (i.e., in the destination TileMap) to pull from the pattern, rather than the pattern-local coordinates.
2022-04-27 09:35:33 +02:00
Rémi Verschelde
a19d7d8f8d
Merge pull request #58383 from bruvzg/no_inv_window_placement
2022-04-27 09:33:40 +02:00
Rémi Verschelde
e9e2aaf812
Merge pull request #60513 from Calinou/default-font-add-msdf-mipmap
...
Add MSDF and mipmap generation project settings for the default font
2022-04-26 22:39:55 +02:00
Fabio Alessandrelli
aee2240d5f
[Net] Allow branch-specific MultiplayerAPIs.
...
Removes custom_multiplayer from Node.
MultiplayerAPI overrides are now set at SceneTree level, and apply to
whole branches.
Impact on performance when using only the default multiplayer or
overriding it is minimal, the use of branches can likely be further
optimized by caching nodes and relevant MultiplayerAPI IDs.
2022-04-26 17:22:54 +02:00
Haoyu Qiu
d8c04cda3a
Validate theme type/item names
2022-04-26 19:54:43 +08:00
Rémi Verschelde
06c33cca18
Merge pull request #60511 from akien-mga/readd-find_node
2022-04-26 09:42:19 +02:00
Rémi Verschelde
e77a7c2976
Merge pull request #60369 from timothyqiu/al-validate
...
Fix AnimationLibrary name validation
2022-04-26 08:17:41 +02:00
Rémi Verschelde
8c2b9801fd
Merge pull request #60438 from Paulb23/text-edit-tests
...
Add TextEdit unit tests and multiple fixes.
2022-04-25 23:39:30 +02:00
Rindbee
44e32ba75c
Fix font_size not working in TabContainer
2022-04-25 23:22:59 +08:00
Hugo Locurcio
43c34bf611
Add MSDF and mipmap generation project settings for the default font
...
This can be used to improve Label3D and scaled Control appearance
in prototypes.
2022-04-25 16:47:44 +02:00
Rémi Verschelde
68ee730774
Merge pull request #60424 from timothyqiu/fa-unref
...
Close `FileAccess` before accessing it with `DirAccess`
2022-04-25 16:21:09 +02:00
Rémi Verschelde
02bb8e948f
Merge pull request #60261 from fire-forge/theme-prop-renames
2022-04-25 16:20:19 +02:00
Rémi Verschelde
49a7f929a6
Merge pull request #60123 from KoBeWi/borrowed
...
ItemList selection bug && navigation bug fixed
2022-04-25 16:18:58 +02:00
Rémi Verschelde
30aeffd0c4
Merge pull request #60491 from RedHeadphone/master
...
Correct initial cpu particle velocity
2022-04-25 16:03:28 +02:00
Rémi Verschelde
63a052d96b
Merge pull request #60386 from bruvzg/label3d
2022-04-25 15:51:31 +02:00
Rémi Verschelde
9c2ea7e296
Node: Re-add `find_node` as `find_child`, improve docs
...
The new name contrasts it better with `find_parent`, and makes it clear
that it only matches child/descendant nodes.
Also rename `find_nodes` to `find_children` accordingly.
2022-04-25 15:21:22 +02:00
Rémi Verschelde
7c7ce7dcd7
Merge pull request #60298 from reduz/scene-unique-paths
2022-04-25 13:38:08 +02:00
reduz
8580f377a3
Implement Scene Unique Nodes
...
Implements https://github.com/godotengine/godot-proposals/issues/4096
* Nodes can be marked unique to the scene in the editor (or via code).
* Unique nodes can be accessed via the **%** prefix at any point in the path. From that point in the path (depending on whether the scene of the path is), the unique node will be fetched.
* Implementation is very optimal, as these nodes are cached.
2022-04-25 12:19:17 +02:00
Yuri Rubinsky
d9d871dfbf
Merge pull request #60439 from Chaosus/vs_vec4
2022-04-25 07:20:44 +03:00
Clay John
e80aedbf20
Merge pull request #60378 from clayjohn/ParticlesMaterial-clamp
...
Clamp Gradient and Curve Textures in ParticlesMaterial
2022-04-24 10:37:27 -07:00
RedHeadphone
f603c75035
correct initial cpu particle velocity
2022-04-24 14:50:42 +05:30
Silc 'Tokage' Renew
df89969865
fixed rotated RootMotionView grid glitch
2022-04-24 15:46:39 +09:00
Clay John
187daffbfc
Merge pull request #60336 from TokageItLab/fix-root-motion-rotation-init
...
Fixed wrong init value of root motion rotation
2022-04-23 18:45:02 -07:00
Thakee Nathees
09835f3cc5
ItemList selection bug && navigation bug fixed
...
Co-authored-by: kobewi <kobewi4e@gmail.com>
2022-04-24 00:31:02 +02:00
FireForge
3073b85de9
Rename theme properties to include underscores
...
- check_vadjust -> check_v_adjust
- close_h_ofs -> close_h_offset
- close_v_ofs -> close_v_offset
- commentfocus -> comment_focus
- hseparation -> h_separation
- ofs -> offset
- selectedframe -> selected_frame
- state_machine_selectedframe -> state_machine_selected_frame
- table_hseparation -> table_h_separation
- table_vseparation -> table_v_separation
- vseparation -> v_separation
2022-04-23 11:16:18 -05:00
kobewi
cf74b36740
Fix RESET animation not being created
2022-04-22 22:28:15 +02:00
Yuri Roubinsky
8bf632240d
Continue to improve vector4 type in visual shaders
2022-04-22 22:29:26 +03:00
Paulb23
7f62a74927
Multiple small TextEdit Bug Fixes
...
Fixed line_drawing_cache not containing anything
Fixed is_move_caret_on_right_click_enabled requiring the context menu to be enabled
Fixed when selecting_enabled is false not disabling shift + click
Fixed when selecting_enabled is false not being able to drag the caret
Fixed _delete emitting signals when nothing had changed.
Fixed insert_line_at up causing a visual update
Fixed get_pos_at_line_column returning a valid position when it was invalid
Fixed set_caret_column unnecessary emitting "caret_changed" when the column is greater then the line
Fixed select_word_under_caret not accepting the edges of words
Fixed select_word_under_caret moving the caret to the start of the line when no word was found
Fixed get_selection_line and get_selection_column not checking if the selection was enabled
Fixed set_line_as_center_visible throwing errors if it would show line 0
Fixed set_line_as_center_visible being off by one
Fixed set_line_as_last_visible not being able to show the first line
Fixed pressing UP and the end of a wrapped line sending the caret to col 0 rather then then persevering the position.
2022-04-22 17:53:14 +01:00
Haoyu Qiu
caf8e5e339
Close FileAccess before accessing it with DirAccess
2022-04-22 18:15:31 +08:00
bruvzg
be611c1c05
Implement Label3D node.
...
Add "generate_mipmap" font import option.
Add some missing features to the Sprite3D.
Move BiDi override code from Control to TextServer.
Add functions to access TextServer font cache textures.
Add MSDF related flags and shader to the standard material.
Change standard material cache to use HashMap instead of Vector.
2022-04-22 12:08:46 +03:00
bruvzg
defcd0c57e
Avoid setting sub-window or started project window positions, if it's impossible to get screen rect.
2022-04-20 11:10:33 +03:00
bruvzg
de4c97758a
Fix more issues found by cppcheck.
2022-04-20 10:34:00 +03:00
Yuri Rubinsky
f4b0c7a1ea
Merge pull request #60175 from Geometror/visual-shader-vector4
2022-04-20 08:33:42 +03:00
clayjohn
1ea4f37c50
Clamp Gradient and Curve Textures in ParticlesMaterial
2022-04-19 15:39:19 -07:00
Hendrik Brucker
39a4036aa2
Fix GradientTexture2D update after setting the gradient
2022-04-19 19:51:49 +02:00
Haoyu Qiu
d8fed8fb69
Fix AnimationLibrary name validation
2022-04-19 17:15:43 +08:00
Silc 'Tokage' Renew
dd90a34e8a
fixed init value in root motion rotation
2022-04-18 14:04:49 +09:00
kobewi
3017530e26
Make Tween.interpolate_value() static
2022-04-17 23:13:39 +02:00
Hugo Locurcio
d1c2a0df4e
Add a property hint for AspectRatioContainer's `ratio` property
...
Zero or negative ratios are not valid, so the property hint prevents
choosing such values.
The property hint allows using 4 decimals so that common aspect ratios
like 16/9 can be specified with a good level of precision.
2022-04-17 22:03:47 +02:00
Silc 'Tokage' Renew
4d4ffa3a2c
Implement global rest
2022-04-18 02:11:19 +09:00
Ricardo Buring
eb9157df23
PathFollow2D and PathFollow3D: don't set offset to NaN
2022-04-17 17:26:05 +02:00
Rémi Verschelde
f7ca732df1
Merge pull request #60308 from TokageItLab/remove-exp-map-in-blending
...
Discontinue exp map in blending
2022-04-17 00:23:28 +02:00
Silc 'Tokage' Renew
3ce843c128
Discontinue exp map in blending
2022-04-17 04:34:28 +09:00
Hugo Locurcio
52d6a7a7ff
Fix the Audio Listener 3D property not being grouped with 2D in Viewport
2022-04-16 02:22:58 +02:00
Rémi Verschelde
3639c27cf1
Merge pull request #60235 from TokageItLab/fix-value-track-blend
...
Fixed blending value track without RESET and TRS3D track with RESET
2022-04-15 09:09:27 +02:00
ScottVMariotte
c526ee6683
Replaced loops_current with end_loop
2022-04-14 18:18:00 -04:00
Rémi Verschelde
7a4c203ce9
Merge pull request #60225 from YeldhamDev/popmenu_arrow_slim
...
Reduce width of arrow icons for the default theme in `PopupMenu`
2022-04-14 21:24:21 +02:00
Silc 'Tokage' Renew
0fe723a1ac
Fixed value track blend animation without RESET
2022-04-14 19:01:00 +09:00
Michael Alexsander
bab2f3c021
Add `font_separator` and related properties to `PopupMenu`
2022-04-13 23:46:35 -03:00
Michael Alexsander
c088e2f416
Reduce width of arrow icons for the default theme in `PopupMenu`
2022-04-13 23:22:46 -03:00
nikitalita
6c00f8111d
Fix binsary resource export
2022-04-13 16:33:44 -07:00
Rémi Verschelde
3b57c2ce6b
Merge pull request #60221 from YeldhamDev/grid_toplevel_fix
...
Fix `GridContainer` not ignoring toplevel children
2022-04-14 00:33:52 +02:00
Rémi Verschelde
321213d863
Merge pull request #60220 from YeldhamDev/the_line_must_be_drawn_here
...
Fix and tweak labeled separator in `PopupMenu`
2022-04-14 00:15:23 +02:00
Michael Alexsander
506d8ba526
Fix `GridContainer` not ignoring toplevel children
2022-04-13 18:09:51 -03:00
Rémi Verschelde
8ada85ef1d
Merge pull request #60093 from TokageItLab/reset-blend
...
Make blend animation to use ResetTrack as default value
2022-04-13 22:46:45 +02:00
Michael Alexsander
59c3d4e17f
Fix and tweak labeled separator in `PopupMenu`
2022-04-13 17:13:29 -03:00
Rémi Verschelde
312b70115a
Merge pull request #60211 from timothyqiu/al-rename
2022-04-13 18:28:34 +02:00
Haoyu Qiu
bdfb3884ff
Fix parameter validation when renaming in AnimationLibrary
2022-04-13 22:14:47 +08:00
ConteZero
6530e55f2d
Fix select_all() crash in RichTextLabel
2022-04-13 15:41:34 +02:00
Rémi Verschelde
d27f60f0e8
Merge pull request #60199 from akien-mga/color-clarify-srgb-linear-conversions
2022-04-13 13:41:21 +02:00
Rémi Verschelde
d1bb77076a
Merge pull request #60004 from fire-forge/anim-loop-enum
2022-04-13 13:07:34 +02:00
Rémi Verschelde
9b89c07075
Merge pull request #60034 from Calinou/camera-allow-lower-size
2022-04-13 12:48:08 +02:00
Rémi Verschelde
e44aa166f0
Merge pull request #60194 from V-Sekai/node_3d_gizmo_fix
2022-04-13 12:23:01 +02:00
Rémi Verschelde
46ef52162e
Color: Rename `to_srgb`/`to_linear` to include base color space
...
This helps reduce confusion around sRGB <> Linear conversions by making
both input and output color spaces explicit.
2022-04-13 11:45:52 +02:00
bruvzg
8b0761d1fd
Fix sub-menu keyboard navigation.
2022-04-13 09:58:38 +03:00
SaracenOne
f8cc2e054d
Ensure gizmos are added to newly created Node3D-derivatives and silence error for attempting to create gizmos twice
2022-04-13 04:39:01 +01:00
Rémi Verschelde
895f2a21f4
Merge pull request #60081 from fire-forge/input-event-editor-fix
...
Redesign InputEvent editor and fix `Window.popup_centered()` rect calculation.
2022-04-12 23:46:56 +02:00
Hendrik Brucker
cf58d23a72
Add Vector4 to VisualShader
2022-04-12 19:09:29 +02:00
Rémi Verschelde
3c1c772b01
Merge pull request #59531 from TokageItLab/fix-init-root-motion
...
Fixed initialization of TRS Track in blend tree for root motion
2022-04-12 18:51:23 +02:00
Rémi Verschelde
d9cb39c2e8
Merge pull request #60170 from ConteZero/context_menu
2022-04-12 18:42:58 +02:00
Yuri Rubinsky
3d63f6e36d
Merge pull request #60171 from Chaosus/restore_aa
2022-04-12 18:09:58 +03:00
ConteZero
645aded7e9
Add context menu to RichTextLabel
2022-04-12 16:28:38 +02:00
FireForge
0b0a74e135
Redesign InputEvent editor plugin
...
- Use vertical layout and add text wrapping
- Fix Window.popup_centered() rect calculation
2022-04-12 08:30:24 -05:00
Rémi Verschelde
724dd82f92
Merge pull request #60069 from Calinou/fsr-fix-editor-enum
2022-04-12 14:33:52 +02:00
Yuri Roubinsky
6e9535a9c8
Restore antialiasing for `draw_line`
2022-04-12 13:03:56 +03:00
bruvzg
4bf99f4af2
Narrow FileAccess scope to prevent deadlocks.
2022-04-12 10:54:39 +03:00
Rémi Verschelde
5974e1432e
Merge pull request #60085 from YeldhamDev/relationships_are_hard
2022-04-11 23:36:13 +02:00
Rémi Verschelde
9d86e4f446
Merge pull request #59927 from Zylann/fix_graphnode_title_trim
...
Fix GraphNode not resizing with larger title
2022-04-11 21:07:40 +02:00
Rémi Verschelde
3fc7a96cf8
Merge pull request #60120 from Calinou/environment-editor-ssil-tonemap-hide
...
Hide SSIL properties when SSIL is disabled in the Environment resource
2022-04-11 20:34:28 +02:00
Eric McGuirk
b1441bbcfc
Fix toggling GraphEdit's minimap with `minimap_enabled`
...
Fixes #53831 .
2022-04-11 17:52:04 +02:00
Rémi Verschelde
b936359e07
Merge pull request #60026 from ConteZero/shortcut_keys_enabled
2022-04-11 17:50:41 +02:00
Rémi Verschelde
2507b2b006
Merge pull request #54191 from Ev1lbl0w/bugfix-window_popup_ratio
2022-04-11 17:49:20 +02:00
Rémi Verschelde
4ab86c6731
Merge pull request #59980 from reduz/animation-libraries
2022-04-11 14:18:35 +02:00
Rémi Verschelde
5613ac37d6
Merge pull request #59440 from bruvzg/fd_ref_counted
2022-04-11 14:12:18 +02:00
Rémi Verschelde
2ec68599a4
Merge pull request #60111 from KoBeWi/the_files_have_landed
2022-04-11 12:52:51 +02:00
Rémi Verschelde
f44e5dba6d
Merge pull request #60124 from KoBeWi/sepyt_noitcennoc_dilav
2022-04-11 12:52:13 +02:00
reduz
6f401439f8
Implement Animation Libraries
...
* Instead of containing single animations, AnimationPlayer now contains libraries.
* Libraries, in turn, contain the animations.
This paves the way for implementing the possibility of importing scenes as animation libraries, finally allowing to import animations separate from the 3D models.
Missing (will be done on separate PRs):
* Make it possible to import scenes (dae/fbx/gltf) as animation libraries.
* Make it possible for AnimationTree to import animation libraries on its own, so it does not rely on AnimationPlayer for everything.
2022-04-11 12:51:54 +02:00
bruvzg
9381acb6a4
Make FileAccess and DirAccess classes reference counted.
2022-04-11 13:28:51 +03:00
Rémi Verschelde
ca9372622f
Merge pull request #60104 from ConteZero/shortcut_keys
2022-04-11 12:02:42 +02:00
FireForge
197be78bc5
Fix Theme type group naming in the inspector
2022-04-10 22:18:21 -05:00
kobewi
63de41b996
Improvements to files_dropped signal
2022-04-11 00:37:06 +02:00
kobewi
b29aff8dac
Fix GraphEdit's valid connections being reversed
2022-04-11 00:34:59 +02:00
Hugo Locurcio
f9c0a66d6e
Hide SSIL properties when SSIL is disabled in the Environment resource
...
- Hide Tonemap White property when the tonemapper is Linear
(as linear tonemapping does not use a whitepoint).
2022-04-10 23:44:19 +02:00
ConteZero
addadaaa24
Add select_all() to RichTextLabel
2022-04-10 18:03:10 +02:00
Ev1lbl0w
139c1eb655
Clamp ratio from popup_centered_ratio
2022-04-10 11:10:21 +01:00
Silc 'Tokage' Renew
860fac4e6f
Make blend animation to use ResetTrack as default value
2022-04-10 13:00:00 +09:00
Michael Alexsander
335068e89b
Draw relationship lines for items offscreen
2022-04-09 20:59:17 -03:00
Hugo Locurcio
bc2ca2ebcf
Add dithering to ProceduralSkyMaterial to combat banding
...
Dithering was already present in PhysicalSkyMaterial. This brings
it to ProceduralSkyMaterial as well, with the same algorithm
and default intensity.
2022-04-09 18:29:41 +02:00
Hugo Locurcio
d15b69118d
Fix 3D scaling enum size in the editor and improve descriptions
2022-04-09 17:53:45 +02:00
Rémi Verschelde
eb6ebdc4af
Merge pull request #59995 from Scony/fix-threaded-navmesh-baking
...
Fix navmesh baking
2022-04-09 01:27:55 +02:00
Pawel Lampe
fcd26b8841
Fix navmesh baking
...
- improved mesh data calculation from standalone static colliders so that no
VisualServer calls are performed - and thus no VS mutexes need to
be locked in case of on-thread baking
- improved the same for GridMap's static colliders
2022-04-08 21:01:59 +02:00
Hugo Locurcio
2252663163
Allow `size` values as low as `0.001` in Camera3D's orthogonal/frustum mode
...
This allows for lower field of view (or higher zoom) in orthogonal
and frustum camera modes.
The property hint also allows setting the size with greater precision.
2022-04-08 18:49:45 +02:00
ConteZero
a3d82f5afb
Fix shortcut_keys_enabled in TextEdit
2022-04-08 15:13:32 +02:00
FireForge
28261b3da8
Add enum hint for Animation.loop_mode
2022-04-07 17:19:32 -05:00
Rémi Verschelde
0f9231ca0f
Merge pull request #59788 from Vitika9/59711
2022-04-07 15:30:57 +02:00
Rémi Verschelde
46382d9a24
Merge pull request #59958 from akien-mga/compat-opensimplexnoise-fastnoiselite
2022-04-06 23:30:59 +02:00
Rémi Verschelde
84b315a9ee
Add compat rename for OpenSimplexNoise
...
Fixes #59953 .
2022-04-06 21:12:24 +02:00
bruvzg
f851c4aa33
Fix some issues found by cppcheck.
2022-04-06 14:34:37 +03:00
bruvzg
9c61fa7ad8
[RTL] Improve table cell selection.
2022-04-06 09:03:08 +03:00
Marc Gilleron
79c6d7ad7f
Fix GraphNode not resizing with larger title
2022-04-05 21:57:54 +01:00
kobewi
6e622c58c5
Change gizmo_extents to property
2022-04-05 16:16:28 +02:00
Rémi Verschelde
e9699dca02
Merge pull request #58062 from Calinou/panoramaskymaterial-default-black
2022-04-05 15:21:01 +02:00
bruvzg
d1207a0504
[Input] Add extra `shortcut_input` input processing step to process Unicode character input with Alt / Ctrl modifiers, after processing of shortcuts.
2022-04-05 13:46:45 +03:00
Haoyu Qiu
8cefbfcf43
Consider chained operation when selecting text in TextEdit::undo()
2022-04-05 09:12:10 +08:00
Rémi Verschelde
f454cea785
Merge pull request #58452 from marcgpuig/text-edit-backspace-fix
2022-04-04 23:58:33 +02:00
Rémi Verschelde
b512fe67a6
Merge pull request #59888 from akien-mga/clang-tidy
2022-04-04 23:57:30 +02:00
Pawel Lampe
e17e4b34a8
Fix debug navmesh errors
2022-04-04 23:03:14 +02:00
Rémi Verschelde
b78aa4fe19
Style: Apply clang-tidy to current code, add `readability-redundant-member-init`
2022-04-04 21:49:51 +02:00
Rémi Verschelde
f8ab79e68a
Zero initialize all pointer class and struct members
...
This prevents the pitfall of UB when checking if they have been
assigned something valid by comparing to nullptr.
2022-04-04 19:49:50 +02:00
Markus Sauermann
01c37dc277
Revert "Fix that collision objects ignore canvas transform"
...
This reverts commit 5521b93750
.
2022-04-04 18:08:05 +02:00
Rémi Verschelde
e659eb66a0
Merge pull request #59874 from ConteZero/richtextlabel_deselect
2022-04-04 16:57:11 +02:00
ConteZero
45159e88e1
Add deselect() to RichTextLabel
2022-04-04 16:06:57 +02:00
Igor Kordiukiewicz
fd54762892
Added interpolation property to GPUParticles2D
2022-04-04 15:51:13 +02:00
Rémi Verschelde
338b23d572
Merge pull request #59513 from BastiaanOlij/openxr_actionmap_editor
2022-04-04 14:26:28 +02:00
Rémi Verschelde
f1592cb3da
Merge pull request #58010 from jmb462/fix-TextEdit-v_scroll_speed
2022-04-04 13:50:52 +02:00
Bastiaan Olij
9b7b9de0e5
Add action map editor for OpenXR
2022-04-04 18:43:29 +10:00
Rémi Verschelde
25d36e085b
Merge pull request #59856 from KoBeWi/touching_spam
...
Fix TouchScreenButton error spam
2022-04-04 09:35:48 +02:00
bruvzg
28520002cf
Fix center aligned text clipping.
2022-04-04 09:04:05 +03:00
kobewi
db19cc60fb
Fix TouchScreenButton error spam
2022-04-04 01:47:40 +02:00
Marc Garcia Puig
f22d257025
Fixed ctrl + backspace on empty lines
...
Fix <word><space><caret> scenario
Fix move left & right for lines without words
2022-04-04 01:21:16 +02:00
jmb462
0d17903bd5
Fix TextEdit v_scroll_speed invalid values breaks wheel scrolling
2022-04-03 21:07:39 +02:00
Rémi Verschelde
6bbd4def45
Merge pull request #59415 from KoBeWi/tween_time()
2022-04-02 00:31:40 +02:00
Markus Sauermann
6b3207644b
Distribute remaining pixel to expanding childs of GridContainer
2022-04-01 19:04:07 +02:00
Rémi Verschelde
1ec40a94d5
Merge pull request #59791 from fountainment/fix_scroll_zoom
2022-04-01 17:57:58 +02:00
Vitika9
ff75b30e6e
Removed show_on_top property in CanvasItem
2022-04-01 18:40:40 +05:30
Rémi Verschelde
26048c805b
Merge pull request #59331 from bartekd97/navigation-agent-layers
2022-04-01 13:35:51 +02:00
Markus Sauermann
249d6a4225
Fix how Root Control Node is determined
2022-04-01 13:34:57 +02:00
C.Even
2080077c9c
Fix that slow mouse wheel scroll has no zoom effect on 2D editor
...
* scroll_vec in ViewPanner::gui_input is multiplied by float factors,
so it should be a Vector2 rather than Vector2i
* Fixes #57423
2022-04-01 18:34:00 +08:00
Rémi Verschelde
4263f02f28
Merge pull request #59764 from reduz/blender-import-autodetect
2022-04-01 11:42:05 +02:00
reduz
e32215fbad
Add Blender install autodetection and configuration.
...
This PR is a continuation to #54886
* Changed Blender path editor setting from binary to installation.
* Add a class to query whether the format is supported.
* This class allows to create proper editors to configure support.
**NOTE**: This PR only provides autodetection on Linux. Code needs to be added for Windows and MacOS to autodetect the Blender installation.
Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
Co-authored-by: Pedro J. Estébanez <pedrojrulez@gmail.com>
2022-04-01 11:01:12 +02:00
Rémi Verschelde
f3fe2631da
Merge pull request #59771 from timothyqiu/i18n-theme-props
...
Extract theme property names for localization
2022-04-01 08:44:11 +02:00
NeilKleistGao
d8946a7111
Remove metadata `_edit_layout_mode` and `_edit_use_custom_anchors` if they have default values
2022-04-01 13:38:32 +08:00
Haoyu Qiu
2f20ff0ed6
Extract theme property names for localization
2022-04-01 11:35:22 +08:00
FireForge
60dfe76e1f
Fix group name in FastNoise and Gradient
2022-03-31 21:21:04 -05:00
Rémi Verschelde
1358efde1f
Merge pull request #59709 from Sauermann/fix-dragndrop-subviewport-transform
2022-03-31 22:31:59 +02:00
Rémi Verschelde
af7a4c4672
Merge pull request #59762 from YeldhamDev/tabc_fixes
2022-03-31 22:28:13 +02:00
Rémi Verschelde
8e5d927af5
Merge pull request #59590 from Calinou/rename-print-stray-nodes
2022-03-31 22:21:51 +02:00
Michael Alexsander
b8ce726dd0
Small fixes for `TabContainer`
2022-03-31 16:43:09 -03:00
Hugo Locurcio
a29f2bfe54
Rename `Node.print_stray_nodes()` to `Node.print_orphan_nodes()`
...
The "orphan" terminology is already used elsewhere.
2022-03-31 18:33:02 +02:00
Markus Sauermann
5521b93750
Fix that collision objects ignore canvas transform
...
This aligns collision areas with visual areas within a viewport
2022-03-31 16:07:05 +02:00
Rémi Verschelde
a647fb3e62
Fix typos with codespell
...
Using codespell 2.2-dev from current git.
Fix a couple incorrect uses of gendered pronouns.
2022-03-31 14:07:29 +02:00
Rémi Verschelde
fc4e9d6299
Merge pull request #59702 from Sauermann/fix-subviewport-container-event-transform
...
Fix event transform in SubViewportContainer
2022-03-31 11:07:21 +02:00
Markus Sauermann
529e2279e1
Fix Drag n Drop Transform in main embedding window
2022-03-31 00:43:52 +02:00
Markus Sauermann
0472839509
Fix Control::warp_mouse to respect canvas transform
2022-03-30 23:18:23 +02:00
Markus Sauermann
c8573ea3df
Fix event transform in SubViewportContainer
...
The transform does not take the canvas transform into account.
2022-03-30 20:56:36 +02:00
Rémi Verschelde
03c58954c0
Merge pull request #58436 from piiertho/feature/typed-vararg-method-bind
2022-03-30 13:47:35 +02:00
Rémi Verschelde
60f8df380d
Merge pull request #59478 from reduz/add-portable-compressed-texture
2022-03-30 12:13:32 +02:00
Pierre-Thomas Meisels
63f7f44ccb
Make vararg method bind no return and return
...
Type emit_signal exposed method return type
set UndoRedo add_do_method and add_undo_method exposed return void
Set TreeItem::_call_recursive_bind returns void
Set _rpc_bind and _rpc_id_bind returns void in Node
Set _call_group and _call_group_flags method returns void in SceneTree
Set godot-cpp-test CI flag to false
2022-03-30 11:43:12 +02:00
Rémi Verschelde
398d502cc7
Merge pull request #59308 from Sauermann/fix-viewport-warp-mouse
2022-03-30 11:41:31 +02:00
reduz
45f74ceb85
Add PortableCompressedTexture
...
* Resource that allows saving textures embedded in scenes or standalone.
* Supports only formats that are portable: Lossy, Lossles or BasisUniversal
This is something I wanted to add for a long time. I made it now because @fire
requires it for importing GLTF2 files with embedded textures, but also this
will allow saving Godot scenes as standalone binary files that will run
in all platforms (because textures will load everywhere).
This is ideal when you want to distribute individual standalone assets online
in games that can be built from Godot scenes.
2022-03-30 10:39:41 +02:00
Rémi Verschelde
f6ef63635f
Merge pull request #59659 from fountainment/fix_callable_bind_usage
...
Fix Callable::bind usage in connections_dialog.h and packed_scene.cpp
2022-03-30 09:00:07 +02:00
Rémi Verschelde
dc4a5b2d5d
Merge pull request #59568 from Sauermann/fix-focus-out-notification
...
Send a focus-out notification when opening a Window Manager Popup
2022-03-30 08:57:50 +02:00
kobewi
e04ae8c8bc
Add get_total_elapsed_time() to Tween
2022-03-29 13:34:05 +02:00
Rémi Verschelde
11a5f612fa
Merge pull request #59663 from bruvzg/subviewport_update
2022-03-29 12:46:24 +02:00
bruvzg
76174cb05a
Update sub-viewport canvas items to ensure oversampling is applied correctly.
2022-03-29 10:44:09 +03:00
Yuri Roubinsky
509598e8c0
Remove `SHADOW_ATTENUATION` spatial light shader built-in
2022-03-29 08:43:31 +03:00
C.Even
619d9d143b
Fix Callable::bind usage in connections_dialog.h and packed_scene.cpp
...
* Callable::bind takes an array of pointers to Variant
* Fixes #57057
2022-03-29 12:15:36 +08:00
Rémi Verschelde
5149db8d85
Merge pull request #59644 from akien-mga/template-no-editor-dep
2022-03-28 23:35:51 +02:00
Rémi Verschelde
f3bd700767
Merge pull request #59619 from Chaosus/vs_input_desc
2022-03-28 22:32:11 +02:00
Rémi Verschelde
324215c485
Merge pull request #59525 from fire-forge/fix-group-names
2022-03-28 21:44:35 +02:00
Rémi Verschelde
45ec0e31c3
Remove last editor code dependencies in template build
...
SConstruct change also makes it possible to outright delete the `editor`
folder in a `tools=no` build, which we use in CI to ensure no invalid
cross-dependencies are added.
2022-03-28 21:13:01 +02:00
FireForge
88b09694e7
Fix inspector group name capitalization
2022-03-28 14:02:06 -05:00
Yuri Roubinsky
9edbdc4f36
Add refs to shading language to the desciption of input nodes in vshader
2022-03-28 22:01:10 +03:00
Rémi Verschelde
7119d355eb
String: Remove TTR and DTR defines in non-tools build
...
This ensures we don't use TTR in runtime code, as it's specifically meant
to source translations for the editor.
2022-03-28 20:26:35 +02:00
Rémi Verschelde
2e85105959
Merge pull request #59555 from Sauermann/fix-mouseover-drag
2022-03-28 20:21:28 +02:00
Rémi Verschelde
abbb0dc082
Merge pull request #59548 from akien-mga/obj-remove-unused-categories
2022-03-28 14:17:24 +02:00
Rémi Verschelde
143d13717b
Merge pull request #59553 from reduz/script-extension-support
2022-03-28 13:35:21 +02:00
Markus Sauermann
ffe42171a5
Fix using Viewport::warp_mouse within Viewports
2022-03-28 11:59:40 +02:00
Rémi Verschelde
7e5cd4bb48
Merge pull request #59118 from Sauermann/fix-window-input-event-coordinates
2022-03-28 09:54:59 +02:00
Markus Sauermann
ba208df6e6
Send a focus-out notification when opening a Window Manager Popup
2022-03-28 09:40:36 +02:00
Rémi Verschelde
00e9170812
Merge pull request #59574 from Sauermann/proposal-rename-warp-mouse
...
Rename warp mouse functions to warp_mouse
2022-03-28 08:52:02 +02:00
Fabio Alessandrelli
4a95408dd4
[Net] Change HTTPRequest timeout type to double.
...
For consistency with the Timer class and general time representation
inside the engine.
2022-03-27 18:15:56 +02:00
reduz
360dea5348
Add GDExtension support to Script
...
* Ability to create script languages from GDExtension
* Some additions to gdnative_extension.h to make this happen
* Moved the GDExtension binder to core
This now allows creating scripting languages from GDExtension, with the same ease as if it was a module. It replaces the old PluginScript from Godot 3.x.
Warning: GodotCPP will need to be updated to support this (it may be a bit of work as ScriptInstance needs to be created over there again).
2022-03-27 16:13:00 +02:00
Markus Sauermann
d8a3d4b9da
Send Mouse Enter/Exit Notifications independently of mouse focus
2022-03-27 14:20:03 +02:00
Markus Sauermann
0494e024d8
Rename warp mouse functions to warp_mouse
2022-03-27 14:12:01 +02:00
Univeous
383dc11965
Fix UI navigation with joysticks
2022-03-27 17:41:29 +08:00
kobewi
d48dea7158
Force final value at the end of Tween
2022-03-27 03:09:12 +02:00
Rémi Verschelde
f0407ad14d
Merge pull request #59336 from YeldhamDev/where_we_dropping_boys
2022-03-26 23:30:07 +01:00
Rémi Verschelde
e3d183f2cf
Merge pull request #59560 from Sauermann/proposal-subviewportcontainer-configuration-warning
...
Add configuration warning for SubViewportContainer
2022-03-26 22:54:45 +01:00
Markus Sauermann
356fac206d
Add configuration warning for SubViewportContainer
2022-03-26 20:33:45 +01:00
Rémi Verschelde
0d772c6e6e
Improve range property hints for various collision shapes
...
Fixes #36419 .
Co-authored-by: Andrii Doroshenko (Xrayez) <xrayez@gmail.com>
2022-03-26 16:20:30 +01:00
Rémi Verschelde
5371009d8e
Object: Remove unused category boilerplate
...
We might want to re-add something like this if/when we find a good use case
for it and do the effort to categorize all objects in the API properly.
Until then, it's better to remove that boilerplate since it's not needed.
Closes #18711 .
2022-03-26 15:46:01 +01:00
Silc 'Tokage' Renew
013b81b93b
Fixed initialization of TRS Track in blend tree for root motion
2022-03-26 09:24:56 +09:00
FireForge
bb7e6e9951
Rename "ss_reflections_" to "ssr_" in Environment
2022-03-25 14:37:01 -05:00
Rémi Verschelde
283246a9fe
Merge pull request #59452 from reduz/refactor-metadata
2022-03-25 12:30:45 +01:00
bruvzg
78051f93a3
Convert the editor and default theme fonts to WOFF2 format to save space.
2022-03-25 11:45:55 +02:00
reduz
09b951b99b
Refactor Object metadata
...
* API kept the same (Although functions could be renamed to set_metadata/get_metadata in a later PR), so not much should change.
* Metadata now exposed as individual properties.
* Properties are editable in inspector (unless metadata name begins with _) under the metadata/ namespace.
* Added the ability to Add/Remove metadata properties to the inspector.
This is a functionality that was requested very often, that makes metadata work a bit more similar to custom properties in Blender.
2022-03-24 14:21:52 +01:00
fabriceci
e2812fcb0f
When only a recovery occurs, don't report a collision on move_and_collide
2022-03-23 10:24:35 +01:00
Rémi Verschelde
3586f559d1
Merge pull request #59403 from fire-forge/textureprogressbar-group
...
Fix "Stretch Margin" group in TextureProgressBar
2022-03-22 23:03:39 +01:00
Rémi Verschelde
99139e17e4
Merge pull request #59170 from akien-mga/import-wav-configure-loop-mode
2022-03-22 13:26:31 +01:00
Rémi Verschelde
4c55a6529a
Merge pull request #59354 from Chaosus/astar3d
2022-03-22 13:15:21 +01:00
Michael Alexsander
94b8f38de2
Add visual marker when dragging and dropping tabs
2022-03-21 22:16:29 -03:00
FireForge
e41a890498
Remove unnecessary "Percent" group in ProgressBar
2022-03-21 17:21:56 -05:00
FireForge
ed79931be9
Fix "Stretch Margin" group in TextureProgressBar
2022-03-21 17:18:45 -05:00
fabriceci
528dfbf63e
Fix 2D jitter on slight slope
2022-03-21 09:08:52 +01:00
Jason Knight
640099cce5
Bind NOTIFICATION_LOCAL_TRANFORM_CHANGED
2022-03-20 11:34:01 -06:00
Yuri Roubinsky
7913e04950
Rename `AStar` to `AStar3D`
2022-03-20 17:34:40 +03:00
BARTEK-PC\Bartek
4972f1b864
Expose navigable layers for NavigationAgent2D/3D
2022-03-20 15:04:56 +01:00
Rémi Verschelde
81c2d7a82a
Merge pull request #59322 from YeldhamDev/groups_arent_bools
2022-03-19 18:09:46 +01:00
Michael Alexsander
e289e864d8
Fix `tabs_rearrange_group` property being exposed as a `bool` instead of a `int`
2022-03-19 13:15:51 -03:00
kobewi
342dac77d4
Hide text and icon properties in OptionButton
2022-03-19 13:36:10 +01:00
Rémi Verschelde
ef24e95f4a
Merge pull request #59268 from Chaosus/shader_renames2
...
Rename several transform built-ins in shaders
2022-03-18 19:24:38 +01:00
Markus Sauermann
3f7770c453
Fix coordinate system for stretched viewports for subwindows.
2022-03-18 18:10:53 +01:00
Rémi Verschelde
19950076b1
Merge pull request #58394 from bruvzg/rtl_hint
2022-03-18 14:49:13 +01:00
Rémi Verschelde
5c8bd6fd71
Merge pull request #58233 from bruvzg/gde_ts
2022-03-18 14:29:58 +01:00
Yuri Roubinsky
0d9aecd967
Rename several transform built-ins in shaders
2022-03-18 12:10:55 +03:00
Rémi Verschelde
acc9b5b390
Merge pull request #55399 from RPicster/particlesmaterial-sphere-emittershape
...
ParticleMaterial: Sphere emission shape emitting from the volume.
2022-03-18 08:21:59 +01:00
Haoyu Qiu
6a3bf65657
Fix inversed ADD_GROUP parameters in AnimationNodeOneShot
2022-03-18 12:53:34 +08:00
Rémi Verschelde
756178d342
Merge pull request #59087 from clayjohn/sky-mode
...
Replace DirectionalLight3D's `use_in_sky_only` with `sky_mode` enum
2022-03-18 00:09:35 +01:00
Michael Alexsander
deb1342036
Make `TabBar/Container` default their alignments to the left instead of center
2022-03-17 18:12:23 -03:00
Hugo Locurcio
c45d2c242b
Replace DirectionalLight3D's `use_in_sky_only` with `sky_mode` enum
...
3 options are available:
- Light and Sky (default)
- Light Only (new)
- Sky Only (equivalent to `use_in_sky_only = true`)
Co-authored by: clayjohn <claynjohn@gmail.com>
2022-03-17 14:00:02 -07:00
Rémi Verschelde
bc576af969
Merge pull request #57675 from TokageItLab/fix-blending
2022-03-17 10:49:34 +01:00
Rémi Verschelde
f995f47965
Merge pull request #59062 from BastiaanOlij/storagerd_texture
2022-03-17 10:08:33 +01:00
bruvzg
f19cd44346
Unify TextServer built-in module and GDExtension code.
2022-03-17 08:15:29 +02:00
Haoyu Qiu
a635ecf6d4
Add item tooltip access to OptionButton
2022-03-17 13:50:16 +08:00
Rémi Verschelde
cd500eee8b
Merge pull request #59200 from Sauermann/fix-unused-conditional
...
Simplify always true conditional
2022-03-16 23:49:28 +01:00
Rémi Verschelde
d9bd33d406
Merge pull request #59160 from taigi100/Bugfix-#59003-Controls-not-laid-properly-with-FlowContainer-in-another-container
...
Fix children visibility check
2022-03-16 22:03:45 +01:00
Rémi Verschelde
c9d764e14a
Merge pull request #59140 from reduz/physics-server-extension
2022-03-16 17:11:40 +01:00
Markus Sauermann
7451fa63f2
Simplify always true conditional
...
get_viewport() is always true, because is_inside_tree() is true.
2022-03-16 16:28:11 +01:00
taigi100
280956ddc3
Fix children visibility check
2022-03-16 15:51:27 +02:00
Bastiaan Olij
57e5a33623
Split dummy renderer classes into separate files
...
Split canvas_texture_storage and texture_storage from render_storage class
2022-03-16 17:43:10 +11:00
Silc 'Tokage' Renew
b06d253920
Fix blend animation to solve TRS track bug & blend order inconsistency
2022-03-16 05:11:55 +09:00
reduz
8b547331be
Create GDExtension clases for PhysicsServer3D
...
* Allows creating a GDExtension based 3D Physics Server (for Bullet, PhysX, etc. support)
* Some changes on native struct binding for PhysicsServer
This allows a 3D Physics server created entirely from GDExtension. Once it works, the idea is to port the 2D one to it.
2022-03-15 18:39:31 +01:00
Rémi Verschelde
b389ce5ccd
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 .
2022-03-15 16:16:09 +01:00
风青山
f789c17690
Fix text buf does not clear when calling the method set_item_text in PopupMenu
2022-03-15 21:49:00 +08:00
Rémi Verschelde
51bbcbdec2
Merge pull request #45263 from KoBeWi/ 😕
2022-03-15 13:18:27 +01:00
Rémi Verschelde
e4b9406313
Merge pull request #59099 from RandomShaper/mouse_drop_on_disable
2022-03-14 11:18:38 +01:00
Rémi Verschelde
2347c6bce3
Merge pull request #59129 from Sauermann/fix-internal-gui-state
2022-03-14 10:12:10 +01:00
Markus Sauermann
86574b91dd
Cleanup internal GUI state, if event is accepted in _input.
2022-03-14 08:38:48 +01:00
Rémi Verschelde
b7bc8dbebe
Merge pull request #57392 from madmiraal/implement-3888
2022-03-14 08:31:58 +01:00
Rémi Verschelde
4f40a71e03
Merge pull request #57436 from AnilBK/change-scopes
...
Scope Changes for some variables.
2022-03-13 22:10:16 +01:00
kobewi
3c53752b4a
Cleanup embed subwindows getters
2022-03-13 18:20:53 +01:00
Rémi Verschelde
47c35f5b96
Merge pull request #59108 from KoBeWi/somewhere_on_the_screen
2022-03-13 18:10:33 +01:00
bruvzg
aada395354
Fix text clipping on the right side.
2022-03-13 17:26:00 +02:00
kobewi
bcf13dc175
Expose methods for screen-space transforms
2022-03-13 16:05:08 +01:00
Haoyu Qiu
d62e8bbc74
Fix RichTextLabel shadow color when text has transparency
2022-03-13 19:57:56 +08:00
Pedro J. Estébanez
d083fb21c7
Drop mouse focus and over when gui input is globally disabled
2022-03-13 12:45:32 +01:00
Rémi Verschelde
6721290831
Merge pull request #58018 from Calinou/procedural-sky-add-cover-texture
...
Add sky cover texture for ProceduralSkyMaterial
2022-03-13 00:56:09 +01:00
Rémi Verschelde
71da4c4132
Merge pull request #54399 from Calinou/filedialog-current-properties-hint-no-editor
...
Don't store and show current file/directory/path FileDialog properties
2022-03-12 20:48:32 +01:00
Rémi Verschelde
d7019de7e3
Merge pull request #59061 from fazil47/graph_edit_offset_fix
2022-03-12 15:03:38 +01:00
Fazil Babu
a3598b487a
popup_request signal emits mouse click position
2022-03-12 14:00:04 +05:30
kobewi
42078dec9f
Allow negative indexes in ItemList and PopupMenu
2022-03-12 01:14:03 +01:00
Rémi Verschelde
3f3826edb8
Merge pull request #59007 from novaplusplus/code_edit_from_to_error_fix
2022-03-11 16:06:00 +01:00
Rémi Verschelde
e56b69269f
Merge pull request #59013 from bruvzg/fake_bold_italics
2022-03-11 14:24:13 +01:00
bruvzg
b32e8d63d8
Add options to embolden and transform font outlines to simulate bold and italic typefaces.
2022-03-11 14:02:30 +02:00
Rémi Verschelde
768f9422bc
Convert uses of `DirAccess *` to `DirAccessRef` to prevent memleaks
...
`DirAccess *` needs to be deleted manually, and this is often forgotten
especially when doing early returns with `ERR_FAIL_COND`.
`DirAccessRef` is deleted automatically when it goes out of scope.
Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
2022-03-11 09:13:11 +01:00
Rémi Verschelde
af9a60d5b3
Merge pull request #58965 from TechnoPorg/remove-stex-occurrences
...
Remove more occurrences of "stex"
2022-03-11 08:00:52 +01:00
nova++
4b8fa3716f
Fix "p_from_line > p_to_line" errors in text edit
...
Done via making the function more robust to different inputs
2022-03-11 01:13:45 -05:00
TechnoPorg
f4bc9f5821
Remove more occurrences of "stex"
2022-03-10 18:31:48 -07:00
reduz
6f51eca1e3
Discern between virtual and abstract class bindings
...
* Previous "virtual" classes (which can't be instantiated) are not corretly named "abstract".
* Added a new "virtual" category for classes, they can't be instantiated from the editor, but can be inherited from script and extensions.
* Converted a large amount of classes from "abstract" to "virtual" where it makes sense.
Most classes that make sense have been converted. Missing:
* Physics servers
* VideoStream
* Script* classes.
which will go in a separate PR due to the complexity involved.
2022-03-10 12:28:11 +01:00
Rémi Verschelde
0f73170180
Merge pull request #58978 from Sauermann/revert-58913
2022-03-10 10:41:00 +01:00
Markus Sauermann
40c08e522f
Revert "Update mouse cursor shape after changes"
...
This reverts commit 0fce98b4b5
.
2022-03-10 09:43:06 +01:00
Rémi Verschelde
3d7f155586
Remove unused Bullet module and thirdparty code
...
It has been disabled in `master` since one year (#45852 ) and our plan
is for Bullet, and possibly other thirdparty physics engines, to be
implemented via GDExtension so that they can be selected by the users
who need them.
2022-03-09 21:45:47 +01:00
reduz
21637dfc25
Remove VARIANT_ARG* macros
...
* Very old macros from the time Godot was created.
* Limited arguments to 5 (then later changed to 8) in many places.
* They were replaced by C++11 Variadic Templates.
* Renamed methods that take argument pointers to have a "p" suffix. This was used in some places and not in others, so made it standard.
* Also added a dereference check for Variant*. Helped catch a couple of bugs.
2022-03-09 18:39:13 +01:00
kobewi
39d429e497
Change some math macros to constexpr
...
Changes `MAX`, `MIN`, `ABS`, `CLAMP` and `SIGN`.
2022-03-09 16:24:32 +01:00
Rémi Verschelde
bc9dd15f0e
Merge pull request #58926 from fabriceci/avoid-direction-correction-when-motion-is-down
2022-03-09 15:12:08 +01:00
fabriceci
7f47889a5f
Avoid directional correction when the motion is downward
2022-03-09 13:45:42 +01:00
Rémi Verschelde
a2d67c2fff
Merge pull request #58913 from Sauermann/fix-mouse-cursor-change
2022-03-09 09:05:20 +01:00
Markus Sauermann
0fce98b4b5
Update mouse cursor shape after changes
...
This fixes some cases where the mouse cursor shape did not change automatically, but instead required a MouseMove to update.
2022-03-09 07:54:03 +01:00
Michael Alexsander
182e038af5
Replace `TabBar`'s `min_width` with `max_tab_width` and expose it
2022-03-09 01:48:18 -03:00
Marcel Admiraal
507f72db8e
Rename Control's Rect properties to exclude rect_ part
2022-03-08 16:30:35 +00:00
Rémi Verschelde
6046d3babb
Merge pull request #57769 from Chaosus/vs_custom
2022-03-08 15:34:08 +01:00
Rémi Verschelde
45fa14e1ae
Merge pull request #58850 from YeldhamDev/more_tab_regressions
2022-03-08 14:28:39 +01:00
Yuri Roubinsky
4d6790e9df
Add `_get_func_code/_is_available` virtual functions to custom nodes
2022-03-08 16:23:44 +03:00
Rémi Verschelde
761398556e
Merge pull request #58887 from cesarizu/bbcode_align_left
2022-03-08 12:52:54 +01:00
Rémi Verschelde
8ca4bd2755
Merge pull request #58879 from Calinou/basebutton-shortcut-context-fix-typo
2022-03-08 12:52:28 +01:00
Rémi Verschelde
2023178732
Merge pull request #58894 from akien-mga/CompressedTexture-compat-aliases
2022-03-08 12:50:29 +01:00
Rémi Verschelde
31b3bda36a
Merge pull request #58881 from pfertyk/issue_58790_all_tabs_in_front_crash
2022-03-08 12:17:54 +01:00
Rémi Verschelde
b94cda86ac
Add compat aliases for renamed `CompressedTexture*` types
2022-03-08 12:14:31 +01:00
Rémi Verschelde
1561737055
Merge pull request #49447 from Calinou/remove-shadow-color-property
...
Remove unused `shadow_color` property from Light3D
2022-03-08 07:48:05 +01:00
César Izurieta
42f1697857
Add support to align to left to bbcode
2022-03-08 01:36:19 -05:00
Paweł Fertyk
5381a27f79
Fix crash with all_tabs_in_front
...
Fixes #58790 .
2022-03-08 00:19:21 +01:00
Hugo Locurcio
be5116c4a4
Fix typo in BaseButton shortcut context methods
2022-03-07 22:36:12 +01:00
Rémi Verschelde
53cf5eff9a
Merge pull request #58847 from KoBeWi/editor_settings_mess
2022-03-07 08:38:15 +01:00
Rémi Verschelde
eb8ce0ce68
Merge pull request #58750 from Chaosus/vs_varyings
...
Add varying support to visual shaders
2022-03-07 07:41:11 +01:00
Rémi Verschelde
bb5d71f6cc
Merge pull request #58719 from Chaosus/vs_builtins
...
Adds few more input/output built-ins to visual shader
2022-03-07 07:39:51 +01:00
Michael Alexsander
c0381594c3
Fix regressions with nameless and icon-only tabs
2022-03-06 22:17:35 -03:00
kobewi
2057ea2883
Remove duplicate editor settings definitions
2022-03-06 22:05:49 +01:00
Rémi Verschelde
def893b3d4
Merge pull request #58805 from KoBeWi/meh_custom
...
Remove custom_* prefixes compatibility
2022-03-06 10:16:53 +01:00
kobewi
7d44bb8f06
Remove set_as_minsize()
2022-03-06 00:57:42 +01:00
Rémi Verschelde
d37e8586be
Merge pull request #58788 from reduz/rename-streamtexture
...
Rename StreamTexture* to CompressedTexture*
2022-03-06 00:19:55 +01:00
Rémi Verschelde
9b4d4bbaea
Merge pull request #58803 from KoBeWi/a_bit_of_everything
...
Various code and documentation improvements
2022-03-06 00:17:39 +01:00
kobewi
bc3aff9b46
Various code and documentation improvements
2022-03-05 22:00:35 +01:00
kobewi
c003ab43c3
Remove custom_* prefixes compatibility
2022-03-05 21:35:10 +01:00
kobewi
b3864db7e0
Change tabs_rearrange_group to property
2022-03-05 21:03:01 +01:00
reduz
ccd4cdfd8b
Rename StreamTexture* to CompressedTexture*
...
* Its not and will not be used for streaming.
* Streaming will be implemented in 4.1 and it will work different.
* It makes more sense to be called CompressedTexture since it imports and compresses texture files.
2022-03-05 16:43:38 +01:00
Markus Sauermann
c2e9b0c566
Reverse tangents of capsule mesh
2022-03-05 09:23:59 +01:00
Rémi Verschelde
c55c825f6a
Merge pull request #58753 from YeldhamDev/tab_name_regression
...
Fix renaming `TabContainer` children not updating tab names when outside the tree
2022-03-04 23:30:32 +01:00
Hugo Locurcio
aea104deb7
Remove unused `shadow_color` property from Light3D
...
This shadow color property was no longer effective since the shaders
were optimized to improve occupancy.
2022-03-04 23:12:18 +01:00
Michael Alexsander
ebf630441f
Fix renaming `TabContainer` children not updating tab names when outside the tree
2022-03-04 18:26:08 -03:00
Yuri Roubinsky
15a87f8e92
Add varying support to visual shaders
2022-03-04 23:30:47 +03:00
Rémi Verschelde
f356c8ac4b
Merge pull request #58755 from akien-mga/gcc-silence-Wstringop-overflow-false-positive
2022-03-04 18:09:47 +01:00
Rémi Verschelde
9c6b6ffe13
Merge pull request #58717 from CrezyDud/master
2022-03-04 18:04:19 +01:00
Rémi Verschelde
b2e19b2499
Animation: Silence false positive -Wstringop-overflow warning
...
And disable debug code which was wrongly left enabled.
2022-03-04 17:10:22 +01:00
Rémi Verschelde
3078b92dff
Merge pull request #58512 from Calinou/light3d-add-distance-fade
2022-03-04 12:26:29 +01:00
Rémi Verschelde
7de48982fe
Merge pull request #58691 from miremrie/absolute-file-path-in-file-browser
2022-03-04 12:25:15 +01:00
Rémi Verschelde
9d5d20ae6d
Merge pull request #58687 from YeldhamDev/the_beast_has_been_slain
2022-03-04 12:18:55 +01:00