arkology
afdf00c40f
[3.x] AtlasTexture in radial modes of TextureProgress
2022-11-04 13:24:47 +03:00
Rémi Verschelde
e0682f6d8f
Merge pull request #67626 from bruvzg/improve_font_packing_and_delay_texture_update_3
...
[3.x] Improve font glyph cache packing and texture update.
2022-11-03 11:33:23 +01:00
kleonc
3e373c4eec
Add ShapeCast2D/3D::get_collider_rid
method
2022-11-02 15:20:13 +01:00
Haoyu Qiu
78981d2e0a
Make NavigationAgent target_location
a property
2022-10-31 20:46:38 +08:00
Sam Briels
3e186ae043
fix: emit target_reached signal after updating state
2022-10-31 13:04:20 +01:00
Rémi Verschelde
80b50e59d5
Merge pull request #67612 from timothyqiu/who-ami-i-3.x
...
[3.x] Fix get_path() error when calling get_node()
2022-10-31 12:25:12 +01:00
Rémi Verschelde
20ce0284cf
Merge pull request #67313 from Mickeon/3.x-rename-params
...
[3.x] Rename `set_indexed` & `get_child`'s params to be clearer
2022-10-31 12:24:58 +01:00
Rémi Verschelde
f52f797f59
Merge pull request #67255 from KoBeWi/remove_text_from_RichTextLabel
...
Hide text of RichTextLabel if BBCode is enabled
2022-10-31 12:24:53 +01:00
bruvzg
46e2e0f62e
[3.x] Improve font glyph cache packing shelf best height fit heuristic, delay font texture update, until texture is accessed.
2022-10-19 14:31:41 +03:00
Haoyu Qiu
5d6dc206bc
Fix get_path() error when calling get_node()
2022-10-19 13:05:41 +08:00
Michael Alexsander
6059cf2594
Expose various color themes for Button
2022-10-12 18:19:52 -03:00
Micky
6102f3cfc2
[3.x] Rename set_indexed
& get_child
's params to be clearer
...
3.x backport of #67300 and #64463 .
2022-10-12 20:55:41 +02:00
kobewi
a0ad958582
Hide text of RichTextLabel if BBCode is enabled
2022-10-11 15:21:19 +02:00
Haoyu Qiu
456c0ecda6
Remove leading spaces from enumerator name hints
2022-10-08 15:23:46 +08:00
Rémi Verschelde
f793f20d65
Merge pull request #41464 from Waridley/button_multiline_strings
...
Support multiline strings in buttons
2022-10-03 13:58:44 +02:00
Rémi Verschelde
90f6baf26c
Merge pull request #66155 from KoBeWi/animat3d_diff
...
[3.x] Don't store frame of playing AnimatedSprite
2022-10-03 13:58:28 +02:00
Waridley
199f3d99c3
Support multiline strings in buttons
2022-10-01 21:50:39 -05:00
Haoyu Qiu
acf86efebc
Fix NavigationObstacle not estimating radius
2022-09-29 14:39:14 +08:00
Haoyu Qiu
fba5a4ab9a
Fix NavigationObstacle not registering to default navigation map
2022-09-28 15:49:26 +08:00
smix8
881e49c375
Fix TileMaps with origin offset placing NavPolygons wrong without a Navigation2D node
...
The legacy navigation was positioning baked TileMap navpolygons relative to the current Navigation2D node assuming that it is usually one of the parent nodes.
Without the deprecated Navigation2D node the default navigation map of the world_2d is used. This navigation map has no relative Node2D so it needs to use the global_transform of the TileMap to place navregions with the correct offset in case the TileMap is moved from the origin.
2022-09-22 17:14:51 +02:00
Rémi Verschelde
4207983ce9
Merge pull request #66145 from lawnjelly/object_get_name
2022-09-21 12:04:19 +02:00
lawnjelly
17f42e8e66
Improve signal already connected error message
...
The signal already connected message is improved to provide the names of the objects involved.
2022-09-21 07:52:30 +01:00
Rémi Verschelde
edc196f926
Merge pull request #66063 from kleonc/sprite3d-fix-drawing-with-vertical-margins-3x
...
[3.x] `Sprite3D`/`AnimatedSprite3D` Fix drawing `AtlasTexture`s with vertical margins differently than in 2D
2022-09-20 23:06:57 +02:00
kobewi
dbce96abd9
Don't store frame of playing AnimatedSprite
2022-09-20 13:11:50 +02:00
kobewi
1aee1b1720
Fix crash when playing Tween right after finishing
...
(cherry picked from commit 1a462bc84e
)
2022-09-20 10:26:17 +02:00
lawnjelly
fdd82f4754
CPUParticles initialize data on set_amount
...
Fills particle data with zeroes on resize using set_amount(), to prevent garbage data including Nans being sent to VisualServer, which can corrupt the spatial partitioning.
2022-09-19 16:53:01 +01:00
kleonc
0a64c2eba5
SpriteBase3D
Fix drawing AtlasTextures with vertical margins differently than in 2D
2022-09-18 20:27:23 +02:00
kleonc
0bf2b8e813
Move duplicated drawing code from Sprite3D
/AnimatedSprite3D
to SpriteBase3D
2022-09-18 20:27:09 +02:00
Rémi Verschelde
a10c2d4a38
Merge pull request #65686 from lawnjelly/portals_show_raycast
...
Portals - Show RayCast debug helper
2022-09-12 11:34:25 +02:00
lawnjelly
09befec1ed
Portals - Show RayCast debug helper
...
Switches the raycast helper to global portal_mode, allowing it to show when portals are active.
2022-09-12 06:46:48 +01:00
lawnjelly
54a939a029
Low priority redraw request for AnimatedSprite
...
Prevents animated sprite from creating continuous redraws in vital_redraws_only mode.
2022-09-11 19:09:07 +01:00
Rémi Verschelde
2aee09c6bc
Merge pull request #65428 from lawnjelly/input_uninit
2022-09-09 14:28:06 +02:00
Rémi Verschelde
92fa63886c
Merge pull request #65397 from maximkulkin/3.x-graph-edit-node-selection
2022-09-07 17:52:24 +02:00
Abhinav Chennubhotla
8acc25578e
Fix code folding icon color not matching defined color
...
Cherrypick of #58457 in master
Caused by reusing icons from the main editor in the code editor. These
icons were converted based on the main editor theme and not the code
editor theme.
- Create new icons for use specifically in the code editor
- Add these icons to the exceptions when converting dark theme icons
to light theme automatically
- Change the default value of the code folding color to match previous
color
- Code folding icon is now pure white by default to correctly match
the color defined in settings
2022-09-06 21:50:33 +05:30
lawnjelly
d60eae3dbc
Fix uninitialized data reads in Input
...
Found by Valgrind.
2022-09-06 14:21:01 +01:00
Rémi Verschelde
e2030748b0
Merge pull request #65411 from lawnjelly/flow_container_uninit
...
FlowContainer fix uninitialized data
2022-09-06 12:31:11 +02:00
lawnjelly
fa4a325180
FlowContainer fix uninitialized data
...
This uninitialized data was finding its way into the renderer.
2022-09-06 09:04:00 +01:00
Maxim Kulkin
466c912344
Add GraphNode 'selected' and 'unselected' signals, simplify GraphEdit
...
Backport of the fix from master to 3.x
2022-09-06 01:35:58 -04:00
kobewi
0511f48c49
Fix Viewport size change not updating textures
...
(cherry picked from commit 3a4a4aeade
)
2022-09-05 15:35:45 +02:00
kobewi
737bfa57d3
Allow to change the Stop shortcut used at runtime
...
(cherry picked from commit 409613ba7b
)
2022-09-05 15:35:45 +02:00
Micky
9ca40f0e0a
Cast between float and ints in SceneTreeTween.tween_property()
...
(cherry picked from commit 2b18a4002c
)
2022-09-05 14:58:56 +02:00
Rémi Verschelde
2ee933bb77
Merge pull request #64920 from lawnjelly/bind_physics_interpolation
...
Bind Physics Interpolation functions in VisualServer
2022-08-30 22:02:58 +02:00
lawnjelly
96a1b86717
Bind Physics Interpolation functions in VisualServer
...
To allow maximum flexibility in the initial rollout, VisualServer functions were not bound in order to prevent compatibility issues if the API changed.
These functions are now bound to allow direct use from the VisualServer.
2022-08-30 18:06:12 +01:00
QbieShay
acdcbefa4e
added options for sorting transparent objects
...
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
Co-authored-by: Clay John <claynjohn@gmail.com>
2022-08-30 13:39:32 +02:00
Rémi Verschelde
bbaedffb93
Merge pull request #64875 from fabriceci/ulgy-hack-bullet-margin
2022-08-30 11:44:25 +02:00
Rémi Verschelde
747d30d567
Merge pull request #64372 from smix8/navigation_fix_obstacles_default_map_3.x
2022-08-30 11:01:30 +02:00
Rémi Verschelde
ac00cad299
Merge pull request #65050 from KoBeWi/suffix_b3gon3
2022-08-30 09:14:06 +02:00
Rémi Verschelde
c551a79084
Merge pull request #65063 from Atlinx/fix/65033_fix-hdr-warning
...
Disable HDR warning for Viewport on GLES2 projects
2022-08-30 08:38:06 +02:00
Atlinx
e3b3462187
Remove HDR warning if on low end
2022-08-29 19:14:30 -04:00
kobewi
8c9cd1d3ae
Hide prefix/suffix on SpinBox focus
2022-08-29 18:06:25 +02:00
Haoyu Qiu
fed2879463
Improve documentation for get_animation()
2022-08-29 14:56:26 +08:00
Rémi Verschelde
47da910fcb
Merge pull request #64965 from YeldhamDev/more_hl_stuff_bp
2022-08-29 08:05:54 +02:00
Rémi Verschelde
ec23113403
Merge pull request #64968 from YeldhamDev/pm_up_fix_bp
2022-08-29 07:56:22 +02:00
Rémi Verschelde
a21221d70c
Merge pull request #64298 from Razoric480/raz/bin-cache
...
Fix binary resource internal cache not being filled at polling time
2022-08-29 07:04:31 +02:00
Rémi Verschelde
8551d5875e
Merge pull request #64707 from YeldhamDev/tabs_button_expose
...
Expose `set/get_tab_button_icon()` to scripting
2022-08-28 23:29:58 +02:00
Michael Alexsander
1e80b17a8d
Fix some corner cases in the Menu/OptionButton
item auto-highlight
2022-08-28 01:45:08 -03:00
Michael Alexsander
f0d380c9fd
Fix crash when pressing up on an empty PopupMenu
2022-08-27 18:26:31 -03:00
Yuri Sizov
72d1156286
Remove Inspector tooltip hack that never actually worked
2022-08-26 17:12:46 +03:00
fabriceci
b3210c5cd6
Hack as a hot fix for Bullet's collision margin issue
2022-08-25 16:32:48 +02:00
Rémi Verschelde
6358e41772
Merge pull request #64838 from akien-mga/3.x-cherrypicks
...
Cherry-picks for the 3.x branch (future 3.6) - 2nd batch
2022-08-25 00:51:19 +02:00
Rémi Verschelde
fd08545a59
Merge pull request #64579 from marcinn/backport-panning-strength
...
[3.x] Backport panning strength parameters from 4.0
2022-08-24 23:55:28 +02:00
Rémi Verschelde
04a857fe86
Merge pull request #64636 from YeldhamDev/menu_buttons_popup_fix_bp
...
[3.x] Make `Menu/OptionButton` item auto-highlight behave better
2022-08-24 19:06:37 +02:00
Michael Alexsander
245d70bec0
Fix ItemList
selection visual when the scrollbar visibility changes
...
(cherry picked from commit e298144a41
)
2022-08-24 17:23:59 +02:00
Marcin Nowak
90762b9660
[3.x] Backport panning strength parameters from 4.0
2022-08-23 23:27:51 +02:00
Rémi Verschelde
39ac24e278
Merge pull request #64745 from bruvzg/fix_mixed_font_color3
...
[3.x] Fix color modulation of the grayscale glyphs in font with mixed color / grayscale data.
2022-08-23 07:46:51 +02:00
Rémi Verschelde
812caa5f44
Merge pull request #58601 from Calinou/material-triplanar-sharpness-clamp-3.x
2022-08-22 22:21:59 +02:00
bruvzg
4d0c0f3ffa
Fix color modulation of the grayscale glyphs in font with mixed color / grayscale data.
2022-08-22 20:39:29 +03:00
Michael Alexsander
73470e1b16
Expose set/get_tab_button_icon()
to scripting
2022-08-22 11:08:38 -03:00
Olivier Bombardier
c988deb3b1
Fix has_filter of AnimationNode not being called in scripts
2022-08-21 17:37:59 -04:00
Michael Alexsander
50506e19a6
Make Menu/OptionButton
item auto-highlight behave better
2022-08-19 15:19:34 -03:00
Yuri Sizov
39f46613bb
Backport fixes to documentation for paths, curves and navigation servers
2022-08-19 15:52:03 +03:00
Francois Belair
d331e5c7ac
Fix binary internal cache not being filled
2022-08-14 12:30:59 -04:00
smix8
47b39ce4c2
Fix NavigationObstacle nodes not registering to default navigation map
...
Fix NavigationObstacle nodes not registering to default navigation map.
2022-08-13 19:46:12 +02:00
Cory Petkovsek
f7f112ab1f
Fix free(RID) abuse by various classes
2022-08-11 02:31:00 +08:00
Francois Belair
420794b61d
Force external resources to have their path set
2022-08-09 23:50:45 -04:00
Haoyu Qiu
4c47c6ab75
Tree: Don't draw selection background of individual cells in Row mode
2022-08-09 17:07:53 +08:00
kobewi
520d341836
Add root_subfolder to FileDialog
2022-08-08 19:50:41 +02:00
Rémi Verschelde
f30a2c1292
Merge pull request #63113 from snailrhymer/3.x-folding-comment-fix
2022-08-08 15:54:57 +02:00
Rémi Verschelde
36fc99158d
Merge pull request #63971 from paddy-exe/spatial-shader-built-ins
2022-08-08 15:50:25 +02:00
Rémi Verschelde
4f1dc83b0d
Merge pull request #64044 from Calinou/add-torusmesh-3.x
2022-08-08 15:37:58 +02:00
Josh Jones
9d1a972b49
Fix typo when setting NavigationRegion travel_cost
...
(cherry picked from commit 8c324132d0
)
2022-08-08 09:51:45 +02:00
Hugo Locurcio
659fa79479
Use interleaved gradient noise for distance fade
...
This provides better visuals and performance compared to the previous
ordered dither.
2022-08-07 15:23:43 +02:00
hoontee
53adb2a142
Add TorusMesh
2022-08-07 12:42:24 +02:00
smix8
30d4555c65
Fix TileMap error msg when optional navigation node is not set
...
Fixes TileMap error msg spam when bake_navigation=true but the optional and depr navigation node is not set.
2022-08-06 21:58:47 +02:00
Rémi Verschelde
ab7e2564f3
Merge pull request #63659 from PrecisionRender/add-shape-cast-3d
...
[3.x] Add `ShapeCast` and `ShapeCast2D` nodes
2022-08-06 00:33:29 +02:00
Rémi Verschelde
14c9325b5d
Merge pull request #62408 from Razoric480/raz/fix-no-cache
...
[3.x] Fix nested resources being cached if no-cache argument used
2022-08-05 23:43:54 +02:00
Rémi Verschelde
91a6e08c12
Merge pull request #48157 from madmiraal/fix-46438-3.x
...
[3.x] Fix mouse_over not dropped when mouse leaves window
2022-08-05 22:37:17 +02:00
Rémi Verschelde
61b5e35de5
Merge pull request #61559 from kleonc/triangle_mesh_from_triangle_strip_or_fan_3x
...
[3.x] Make `Mesh::generate_triangle_mesh()` handle `PRIMITIVE_TRIANGLE_STRIP` and `PRIMITIVE_TRIANGLE_FAN`
2022-08-05 22:35:52 +02:00
Rémi Verschelde
906a693934
Merge pull request #53852 from Calinou/particles-allow-negative-scale
...
Allow negative scale in Particles and CPUParticles
2022-08-05 22:34:43 +02:00
Rémi Verschelde
5d3b6eb073
Merge pull request #48372 from Calinou/gradienttexture-add-hdr-property-3.x
...
Add an `use_hdr` property to GradientTexture to allow storing HDR colors (3.x)
2022-08-05 22:33:44 +02:00
Patrick Exner
be3d331f26
Backport spatial shader built-ins
...
Backport of this PR: https://github.com/godotengine/godot/pull/63597
This adds these as new Built-Ins to Spatial Shaders
* Object's Position in World Space
* Camera Position in World Space
* Camera Direction in World Space
* Object's Position in View Space
2022-08-05 21:19:15 +02:00
Rémi Verschelde
ef7502e1d4
Merge pull request #50540 from Calinou/material-hide-triplanar-subproperties-when-disabled-3.x
2022-08-05 19:39:19 +02:00
Rémi Verschelde
0e93600fe0
Merge pull request #62644 from Piralein/remove_redundant_checkbox_check
2022-08-05 19:37:47 +02:00
Rémi Verschelde
26762a71b6
Merge pull request #58537 from winterpixelgames/feature/virtual-keyboard-types-3.x
2022-08-05 19:37:13 +02:00
Rémi Verschelde
173a803c8a
Merge pull request #49495 from kleonc/sprite_frames_editor-updating-fixes-3x
2022-08-05 19:35:30 +02:00
Rémi Verschelde
d2d77c93bc
Merge pull request #61588 from YuriSizov/control-fix-theme-owner-toplevel-3.x
2022-08-05 19:34:05 +02:00
Rémi Verschelde
25c87e99cf
Merge pull request #61578 from YuriSizov/core-fix-events-for-moved-nodes-3.x
2022-08-05 19:33:25 +02:00
Haoyu Qiu
9d923764c9
Fix crash when executing AnimationTreePlayer.are_nodes_connected
2022-08-01 23:36:12 +08:00
PrecisionRender
47a62e28ac
[3.x] Add ShapeCast
and ShapeCast2D
nodes
2022-07-30 10:23:58 -05:00
Marcel Admiraal
d000a5fa30
Ensure changes to Camera2D's limits don't affect smoothed_camera_pos
2022-07-28 15:30:34 +01:00
Marcel Admiraal
a124d89f01
When Camera2D enters tree, ensure first update is not lost
2022-07-28 15:30:06 +01:00
Rémi Verschelde
818f1eed31
Code quality: Fix header guards consistency
...
Adds `header_guards.sh` bash script, used in CI to validate future
changes. Can be run locally to fix invalid header guards.
2022-07-25 14:53:37 +02:00
Rémi Verschelde
be5051422b
Revert "Call update_scrollbars() in sort_children() so the max is set properly so you can set scroll_container.scroll_vertical instantly after adding children to a scroll container."
...
This reverts commit b73d2980b7
.
This caused a regression. Fixes #63417 .
2022-07-25 11:29:33 +02:00
lawnjelly
d4dc7c4b32
Portals - Allow more logging to be disabled
...
Some logging messages were still being issued when portals/debug/logging was false. This could be annoying in games that stream in parts of levels and repeatedly call `rooms_convert()`.
This PR allows all but essential logging to be disabled.
2022-07-24 13:44:59 +01:00
Jason Knight
b73d2980b7
Call update_scrollbars() in sort_children() so the max is set properly so you can set scroll_container.scroll_vertical instantly after adding children to a scroll container.
2022-07-21 12:25:50 -06:00
kleonc
558b96f1b1
Fix CanvasItem
not exiting its canvas group on canvas exit
2022-07-20 12:49:38 +02:00
BimDav
ab644a9913
Add option in VisibilityEnabler2D to hide the parent for better performance
2022-07-19 10:56:47 +02:00
Rémi Verschelde
33b5709d53
Merge pull request #61601 from Haydoggo/path-follow-fix-3.x
2022-07-18 09:36:22 +02:00
Rémi Verschelde
5aa22a21be
Merge pull request #63058 from AaronRecord/backport-global-position-rotation
2022-07-18 09:33:23 +02:00
Rémi Verschelde
090d9f6d25
Merge pull request #63084 from madmiraal/fix-56336-3.x
2022-07-18 09:31:58 +02:00
SnailRhymer
efed5087ae
Change code folding behavior to include terminal indented comments
...
Previously, when folding a block of code that finished with an indented comment (i.e. one indented as much as or more than the starting indent of the code), that comment would be left out of the fold. Change the behavior to include such comments, but still leave less-indented ones out.
2022-07-17 17:38:51 +01:00
Yuri Rubinsky
229bfc8f2d
Fix invalid code generation when using VisualShaderNodeUniformRef
2022-07-17 12:41:24 +03:00
Marcel Admiraal
162cb5748a
Update camera position when updating camera limit
2022-07-17 09:02:34 +01:00
Marcel Admiraal
fb4e1d2d02
Set initial SceneTree processes times to 0.0
2022-07-17 09:02:20 +01:00
foxydevloper
5238740fef
Add global_translation and global_rotation to Spatial
2022-07-15 21:39:35 -06:00
Hayden
e05f969adb
Fix crash on NaN offset in path_follower 2d and 3d
2022-07-14 14:30:24 +12:00
Francois Belair
2ceb93bbef
Fix custom res caching sub-res even if no-cache
...
Fixes #59686 , fixes #59752
2022-07-13 11:18:26 -04:00
Rémi Verschelde
66c4047a6c
SpriteFrames: Sort animations alphabetically
...
Fixes #62143 .
2022-07-13 15:48:55 +02:00
kleonc
8ae246f15e
AnimatedSprite Fix updating inspector when SpriteFrames is modified
2022-07-13 15:48:11 +02:00
Brian Semrau
ce24b48e50
Add support for multiple virtual keyboard types
2022-07-07 14:22:28 -04:00
Thakee Nathees
da626d8922
Fix FileDialog file name autocompletion with filters
...
Fixes #38195 .
(cherry picked from commit 446f1b7052
)
2022-07-06 11:39:04 +02:00
Haoyu Qiu
d86a2d57cf
Fix LineEdit caret after using arrow key to deselect
2022-07-06 09:32:39 +08:00
bruvzg
7f562030be
Use custom key struct, instead of raw hashes for the Label3D cache to avoid potential hash collisions.
2022-07-04 09:46:38 +03:00
Marcel Admiraal
0992621200
Fix mouse_over not dropped when mouse leaves window
2022-07-03 09:49:56 +01:00
reduz
995281ca90
Fix editor-only visibility for lights
...
* Update visibility again for editor-only lights if owner changes.
Fixes #26399 , supersedes #52327
(cherry picked from commit d69e3791bf
)
2022-07-03 03:21:51 +02:00
Rémi Verschelde
df70aa1772
Merge pull request #57566 from Calinou/viewport-shadow-atlas-clamp-sizes
2022-07-03 03:08:03 +02:00
Rémi Verschelde
3d19f21576
Merge pull request #49967 from Calinou/viewport-2d-hdr-print-warning
2022-07-03 02:41:26 +02:00
Rémi Verschelde
86229d0b03
Merge pull request #54239 from Calinou/editor-directionallight-3d-only-show-relevant-properties-3.x
...
Only show relevant properties in the DirectionalLight inspector (3.x)
2022-07-03 02:02:10 +02:00
saneery
cb94797ce4
Add process_mode property to InterpolatedCamera
2022-07-03 01:47:10 +02:00
hilfazer
fe21fb175c
print_stray_nodes() also prints node's script
2022-07-03 01:00:58 +02:00
Hana
36ff8962cc
remove redundant check preventing checkbox theme style to apply hover_pressed
2022-07-02 20:53:02 +02:00
kobewi
14f69acaa4
Fix find_next_valid_focus() freeze
...
(cherry picked from commit 8d62b736b2
)
2022-07-01 14:00:55 +02:00
kobewi
f659869a45
Fix find_next_valid_focus() freeze
...
(cherry picked from commit d9ede52ded
)
2022-06-30 19:23:01 +02:00
smix8
381e8dd278
Group NavigationAgent properties
...
Groups the ill-defined NavigationAgent properties between pathfinding and avoidance to make it more clear which property affects what.
(cherry picked from commit dde09be302
)
2022-06-30 19:23:01 +02:00
ConteZero
a13b3028a2
Add an option to drag'n'drop selected text in TextEdit
...
(cherry picked from commit 5d56efcaa4
)
2022-06-30 19:23:01 +02:00
smix8
fcff804844
Implement NavigationMesh bake area
...
Adds two new properties to NavigationMesh resources to restrict the navmesh baking to an area enclosed by an AABB with volume.
(cherry picked from commit 0c4d99f4fd
)
2022-06-23 16:17:43 +02:00
needleful
eb99c7243e
Apply baked ambient light settings when baking lights with scene environment
2022-06-21 12:12:47 -07:00
Rémi Verschelde
3c35617c50
Merge pull request #62187 from smix8/nav_nodes_depr_3.5
2022-06-20 18:36:17 +02:00
smix8
693aeaf799
[3.5] Mark Navigation/Navigation2D nodes as deprecated
...
Mark Navigation/Navigation2D nodes as deprecated. They already just redirect calls to the NavigationServer and have no longer a real purpose. In Godot 4.0 both nodes are already removed for good reasons.
2022-06-20 17:37:55 +02:00
smix8
88e42b2915
Add NavigationAgent desired path distance
...
Add NavigationAgent desired path distance
(cherry picked from commit 07740302f3
)
2022-06-20 15:11:09 +02:00
Rémi Verschelde
0cb897421a
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 .
(cherry picked from commit 3e6de687b8
)
2022-06-20 15:00:09 +02:00
Rémi Verschelde
4137578369
Fix typos with codespell
...
Using codespell 2.2-dev from current git.
Fix a couple incorrect uses of gendered pronouns.
2022-06-19 13:48:15 +02:00
kleonc
e55ba60da1
Fix CPUParticles2D.emission_shape
enum hint
2022-06-18 16:07:34 +02:00
smix8
c6f9627c74
[3.5] Add NavigationAgent2D/3D set_navigation_map() function
...
Add NavigationAgent2D/3D set_navigation_map() function. Also fixes some bugs from leftover code before the backport update.
2022-06-16 19:25:52 +02:00
Rémi Verschelde
4e7363cac7
Merge pull request #61996 from smix8/navigation_bp_update_3.x
...
[3.5] Update NavigationServer backport
2022-06-16 00:17:16 +02:00
Rémi Verschelde
0c5c5381d7
Merge pull request #61980 from KoBeWi/obliterate_scroll
...
Disable scroll when dragging at edges of TextEdit
2022-06-14 23:47:17 +02:00
kobewi
053fdb8872
Disable scroll when dragging at edges of TextEdit
2022-06-14 23:36:54 +02:00
smix8
8bd7c6188b
[3.5] Update NavigationServer backport
...
Backports features and bugfixes from current Godot 4.0 to 3.5 and brings functions and codebase of both version largely in sync to make tutorials more compatible and future backports easier.
2022-06-14 05:55:14 +02:00
Rémi Verschelde
606ec57d2c
Merge pull request #61985 from bruvzg/win_net_share3
...
[Windows, 3.x] Add support for handling network share paths.
2022-06-13 09:16:13 +02:00
bruvzg
64a107508a
[3.x] Improve RTL table fill.
2022-06-13 09:57:35 +03:00
bruvzg
11a7997a67
[Windows, 3.x] Add support for handling network share paths.
2022-06-13 09:24:35 +03:00
Rémi Verschelde
0b048b6d73
SoftBody: Fix attachments property names after #61180
...
Fixes #61581 .
(cherry picked from commit 5c3081dae2
)
2022-06-10 14:42:05 +02:00
Rémi Verschelde
4987cd43bf
Merge pull request #61346 from AaronRecord/fix-scrollbars-initializing
2022-06-10 14:24:27 +02:00
Rémi Verschelde
a9e966c319
Merge pull request #61544 from lawnjelly/vis_notifier_max_dist
...
VisibilityNotifier - add max_distance feature
2022-06-10 10:57:53 +02:00
Rémi Verschelde
5c4e95e6e5
Merge pull request #61844 from smix8/navigation_default_navmap_3.x
2022-06-10 09:48:47 +02:00
smix8
96d98d8c4e
Backport default World navigation maps
...
Backports default navigation maps created with each World or World2D.
2022-06-09 14:05:39 +02:00
lawnjelly
0c5a424f65
VisibilityNotifier - add max_distance feature
...
Enables turning off objects by distance to the camera in addition to testing whether they are in the view frustum.
2022-06-09 11:37:42 +01:00
smix8
e629622598
Remove slash delimiter from NavigationMesh properties
...
Remove slash delimiter from NavigationMesh properties.
(cherry picked from commit 2c059dcfcb
)
2022-06-09 10:31:57 +02:00
smix8
c111d6b621
Expose get_mesh() for NavigationPolygon Resources
...
Expose get_mesh() for NavigationPolygon Resources.
(cherry picked from commit 8bcce0ebb2
)
2022-06-09 10:09:46 +02:00
smix8
106bf9b793
Add NavigationMesh debug when navmesh is added later through scripts
...
Add NavigationMesh debug when navmesh is added later through scripts
(cherry picked from commit b6eff47bac
)
2022-06-09 10:08:55 +02:00
Rémi Verschelde
e9ca65207e
Merge pull request #61822 from smix8/tilemap_texture_offset_fix_3.5
2022-06-08 22:46:04 +02:00
smix8
3aa05b7b67
[3.5] Fix TileMap texture offset for navigationmesh and collisionshapes
...
[3.5] Fix TileMap texture offset for navigationmesh and collisionshapes
2022-06-08 19:30:52 +02:00
bruvzg
f5fa1ca944
Add readable export errors. Add RTL image vertical alignment support.
2022-06-08 17:56:28 +03:00
Rémi Verschelde
6ec7e2c230
Merge pull request #61729 from lawnjelly/faster_mesh_merging
...
Optimized Mesh Merging
2022-06-08 07:10:32 +02:00
kleonc
84898dfc22
Make Mesh::generate_triangle_mesh()
handle PRIMITIVE_TRIANGLE_STRIP
and PRIMITIVE_TRIANGLE_FAN
2022-06-07 22:04:14 +02:00
lawnjelly
1d870403b2
Optimized Mesh Merging
...
Changes from PoolVector to LocalVector and pre-reserving vectors rather than push_back.
2022-06-07 20:16:51 +01:00
Rémi Verschelde
70951b3a9c
Merge pull request #61728 from YeldhamDev/always_clear_backport
...
[3.x] Take into account the clear icon's size even when not visible in `LineEdit`s
2022-06-07 14:16:32 +02:00
lawnjelly
ba74643594
Force unsigned behaviour for bitfield enums
...
Some compilers (notably MSVC) were using signed values for bitfield enums. This was causing problems where 2 bits were used to store 4 or less enum values, where they were being treated as negative numbers.
This PR explicitly requests these enums to be treated as unsigned values.
2022-06-06 16:58:21 +01:00
Haoyu Qiu
d043f91b79
Fix Viewport.own_world
documentation
...
Also fixed the naming of the setter's parameter and made an `if` block
straightforward.
2022-06-06 21:34:36 +08:00
Rémi Verschelde
e80dfb7b12
Merge pull request #61687 from YeldhamDev/double_hover_fix
...
Fix hover being drawn twice inside `PopupMenu`s
2022-06-06 13:17:25 +02:00
Michael Alexsander
43b0e054be
Take into account the clear icon's size even when not visible in LineEdit
s
2022-06-05 16:22:01 -03:00
Michael Alexsander
b4e4f88cd9
Fix specific bug related to submenus in PopupMenu
2022-06-04 13:26:12 -03:00
Michael Alexsander
78fdebf8cc
Fix hover being drawn twice inside PopupMenu
s
2022-06-04 02:51:22 -03:00
Rémi Verschelde
a6b27b526f
Merge pull request #60822 from lawnjelly/fti_add_child_reset
2022-06-03 14:56:19 +02:00
FireForge
ea46f32246
Fix get_data() for GradientTexture2D
2022-05-31 23:19:25 -05:00
Yuri Sizov
8ed297fc83
Fix theme propagation for children of top level controls
2022-06-01 03:56:51 +03:00
Yuri Sizov
6d53c60bf7
Mark node groups as dirty for every children if parent is moved
2022-05-31 21:23:16 +03:00
Rémi Verschelde
b44928586b
Merge pull request #61483 from kleonc/popup-update-exclusive-when-shown
...
[3.x] Allow changing `exclusive` of already popped up `Popup`
2022-05-31 12:14:37 +02:00
Rémi Verschelde
51e52b5ed8
Merge pull request #61496 from timothyqiu/asymmetric-le-3.x
...
[3.x] Fix LineEdit clear button for asymmetric stylebox
2022-05-31 08:56:13 +02:00
bruvzg
553bdc6783
[3.x] Fix Label3D oversampling.
2022-05-30 09:05:41 +03:00
Haoyu Qiu
1e6747d185
Fix LineEdit clear button for asymmetric stylebox
2022-05-28 19:51:50 +08:00
kleonc
9ba598f94f
Allow changing exclusive
of already popped up Popup
2022-05-28 01:10:49 +02:00
kleonc
736b0c4e97
PopupMenu Fix hover stylebox overflowing horizontally
2022-05-27 23:35:17 +02:00
Hugo Locurcio
011ff93aa5
Tweak TextMesh decomposition error message to mention self-intersecting lines
2022-05-24 15:12:15 +02:00
Aaron Record
ae9e523025
[3.x] Allow ScrollBar params of a ScrollContainer to be modified from _ready()
...
Cherrypicks b8610dbd31
2022-05-23 21:46:59 -06:00
Rémi Verschelde
88dba8e625
Fix typos with codespell
...
Using codespell 2.2-dev from current git.
2022-05-23 21:41:46 +02:00
bruvzg
eb44e23ca3
[Label3D, 3.x] Monitor default theme font changes, to prevent use of invalid materials.
2022-05-23 18:16:17 +03:00
Rémi Verschelde
b2cdc16a1d
Merge pull request #61281 from bruvzg/textmesh_3x
...
Backport TextMesh and expose dynamic font vector outlines
2022-05-23 16:16:40 +02:00
Rémi Verschelde
f2e3d89562
Merge pull request #61309 from timothyqiu/label-3d-line-spacing
...
[3.x] Use float when calculating `Label3D` line height
2022-05-23 16:10:42 +02:00
Haoyu Qiu
ff5e671c81
Use float when calculating Label3D line height
2022-05-23 17:58:51 +08:00
bruvzg
1ab459a951
Fix material shader key for SDF fonts.
2022-05-23 12:03:09 +03:00
bruvzg
d502bd4847
Backport TextMesh and expose dynamic font vector outlines
2022-05-23 10:47:28 +03:00
bruvzg
dc6d8d6098
Backport Label3D node implementation and Sprite*3D material render priority.
2022-05-23 09:14:41 +03:00
smix8
8df9fd076f
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.
(cherry picked from commit 7f3688603c
)
2022-05-22 19:43:56 +02:00
Hugo Locurcio
548c511f57
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.
(cherry picked from commit 8962d2760d
)
2022-05-22 19:43:56 +02:00
Haoyu Qiu
4a03bc8f75
Update last min size when Control becomes visible
...
(cherry picked from commit 4ac999cc3f
)
2022-05-22 19:43:56 +02:00
Daniel Kariv
47ead8504a
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).
(cherry picked from commit e6c909b489
)
2022-05-22 19:26:45 +02:00
smix8
b03f6bc170
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.
(cherry picked from commit cda93057f7
)
2022-05-22 19:26:45 +02:00
bruvzg
b5d5515a2b
Fix incorrect encoding used in _error_handler functions
...
Co-authored-by: Haoyu Qiu <timothyqiu32@gmail.com>
2022-05-22 18:56:41 +08:00
Rémi Verschelde
67208ae80b
Merge pull request #60402 from Calinou/httprequest-timeout-float
2022-05-20 15:27:29 +02:00