Rémi Verschelde
c589801c23
Merge pull request #96093 from m4gr3d/fix_skeleton_invalid_bone_pose_update
...
Fix invalid `Skeleton3D` bone pose updates
2024-08-26 22:45:58 +02:00
Rémi Verschelde
350bde0db6
Merge pull request #95954 from rakkarage/shader-material-reset
...
Enable revert button for `ShaderMaterial::next_pass` and `ShaderMaterial::render_priority`.
2024-08-26 22:45:37 +02:00
Rémi Verschelde
40c17d6380
Merge pull request #95846 from jadoc/fix-tooltips
...
Only reset the tooltip timer when the mouse has actually moved
2024-08-26 22:45:28 +02:00
Rémi Verschelde
8dad1ba482
Merge pull request #92933 from TokageItLab/match-concatenating
...
Match the coding style for concatenating String
2024-08-26 22:44:59 +02:00
Fredia Huya-Kouadio
039722a341
Fix invalid Skeleton3D
bone pose updates
...
The issue would cause log spams when trying to update the bone pose position or rotation with an invalid bone index.
2024-08-25 17:04:46 -07:00
Rémi Verschelde
4cb6e9994a
Merge pull request #96080 from DeeJayLSP/qoa-break
...
WAV: Add missing break on `get_length()`
2024-08-25 22:24:31 +02:00
Rémi Verschelde
1d3bdfcd06
Merge pull request #95862 from adamscott/fix-pitch-scale-before-play
...
Honor `pitch_scale` value before playing audio sample
2024-08-25 22:24:17 +02:00
Rémi Verschelde
c9e5008966
Merge pull request #95857 from KoBeWi/novel_variant_of_0
...
Always store ID of PopupMenu items
2024-08-25 20:18:14 +02:00
DeeJayLSP
703c31fb40
WAV: Add missing break on get_length()
2024-08-25 14:18:26 -03:00
DeeJayLSP
b4d44a4253
QOA: Remove unnecessary memory allocation
2024-08-24 21:39:55 -03:00
David Giardi
e371587147
Improve SpinBox interaction, split arrows, add theme attributes
2024-08-23 18:21:20 +02:00
Alex Docauer
125ff3213a
Only reset tooltip timer when mouse actually moved
...
InputEventMouseMotion isn't guaranteed to fire only on actual mouse
movement. It's not uncommon for the underlying OS motion event to be
sent either by the OS itself or another application even though the
mouse hasn't moved. Godot will generate such zero-motion
InputEventMouseMotion events itself for things like cursor shape
changes.
Once started, the tooltip timer is reset only after a mouse movement of
at least 5 pixels in one frame.
2024-08-22 19:20:41 -07:00
Rakka Rage
ba23b22153
Enable revert button for ShaderMaterial::next_pass
and ShaderMaterial::render_priority
.
2024-08-22 16:28:59 -04:00
Rémi Verschelde
091212b4f1
Merge pull request #93602 from aaronp64/inspector_latency
...
Improve Editor Inspector/Theme item lookup performance
2024-08-22 00:10:26 +02:00
Yuri Rubinsky
eef236db63
Fix visual shader inputs to follow the alphabet order
2024-08-20 20:51:47 +03:00
aaronp64
7593e55527
Improve Editor Inspector/Theme item lookup performance
...
Changes to reduce the latency between changing node selection in the editor and seeing the new node reflected in the Inspector tab
- Use Vector instead of List for ThemeOwner::get_theme_type_dependencies and related functions
- Use Vector instead of List for ThemeContext::themes, set_themes(), and get_themes()
- Add ClassDB:get_inheritance_chain_nocheck to get all parent/ancestor classes at once, to avoid repeated ClassDB locking overhead
- Update BIND_THEME_ITEM macros and ThemeDB::update_class_instance_items to use provided StringNames for call to ThemeItemSetter, instead of creating a new StringName in each call
These changes reduce the time taken by EditorInspector::update_tree by around 30-35%
2024-08-20 13:39:40 -04:00
Adam Scott
aaafd163b2
Honor pitch_scale
value before playing audio sample
2024-08-20 10:29:32 -04:00
kobewi
5279fec60f
Always store ID of PopupMenu items
2024-08-20 15:33:21 +02:00
Rémi Verschelde
5ebfc8a6ba
Merge pull request #95643 from Flynsarmy/get_bone_attach_skele
...
Add `BoneAttachment3D::get_skeleton()` method
2024-08-20 11:04:04 +02:00
Rémi Verschelde
a700b2a4a2
Merge pull request #95153 from BastiaanOlij/improve_hand_tracking_settings
...
Change hand tracking project settings and finetune `show_when_tracked`
2024-08-20 10:02:01 +02:00
Rémi Verschelde
7999b4bb8a
Merge pull request #94324 from SomeRanDev/shader_hint_enum
...
GDShader: Add `hint_enum` for `uniform int`
2024-08-20 10:01:57 +02:00
Rémi Verschelde
6a9ecdcf0c
Merge pull request #91818 from rburing/fti_multimesh
...
Physics interpolation: `MultiMesh`
2024-08-20 10:01:46 +02:00
Bastiaan Olij
a8c5117777
Change hand tracking project settings and finetune show_when_tracked
2024-08-20 11:12:52 +10:00
Rémi Verschelde
a105553a1d
Merge pull request #92841 from kleonc/menu-bar-proper-canvas-transform-popup-calculation
...
Fix `MenuBar` popup placement assuming it's in viewport default canvas
2024-08-19 16:04:54 +02:00
Rémi Verschelde
da57bab169
Merge pull request #92560 from smix8/navmesh2d_bake_partition
...
Add triangulation partition option to 2D navigation mesh baking
2024-08-19 16:04:49 +02:00
Rémi Verschelde
0ab62a128a
Merge pull request #91971 from Delsin-Yu/WrapControls_ContentScaleFactor
...
Fix `Window.wrap_controls` does not account for the `content_scale_factor`
2024-08-19 16:04:44 +02:00
Rémi Verschelde
ea054261e2
Merge pull request #91731 from TokageItLab/b2s
...
Fix Bone2D gizmo scaling
2024-08-19 16:04:40 +02:00
Rémi Verschelde
db5003519a
Merge pull request #89554 from smnast/backspace-unfold
...
Fix backspace always unfolding previous line
2024-08-19 16:04:34 +02:00
jordi
61e2aa7914
Redraw SubViewportContainer on SubViewport size change
2024-08-19 14:53:53 +02:00
DE-YU
46abbae2b0
Fix Window.wrap_controls does not account for the content_scale_factor
2024-08-19 14:48:43 +02:00
Rémi Verschelde
8b39d7f326
Merge pull request #95666 from kleonc/parallax2d_repeat_offsets_relative_to_source
...
Fix `Parallax2D` repeats being not relative to its transform
2024-08-19 14:34:21 +02:00
Rémi Verschelde
8b98d9aa4d
Merge pull request #95137 from smix8/source_geo_bounds
...
Add `get_bounds()` function to NavigationMeshSourceGeometryData
2024-08-19 14:34:13 +02:00
Rémi Verschelde
b1088047a0
Merge pull request #95124 from kleonc/skeleton2d_fix_set_get_always_returning_true
...
Fix `Skeleton2D.{_set|_get}` always returning true
2024-08-19 14:34:09 +02:00
Rémi Verschelde
6d22b8026d
Merge pull request #90992 from RadiantUwU/fix_node_duplicate
...
Fix `Node.duplicate()` crash when duplicating a node that cannot be instantiated.
2024-08-19 14:33:31 +02:00
kleonc
5be4eb9fc6
Simplify Control internal transform calculation
2024-08-19 12:14:41 +02:00
Rémi Verschelde
43c46b9b1b
Merge pull request #95013 from smix8/navmesh_geo_parse
...
Change NavigationMesh to also parse collision shapes by default
2024-08-19 12:08:55 +02:00
kleonc
1bd8372813
Fix Parallax2D repeats being not relative to its transform
2024-08-19 11:43:16 +02:00
smix8
2e1f6b50fb
Add bounds function to NavigationMeshSourceGeometryData
...
Adds get_bounds() function to NavigationMeshSourceGeometryData2D/3D to get a bounding box that covers all the geometry.
2024-08-19 00:12:37 +02:00
Ricardo Buring
1728f80e7c
Fixed Timestep Interpolation: MultiMesh
...
Adds fixed timestep interpolation to multimeshes.
Co-authored-by: lawnjelly <lawnjelly@gmail.com>
2024-08-18 17:14:59 +02:00
Yuri Rubinsky
f202a3d24e
Add a material preview to visual shader editor
2024-08-17 08:27:54 +03:00
Flyn San
0df7ee31d2
Add BoneAttachment3D::get_skeleton() method
2024-08-17 09:35:24 +10:00
Rémi Verschelde
66cbdc95e1
Merge pull request #93171 from libklein/implement-set-get-polygons
...
NavigationPolygon: Implement `get`/`set_polygon` fast paths.
2024-08-17 00:45:50 +02:00
Rémi Verschelde
18f3bb7566
Merge pull request #91978 from kitbdev/select_first_wrapped_char
...
Fix TextEdit caret movement at start of wrapped lines
2024-08-17 00:45:45 +02:00
Patrick Sean Klein
a1fe6ffa19
NavigationPolygon: Implement get/set_polygon fast paths.
2024-08-17 00:31:58 +02:00
Rémi Verschelde
759d7d40d3
Merge pull request #94241 from zeux/optimize-cache
...
Optimize base and shadow meshes for vertex cache
2024-08-16 23:45:15 +02:00
Rémi Verschelde
28f14102d9
Merge pull request #92944 from smix8/edge_margin_debug
...
Change 3D navigation edge connection margin debug to only show virtual edge
2024-08-16 23:45:04 +02:00
kit
93a81dd7aa
Fix TextEdit caret movement at start of wrapped lines
2024-08-16 15:52:03 -04:00
Micky
edb3d99942
Add RichTextLabel is_finished()
, deprecate is_ready()
2024-08-16 20:08:38 +02:00
Arseny Kapoulkine
0fde03c0e0
Optimize base and shadow meshes for cache
...
Previously, vertex cache optimization was ran for the LOD meshes, but
was never ran for the base mesh or for the shadow meshes, including
shadow LOD chain (shadow LOD chain would sometimes get implicitly
optimized for vertex cache as a byproduct of base LOD optimization, but
not always). This could significantly affect the rendering performance
of geometry heavy scenes, especially for depth or shadow passes where
the fragment load is light.
2024-08-16 07:36:12 -07:00
Rémi Verschelde
f01e052162
Merge pull request #95549 from timothyqiu/split-translation-server
...
Split `TranslationServer` into its own file
2024-08-16 14:36:16 +02:00
Rémi Verschelde
491287aafe
Merge pull request #95545 from KoBeWi/finish_tween!
...
Add internal `_finish()` method to Tweener
2024-08-16 14:35:57 +02:00
Rémi Verschelde
0f9925c0f9
Merge pull request #95542 from KoBeWi/go_bind_yourself
...
Remove empty `bind_methods()`
2024-08-16 14:35:51 +02:00
Rémi Verschelde
a778f7803c
Merge pull request #95529 from bruvzg/bmfont_match_h
...
[BMFont] Fix importing fonts with `Match char height` enabled.
2024-08-16 14:35:32 +02:00
Rémi Verschelde
1346aaf4e7
Merge pull request #95465 from jsjtxietian/remove-category-warning
...
Remove `missing a category` warning in visual shader node
2024-08-16 14:34:56 +02:00
Rémi Verschelde
a917a2b2f9
Merge pull request #95456 from smix8/navlink_mapchange
...
Add NavigationLink function to change navigation map
2024-08-16 14:34:49 +02:00
Rémi Verschelde
e526882052
Merge pull request #95386 from kus04e4ek/close-audio
...
Add `stop_callable` to `AudioStreamPlayerInternal`
2024-08-16 14:33:55 +02:00
Rémi Verschelde
504f81ec08
Merge pull request #95376 from raulsntos/gdextension/expose-property-accessors/Polygon2D
...
Make `Polygon2D::bones` property internal
2024-08-16 14:33:49 +02:00
Rémi Verschelde
60b0b5cd42
Merge pull request #95337 from kleonc/tile_set_editor_fix_transposed_polygons_editing
...
Fix polygon drawing for transposed tiles in `TileSet` editor
2024-08-16 14:33:37 +02:00
Rémi Verschelde
aed6c351c6
Merge pull request #95301 from bruvzg/rtl_sel_fixes
...
Fix `TextServer::shaped_text_*_character_pos` for the first character of wrapped string. Allow starting/ending RTL selection before line start.
2024-08-16 14:33:26 +02:00
Rémi Verschelde
0c956e49ac
Merge pull request #86310 from jirisvd/fix-softbody-reload
...
Fix `SoftBody3D` pinned points breaking when reloading scene
2024-08-16 14:31:45 +02:00
Rémi Verschelde
d45f9d26ff
Merge pull request #81973 from /detective_TileMap_uncovers_the_truth_about_tile_rotation
2024-08-16 14:31:32 +02:00
Rémi Verschelde
a6c350718a
Merge pull request #95548 from TokageItLab/fix-warn-skeleton-modifier
...
Fix incorrect warning on SkeletonModifier
2024-08-16 10:36:45 +02:00
Rémi Verschelde
e43a328f8e
Merge pull request #95464 from tetrapod00/visual-shader-inspector-spatial-node3d-rename
...
Fix wrong name for Spatial shader mode in VisualShader resource inspector
2024-08-16 10:36:22 +02:00
Rémi Verschelde
987635b508
Merge pull request #95374 from raulsntos/gdextension/expose-property-accessors/ShapeCast
...
Expose `ShapeCast{2D,3D}::get_collision_result`
2024-08-16 10:35:38 +02:00
Rémi Verschelde
cba8e3bf3d
Merge pull request #95000 from Calinou/lightmapgi-environment-fix-custom-rotation-bake
...
Fix LightmapGI not taking environment sky rotation into account when baking
2024-08-16 10:35:13 +02:00
Rémi Verschelde
5960555f9b
Merge pull request #94726 from BastiaanOlij/primitive_texel_size_update
...
Make primitive meshes react to texel size change
2024-08-16 10:34:35 +02:00
Rémi Verschelde
f3ba14be60
Merge pull request #93837 from Calinou/gpuparticles-fix-inherit-velocity-physics
...
Fix GPUParticles Inherit Velocity breaking with physics movement
2024-08-16 10:34:10 +02:00
Rémi Verschelde
e58a7530aa
Merge pull request #93727 from zeux/raycast-opt
...
Disable normal raycaster for LOD generation by default
2024-08-16 10:34:03 +02:00
Rémi Verschelde
46c6865979
Merge pull request #92391 from rburing/fti_3d
...
Physics interpolation (3D)
2024-08-16 10:33:37 +02:00
Rémi Verschelde
a86c3e44dd
Merge pull request #91965 from aaronp64/tooltip_size
...
Fix tooltip content being cut off at some display scales
2024-08-16 10:33:25 +02:00
Rémi Verschelde
a3266e28be
Merge pull request #83497 from grenappels/probe_distance_fix
...
Fix generated light probes placing too close to manual light probes
2024-08-16 10:33:12 +02:00
smix8
e6ff4e56e3
Add NavigationLink function to change navigation map
...
Adds NavigationLink function to change navigation map.
2024-08-15 22:37:02 +02:00
Raul Santos
e47ff98451
Expose ShapeCast{2D,3D}::get_collision_result
2024-08-15 16:20:13 +02:00
Silc Lizard (Tokage) Renew
4727c4f783
Fix incorrect warning on SkeletonModifier
2024-08-15 16:53:18 +09:00
Haoyu Qiu
7343dc3a5d
Split TranslationServer into its own file
2024-08-15 15:00:47 +08:00
kobewi
761d988d47
Add internal _finish() method to Tweener
2024-08-15 08:41:51 +02:00
kobewi
065dd099dd
Remove empty bind_methods()
2024-08-15 08:24:32 +02:00
bruvzg
e7f215c2c4
[BMFont] Fix importing fonts with Match char height
enabled.
2024-08-14 23:52:19 +03:00
jsjtxietian
c7249f41e9
Remove missing a category
warning in visual shader node
2024-08-13 12:20:59 +08:00
tetrapod00
b9876b626d
Change "Node3D" to "Spatial" in VisualShader resource
2024-08-12 21:04:13 -07:00
bruvzg
7f6c14522c
Stop popup release timeout on click.
2024-08-12 19:35:20 +03:00
Rémi Verschelde
ece2e6d23b
Merge pull request #95377 from raulsntos/gdextension/expose-property-accessors/Animation
...
Make `Animation::capture_included` read-only
2024-08-12 14:10:37 +02:00
kobewi
dba1a39fe1
Add helper methods to check for tile transforms
2024-08-12 02:51:34 +02:00
Jiří Švejda
bde8c5977b
Fix SoftBody3D pinned points breaking when reloading scene
2024-08-11 19:03:01 +02:00
Kusok
8c7dd3cb61
Add stop_callable
to AudioStreamPlayerInternal
2024-08-11 20:27:15 +08:00
Raul Santos
415331f474
Make Animation::capture_included
read-only
...
The `PROPERTY_USAGE_READ_ONLY` flag only makes the property read-only in the inspector, but the property also has the `PROPERTY_USAGE_NO_EDITOR` flag which means it won't show up in the inspector. So it does nothing, while still making it editable from scripting.
To make it read-only for scripting too, this PR removes the setter from the `PropertyInfo`. And since the `set_capture_included` method is now unused, it was also removed.
2024-08-10 18:53:45 +02:00
Raul Santos
60e93415ed
Make Polygon2D::bones
property internal
2024-08-10 17:55:29 +02:00
kleonc
6895f6f8cc
Fix TileAtlasView bounds checks for transposed tiles
2024-08-09 19:26:02 +02:00
Rémi Verschelde
2edf9b95b3
AudioStreamPolyphonic: Implement stopping with sample playback
...
Fixes #94724 .
2024-08-09 10:57:50 +02:00
Hugo Locurcio
fb88658cc8
Draw a checkerboard behind translucent colors in CodeEdit autocompletion previews
...
This makes translucent colors easier to interpret as such
and is consistent with how they're displayed in ColorPicker.
2024-08-09 00:03:11 +02:00
bruvzg
932acce8f2
Fix TextServer::shaped_text_*_character_pos
for the first character of wrapped string. Allow starting/ending RTL selection before line start.
2024-08-09 00:03:00 +03:00
Rémi Verschelde
1e8bfdcd4f
Merge pull request #95239 from AThousandShips/skeleton_internal_fix
...
Make `Skeleton3D` bone simulator an internal child
2024-08-07 12:08:12 +02:00
Rémi Verschelde
5e7592a342
Merge pull request #95232 from bruvzg/popup_time_up
...
[PopupMenu] Increase mouse button release timeout and reset it from `post_popup`.
2024-08-07 12:07:57 +02:00
A Thousand Ships
602a348ab1
Make Skeleton3D
bone simulator an internal child
2024-08-07 11:38:16 +02:00
Hugo Locurcio
5bc4b49f0b
Document converting a TileMap node to TileMapLayer using the editor
2024-08-07 11:15:29 +02:00
bruvzg
460b538746
[PopupMenu] Increase mouse button release timeout and reset it from post_popup
.
2024-08-07 10:22:12 +03:00
Rémi Verschelde
c81aa6e1fc
Merge pull request #95122 from kleonc/tab_bar_clear_close_button_rect
...
Clear `TabBar` tab close button's rect after it's hidden
2024-08-06 12:31:57 +02:00
Rémi Verschelde
20eee3edd3
Merge pull request #95083 from bruvzg/base_font_loops
...
[Font] Add check for cyclic base font dependencies.
2024-08-06 12:31:42 +02:00
Rémi Verschelde
b27e9f0b3b
Merge pull request #95059 from Geometror/fix-graphedit-port-snapping-again
...
Fix GraphEdit port snapping in certain edge cases
2024-08-06 12:31:17 +02:00
Hugo Locurcio
661cf1f351
Fix LightmapGI not taking environment sky rotation into account when baking
...
The sky rotation now affects the baked environment lighting as it should,
making it match how real-time ambient light rendering works.
Co-authored-by: Per Melin <git@melin.net>
2024-08-05 17:54:11 +02:00