Haoyu Qiu
e57cdab568
Fix scroll grabber can't reach ends in default theme
2023-01-03 15:44:24 +08:00
bruvzg
06551dfa3a
Set main window min. size via Window object instead of DisplayServer to preserve it during window updates.
2023-01-03 09:25:45 +02:00
Yuri Rubinsky
c5bfe1303a
Merge pull request #70585 from Chaosus/vs_custom
2023-01-03 09:46:11 +03:00
Clay John
61c7b7fb13
Merge pull request #67853 from Zylann/fix_lods_with_doubles
...
Fix usages of mesh simplification functions in float=64 builds
2023-01-02 12:33:44 -07:00
VolTer
1af833be95
Rename get_points_count() to get_point_count() internally
2023-01-02 16:52:05 +02:00
smix8
3e0e315e74
Fix NavigationPolygon error msg
...
Outlines need the same winding order which got confused with the internal conversion.
2023-01-02 01:54:57 +01:00
kobewi
a6e02f149f
Improve RefCounted support in Tween
2023-01-01 18:45:17 +01:00
James Mintram
af845799da
Change binding type of PlaceholderTexture2D.set/get_size to Vector2
2023-01-01 16:12:10 +00:00
Marius Hanl
6241d00368
Use the vertical scrollbar when calculating the width that can be used for drawing
...
The horizontal scrollbar was used before, which is not correct as it has no influence to the drawing width
Also fixed the other wrong locations
2022-12-31 06:59:51 +01:00
Adam Scott
ea33001b95
Add safety-checks before some servers `free()`
2022-12-29 16:23:38 -05:00
bruvzg
f7955633de
Improve `window_set_current_screen` and fix secondary window initial mode and positions.
2022-12-29 09:43:39 +02:00
Markus Sauermann
c5c40f4f23
Fix hovering-color of MenuBar entries when reentering MenuBar
...
When reentering MenuBar with the mouse cursor, the hovering-color was
not set, because the previously hovered entry was still referenced in
selected_menu. This PR resets selected_menu on mouse-exit.
2022-12-29 01:59:05 +01:00
Michael Alexsander
82d94cc5c0
Fix errors when `TabBar` is empty
2022-12-27 08:39:06 -03:00
Yuri Rubinsky
952015df13
Add missing CUSTOM inputs for the spatial/vertex mode of visual shader
2022-12-26 14:09:07 +03:00
Silc Renew
74e0903bb8
Fix wrong AnimationStateMachine process for end of fading
2022-12-26 13:08:08 +09:00
Silc Renew
8745c206c4
Fix pingpong with loop wrap is not working
2022-12-25 18:16:38 +09:00
bruvzg
9b53bd90bb
[Font] Use key structure instead of raw hash for LRU cache to avoid collisions.
2022-12-24 11:46:40 +02:00
Rémi Verschelde
1cab6c91e9
Merge pull request #69998 from BastiaanOlij/sorting-pivot-4
...
Added options for sorting transparent objects (port of PR #63040 )
2022-12-23 09:47:24 +01:00
Bastiaan Olij
6f4f38db07
Added options for sorting transparent objects (port of PR 63040)
2022-12-23 19:30:33 +11:00
Rémi Verschelde
58d19d713d
Merge pull request #70466 from clayjohn/material-override
...
Remove compatibility code for MeshInstance3D surface override material
2022-12-23 09:11:26 +01:00
Rémi Verschelde
ecd895a860
Merge pull request #70278 from TokageItLab/add-animation-started-finished-signal-to-tree
...
Add `animation_started/finished` signals to `AnimationTree` and fix time accuracy in StateMachine
2022-12-23 09:08:17 +01:00
Rémi Verschelde
8eec9f7d3c
Merge pull request #69797 from TokageItLab/time-edit-inspector-plugin
...
Animation: Add inspector plugin for key time edit & Change `track_find_key()` argument to find key with approximate
2022-12-23 09:07:15 +01:00
Rémi Verschelde
9b4888b7c9
Merge pull request #65312 from SaracenOne/auto_advance_behaviour
...
Make auto-advance flag a requirement for conditional/expression evaluation
2022-12-23 09:05:49 +01:00
clayjohn
1cc232ea4e
Remove compatibility code for MeshInstance3D surface override material
2022-12-22 20:25:17 -07:00
Yuri Sizov
ecc5c275f4
Merge pull request #70407 from Koyper/rich_text_bold_italics
...
[RTL] Fix push bold or italics not using bold_italics_font when required
2022-12-23 00:10:53 +03:00
Koyper
81343ae210
Fixed RichTextLabel push bold/italic to correctly use bold_italic font.
2022-12-22 13:30:52 -06:00
smix8
e96aabfedd
Remove deprecated NavigationMesh compatibility parts
...
Removes _set / _get compatibility function parts for deprecated NavigationMesh slash delimiter properties.
2022-12-22 11:06:48 +01:00
Rémi Verschelde
c2d8269a72
Merge pull request #70334 from Sauermann/fix-button-group-doc
...
Add configuration warning when ButtonGroup is used with non-toggleable buttons
2022-12-22 08:51:23 +01:00
Rémi Verschelde
4ba5289f91
Merge pull request #70413 from Koyper/rtl_rename_remove_line
...
[RTL] Rename remove_line() to remove_paragraph() for naming consistancy.
2022-12-22 08:51:13 +01:00
Rémi Verschelde
d894fa8ba3
Merge pull request #37001 from jitspoe/master.anim_blend_fix
...
Fix for short animation blend taking too long when played during a long animation blend.
2022-12-22 08:51:06 +01:00
Markus Sauermann
e4e13a404d
Add configuration warning when ButtonGroup is used with non-toggleable buttons
...
Also fix ambiguous documentation of ButtonGroup.
2022-12-22 06:59:47 +01:00
Silc Renew
060fb2d093
Add inspector plugin for key time edit & Change find key argument
2022-12-22 10:03:06 +09:00
jitspoe
7a7f5a2216
Fix animation blending bug where an animation with a short blend time played immediately after an animation with a long blend time would play with a long blend time or cause popping/incorrect animation positions.
2022-12-21 17:40:44 -05:00
Rémi Verschelde
df4d827559
Merge pull request #69349 from reejk/tilemap-use-navigation-layer-layers
...
Use TileSet navigation layer layers when TileMap generates navigation polygons
2022-12-21 22:27:40 +01:00
Rémi Verschelde
b04bc49443
Merge pull request #68255 from jbcolli2/ColorPickerBug
...
Fixed Issue #68194 involving ColorPicker being allowed to align horizontally when it shouldn't
2022-12-21 22:25:14 +01:00
reejk
fee04ccd93
Use TileSet navigation layer layers when TileMap generates navigation polygons
2022-12-22 00:35:20 +04:00
Rémi Verschelde
f84c308cf8
Merge pull request #69688 from smix8/navagent_stop_origin_automove_4.x
...
Stop NavigationAgents without a target from moving to world origin
2022-12-21 19:39:25 +01:00
Rémi Verschelde
5ad02aa08d
Merge pull request #67111 from DarkKilauea/nav-queries-link
...
Added signal to NavigationAgent when entering a link
2022-12-21 19:38:20 +01:00
Koyper
e846b22da6
Renamed RTL remove_line() to remove_paragraph().
2022-12-21 11:54:18 -06:00
Rémi Verschelde
fecdeb78ad
Merge pull request #70404 from YuriSizov/theme-!important
...
Add fallback values for font and scale to the default theme
2022-12-21 18:36:07 +01:00
Rémi Verschelde
8c70396267
Merge pull request #70215 from quentinguidee/refactor/get-owner-node-theme
...
ThemeOwner: Extract get_owner_node_theme
2022-12-21 18:27:17 +01:00
Yuri Sizov
b67a938caa
Add fallback values for font and scale to the default theme
2022-12-21 19:29:12 +03:00
Quentin Guidée
501c317ae1
ThemeOwner: Extract get_owner_node_theme
...
Signed-off-by: Quentin Guidée <quentin.guidee@gmail.com>
2022-12-21 09:40:17 -05:00
Rémi Verschelde
63f95c0e58
Merge pull request #70366 from quentinguidee/refactoring/fix-double-get-singleton
...
Fix double get_singleton()
2022-12-21 09:27:02 +01:00
Rémi Verschelde
6b4a01f99a
Merge pull request #69351 from smix8/gridmap_item_navigation_layers_4.x
...
Change GridMap navigation_layers to per mesh_library item
2022-12-21 09:21:21 +01:00
Silc Renew
95abe32b76
Fix StateMachine cannot connect nodes bug
2022-12-21 06:30:33 +09:00
smix8
61f33e205c
Change GridMap navigation_layers to be per mesh_library item
...
Changes GridMap navigation_layers from a single bitmask for the entire GridMap to a bitmask for each item used in the mesh_library with a baked navmesh.
2022-12-20 20:51:32 +01:00
Quentin Guidée
d9c05f7fbd
Fix double get_singleton()
...
Signed-off-by: Quentin Guidée <quentin.guidee@gmail.com>
2022-12-20 14:26:15 -05:00
Silc Renew
4cd144d5fb
Add animation_started/finished signals to AnimationTree
2022-12-21 01:20:22 +09:00
Rémi Verschelde
ed65738b51
Merge pull request #70346 from YeldhamDev/tree_edit_fix
...
Fix misaligned edit box when clicking on `Tree` items with different sizes
2022-12-20 12:43:27 +01:00
Rémi Verschelde
5d97889d1a
Merge pull request #61239 from Calinou/tubetrailmesh-add-cap-properties
...
Add properties to disable top/bottom cap generation in TubeTrailMesh
2022-12-20 10:32:47 +01:00
Rémi Verschelde
f1f6b35b8c
Merge pull request #70244 from DarkKilauea/nav-fix-abbrev-compat
...
[4.x] Fix typo and ensure backwards compatibility for changed property names
2022-12-20 10:32:26 +01:00
Rémi Verschelde
63af5a4cdd
Merge pull request #70328 from aaronfranke/canvas-z-index
...
Fix CanvasItem Z-index referring to Node2D
2022-12-20 10:32:10 +01:00
Rémi Verschelde
5aab37f4b8
Merge pull request #70312 from MarcusElg/rigidbodyworldboundarywarning
...
Show warning when having a WorldBoundaryShape3D as a child of a RigidBody3D
2022-12-20 10:32:05 +01:00
Rémi Verschelde
6eb12fcfa5
Merge pull request #70313 from TokageItLab/fix-nblend
...
Fixed a bug where negative Blend values were being discarded
2022-12-20 10:31:42 +01:00
Josh Jones
0572346985
Fix typo and ensure backwards compatibility for changed property names
...
Changes to the name of the `navmesh` and `navpoly` properties on
`NavigationRegion` caused navigation data to be lost on load.
This PR creates uses `_set`/`_get` to handle compatibility with the
older names on load, preserving the data.
Also fixes a typo on `get_vertices_per_polygon` in `NavigationMesh`,
and renames the property to remove the `polygon_` prefix which doesn't
match the setter/getter.
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2022-12-20 09:57:54 +01:00
Michael Alexsander
49024e7345
Fix misaligned edit box when clicking on `Tree` items with different sizes
2022-12-20 00:23:51 -03:00
Aaron Franke
3161647dab
Fix CanvasItem Z-index referring to Node2D
2022-12-19 20:59:14 -06:00
Silc Renew
bd0541c25b
Fixed a bug where negative Blend values were being discarded
2022-12-20 03:41:57 +09:00
Marcus Elg
a39d894811
Show warning when having a worldboundaryshape as a child of a rigidbody
2022-12-19 19:37:22 +01:00
Hugo Locurcio
6e330e8a75
Add properties to disable top/bottom cap generation in TubeTrailMesh
...
This can be used to improve generation and rendering performance,
or for certain special effects such as particle trails.
2022-12-19 17:29:32 +01:00
Rémi Verschelde
d34594179a
Merge pull request #70297 from Paulb23/fix-autocomplete-brace-completion
...
Fix autocomplete with autobrace completion not adding closing pair
2022-12-19 16:28:51 +01:00
Rémi Verschelde
d124596862
Merge pull request #70263 from reduz/restore-rotation_degrees
...
Restore 'rotation_degrees' properties.
2022-12-19 16:28:44 +01:00
Rémi Verschelde
fe1bb58e8f
Merge pull request #70238 from kleonc/tile-set-simplify-isometric-tile-polygon
...
`TileSet` Simplify isometric tile shape polygon to 4 vertices
2022-12-19 16:27:17 +01:00
Rémi Verschelde
adc1096b19
Merge pull request #70219 from bruvzg/msdf_outline_scaling
...
Scale MSDF font outline with the font size and MSDF source size to match dynamic font behavior.
2022-12-19 16:26:56 +01:00
Rémi Verschelde
f29f3db419
Merge pull request #59682 from Sauermann/fix-following-viewport-transform
...
Include the follow-viewport-transform into CanvasLayer transform calculations
2022-12-19 16:26:19 +01:00
Paulb23
29f7bea241
Fix autocomplete with autobrace completion not adding closing pair
2022-12-19 14:20:52 +00:00
kleonc
3a34acdf55
TileSet Simplify tile shape polygons
2022-12-19 11:42:40 +01:00
Juan Linietsky
80b578b060
Restore 'rotation_degrees' properties.
...
By popular demand, restoring the helper properties to rotate objects in degrees.
Affected are local and global rotations for:
* Node2D
* Node3D
* Control
2022-12-19 10:59:47 +01:00
Markus Sauermann
2da2220da7
Include the following-viewport-transform into CanvasLayer transforms
...
The following-viewport-transform was missing from several calculations
2022-12-18 22:44:34 +01:00
Josh Jones
5d8ba2b2d1
Add support for emitting a signal when entering a NavLink
2022-12-17 16:33:41 -08:00
Rémi Verschelde
7bf656148f
Merge pull request #70227 from kleonc/atlas-texture-flipping-fix
...
`AtlasTexture` Fix calculating rects when flipping
2022-12-18 00:11:51 +01:00
kleonc
c3851b91db
AtlasTexture Fix calculating rects when flipping
2022-12-17 22:59:31 +01:00
smix8
34e7628f5f
Fix Navigation API abbreviations inconsistency
...
Schema for navigation to name user facing API with "navigation" without abbreviation and e.g. NavigationServer internals with abbr "nav".
2022-12-17 22:06:22 +01:00
bruvzg
20d9457f9d
Scale MSDF font outline with the font size and MSDF source size to match dynamic font behavior.
2022-12-17 22:47:54 +02:00
Rémi Verschelde
10bc1d8710
Merge pull request #30675 from zaksnet/link-button-link-prop
...
Add a `uri` property to `LinkButton`
2022-12-17 20:58:15 +01:00
Rémi Verschelde
92018c9508
Merge pull request #70209 from smix8/navigation_polygon_move_4.x
...
Move NavigationPolygon to dedicated resource file
2022-12-17 20:57:16 +01:00
Rémi Verschelde
a1f481a7d6
Merge pull request #70202 from Calinou/viewport-transparent-background-rename-project-setting
...
Move transparent background project setting to a subsection
2022-12-17 20:56:19 +01:00
smix8
4d68e2b18a
Move NavigationPolygon to dedicated resource file
...
Moves NavigationPolygon resource class from NavigationRegion2D file to a dedicated file in resource folder.
2022-12-17 19:52:40 +01:00
Hugo Locurcio
a3eac5fc7c
Move transparent background project setting to a subsection
...
This prevents the project setting from being located directly within
a root category, which is confusing from an UX perspective in the
project settings editor.
2022-12-17 18:45:21 +01:00
Zak
d73a9b56b0
Add `uri` property for LinkButton
...
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2022-12-17 15:27:33 +01:00
Rémi Verschelde
c023d41036
Merge pull request #70118 from clayjohn/tilemap-layers
...
Use large offset for tilemap layer level canvas items
2022-12-17 14:29:22 +01:00
Rémi Verschelde
7972107c48
Merge pull request #70114 from clayjohn/custom-aabb
...
Expose GeometryInstance3D.custom_aabb property
2022-12-17 12:27:46 +01:00
Rémi Verschelde
6edad1433c
Merge pull request #70176 from clayjohn/mesh-index
...
Switch surface indexing to start at 0 so string name matches integer index
2022-12-17 12:24:06 +01:00
Rémi Verschelde
03cc4c3f3b
Merge pull request #70168 from Haydoggo/autocomplete-placement-fix
...
Fix autocomplete box placement
2022-12-17 12:23:15 +01:00
clayjohn
1a890b1641
Switch surface indexing to start at 0 so string name matches integer index
2022-12-16 16:26:46 -08:00
Hayden Leete
530b1f3f7a
Fix autocomplete box placement
2022-12-17 12:33:29 +13:00
Rémi Verschelde
8be126272f
Merge pull request #70075 from Sauermann/fix-missing-shortcut-handled-check
...
Fix missing check if shortcut event is handled for Control-nodes
2022-12-16 13:47:39 +01:00
SaracenOne
092dbe52a9
Change auto_advance flag to advance_mode enum and unify with disabled flag.
...
Expressions and conditions now require auto mode to be set to auto.
Adds a toggle button to the state machine editor for whether new transitions
advance settings should default to auto mode or not.
2022-12-16 07:42:59 +00:00
bmolyneaux
1e3a861e1a
Queue redraw when MultiMesh instance transform changes
...
Fixes : #66849
This is a 4.0 version of #54899 .
2022-12-15 17:01:17 -08:00
bruvzg
53c76fa5d1
[RTL/TextServer] Add baseline inline alignment mode for objects and RTL tables.
2022-12-15 23:16:02 +02:00
Rémi Verschelde
5dda8ec88d
Merge pull request #70103 from timothyqiu/tween-cleanup
...
Fix possible Tween leak on exit
2022-12-15 22:09:32 +01:00
Rémi Verschelde
9ba3f9d1db
Merge pull request #69680 from LucasLaukka/bugfix-line_edit
...
Fix color picker showing incorrect number of digits when changing display scale
2022-12-15 22:09:18 +01:00
Rémi Verschelde
7975ac5a00
Merge pull request #70106 from bruvzg/rtl_nested_tab
...
[RTL] Fix nested tables getting parent offset applied multiple times.
2022-12-15 22:09:05 +01:00
clayjohn
7d6a25c91e
Use large offset for tilemap layer level canvas items
...
This matches the logic in _rendering_update_dirty_quadrants
2022-12-15 11:41:27 -08:00
clayjohn
5d51478d70
Expose GeometryInstance3D.custom_aabb property
2022-12-15 10:03:40 -08:00
Yuri Rubinsky
bf3966abf9
Fix the update of the inspector when instance shader uniform has changed
2022-12-15 18:39:30 +03:00
bruvzg
ca5a3d0c68
[RTL] Fix nested tables getting parent offset applied multiple times.
2022-12-15 14:05:21 +02:00
Rémi Verschelde
346efd29e0
Fix typos with codespell
2022-12-15 12:24:08 +01:00
Haoyu Qiu
e173710963
Fix possible Tween leak on exit
2022-12-15 19:09:09 +08:00