Claire Blackshaw
fe7725239e
Expose a method to get hovered Control in Viewport
2023-12-18 14:53:52 +01:00
HolonProduction
d5847fa54e
Fix updating delimiter cache of CodeEdit
when typing on the first line
2023-12-18 14:07:46 +01:00
Michael Wörner
21d778b0c3
Changed HTML input color_changed logic.
...
Made the HTML field send change events based on whether the new color's string is different from the previous color's string (instead of whether the new string parses to the current color value).
Previously, updating the color value even when the corresponding string hadn't changed would unnecessarily quantize the color value to 8 bits just by opening/closing the Color Picker.
2023-12-17 15:36:57 +01:00
Sofox
f894eb1768
Fixes Node selection when navigating SceneTree with Arrow keys
2023-12-16 19:53:04 +00:00
Wilson E. Alvarez
a3cb1b096f
Add const references detected by clang-tidy
2023-12-16 13:36:44 -05:00
Mika Viskari
5b9e67e0a5
Add property change guards to Sprite2D and AnimatedSprite2D
2023-12-16 20:25:35 +02:00
Yuri Sizov
df9be54b2f
Merge pull request #86177 from KoBeWi/depren_never_forgets
...
Fix file disappearing when renaming dependencies
2023-12-16 17:50:05 +01:00
Yuri Sizov
3fef8910c7
Merge pull request #85575 from TokageItLab/Make-unstore-library
...
Make unstore AnimationLibrary if AnimationTree is assigned AnimationPlayer
2023-12-16 17:49:43 +01:00
Yuri Sizov
1e86ce0b40
Merge pull request #85317 from miv391/fix-breaking-frame-index-in-sprites
...
Fix invalid `frame` index when Sprite2D's `hframes` or `vframes` has been changed
2023-12-16 17:49:38 +01:00
Yuri Sizov
486e3a82e8
Merge pull request #84583 from timothyqiu/path-to-ap
...
Make AnimationTree reference AnimationPlayer instead of AnimationMixer
2023-12-16 17:49:30 +01:00
风青山
ea30aabfb1
Clear monitoring in Area*
when its space changes to invalid
...
So that it can work properly when the space changes to valid again.
Change `space` in advance to prevent disabled areas from being queried again.
2023-12-15 20:54:54 +01:00
Mika Viskari
484c5b5aff
Fix invalid frame index when Sprite2D's hframes or vframes has been changed
2023-12-15 20:32:18 +02:00
Haoyu Qiu
7946e84187
Make AnimationTree reference AnimationPlayer instead of AnimationMixer
2023-12-16 00:40:44 +08:00
kobewi
397f0b31e4
Fix file disappearing when renaming dependencies
2023-12-14 22:28:48 +01:00
Yuri Sizov
a5529f759c
Merge pull request #86129 from TheSofox/color-picker-memory
...
Remember last `color_mode` and `picker_shape` in `ColorPicker`s in the editor
2023-12-14 21:22:39 +01:00
Yuri Sizov
302e41c264
Merge pull request #82561 from ershn/fix_navigation_agents_is_target_reached_behavior
...
Make `target_desired_distance` affect the navigation of `NavigationAgent2D/3D`
2023-12-14 21:22:35 +01:00
Thaddeus Crews
83ef789745
Replace GDVIRTUAL_CALL
with GDVIRTUAL_REQUIRED_CALL
where applicable
2023-12-14 13:22:40 -06:00
Sofox
7979412c75
Remember last 'color_mode' and 'picker_shape' in 'ColorPicker's in the editor
2023-12-14 18:57:57 +00:00
Yuri Sizov
f79f2ef801
Merge pull request #86065 from bruvzg/non_vis_no_draw
...
[TextServer] Do not draw non-visual characters.
2023-12-14 17:38:53 +01:00
Yuri Sizov
203c8c31d3
Merge pull request #85071 from Rubonnek/remove-unnecessary-assignments
...
Remove unnecessary assignments
2023-12-14 17:38:34 +01:00
Yuri Sizov
4cf6325aa1
Merge pull request #84660 from groud/better_tileset_polygons
...
Move tile transforms handling cache to TileData
2023-12-14 17:38:14 +01:00
Yuri Sizov
16d1d85a56
Merge pull request #78206 from alula/node-count-in-group
...
Add SceneTree.get_node_count_in_group()
2023-12-14 17:38:00 +01:00
Marius Hanl
18fedd9c13
Fix Popup hover and height calculation are off by some pixels
...
This was caused by an incorrect calculation of the v_separation where it was not needed
2023-12-14 02:24:25 +01:00
bruvzg
0d44b50520
[macOS] Add default Window and Help menus, allow special menu customization.
2023-12-13 23:20:05 +02:00
Gilles Roudière
18fe0bd025
Move tile transforms handling cache to TileData
2023-12-13 17:44:59 +01:00
Wilson E. Alvarez
80fb8db31f
Remove unnecessary assignments
...
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2023-12-13 11:06:26 -05:00
Rémi Verschelde
7635530e11
Merge pull request #86046 from bs-mwoerner/linear_animation_typemix
...
Fix linear interpolation not working with mixed (int/float) keyframes
2023-12-13 12:20:38 +01:00
Rémi Verschelde
2d5ceaab3e
Merge pull request #86028 from jsjtxietian/prevent-crash-when-notify-change-empty-tree
...
Prevent crash when calling `set_text()` on a removed TreeItem
2023-12-13 10:32:48 +01:00
Michael Wörner
12ce2e33b2
Restored the ability for linear interpolation to work on a mix of integer and float keyframes.
2023-12-13 00:24:46 +01:00
bruvzg
575e1201cb
[TextServer] Do not draw non-visual characters.
2023-12-12 12:17:10 +02:00
Rémi Verschelde
63f3de3aad
Merge pull request #86056 from ShatReal/fix-skeletonmodification2dtwoboneik-meters
...
Change suffix of SkeletonModification2DTwoBoneIK from m to px
2023-12-12 10:41:29 +01:00
Rémi Verschelde
5352490cc9
Merge pull request #84384 from zeux/meshopt-update
...
meshoptimizer: Update to v0.20 (with a reduced patch)
2023-12-12 10:39:28 +01:00
jsjtxietian
7a2831db57
Prevent crash when call set_text() on a removed treeItem
2023-12-12 12:58:14 +08:00
Emily
b7d5f3e984
Change suffix from m to px
2023-12-11 16:52:03 -08:00
Rémi Verschelde
15a03ed98e
Merge pull request #86034 from kleonc/color_picker_alpha_slider_fix_arrow_offset
...
Fix `ColorPicker`'s alpha slider arrow offset
2023-12-12 00:34:37 +01:00
Rémi Verschelde
e1d4b3cc07
Merge pull request #85794 from TokageItLab/stablemixer
...
Remove differences of the code between old AnimationTree and AnimationMixer
2023-12-12 00:33:01 +01:00
Rémi Verschelde
1f3c16dd1c
Merge pull request #85001 from alesliehughes/anim_mixer_leak
...
Replace memory allocation point of ValueTrack correctly in AnimationMixer
2023-12-12 00:18:31 +01:00
Rémi Verschelde
4450ae98b9
Merge pull request #84969 from alesliehughes/shader_refactor
...
VisualShader: Refactor use of Connection
2023-12-12 00:18:07 +01:00
Rémi Verschelde
4943b6e6b3
Merge pull request #84451 from ShirenY/FixSkeletonMeshCulling
...
Transform mesh's AABB to skeleton's space when calculating mesh's bounds
2023-12-12 00:16:51 +01:00
Rémi Verschelde
5529d32b56
Merge pull request #83938 from clayjohn/sky-exposure
...
Expose `energy_multiplier` to remaining SkyMaterials
2023-12-12 00:16:25 +01:00
Rémi Verschelde
4e2350b1af
Merge pull request #82661 from bruvzg/custom_ellipsis
...
[Text Overrun] Add option to set custom ellipsis character, add support for system font fallback.
2023-12-12 00:15:34 +01:00
Alistair Leslie-Hughes
bfd62d7cdf
Visual shader refacter use of connection
2023-12-12 07:36:28 +11:00
Alistair Leslie-Hughes
ea84effb84
Replace memory allocation point of ValueTrack correctly in AnimationMixer
...
When a animation track doesn't have an keys, it's possible that we leak memory due the ERR_CONTINUE_MSG macro usage.
By checking the error condition first, we avoid a allocation and thus the leak.
2023-12-12 07:33:35 +11:00
kleonc
d76d8c5f29
Fix ColorPicker's alpha slider arrow offset
2023-12-11 16:17:45 +01:00
ShirenY
27f71c4e78
Transform mesh's AABB to skeleton's space when calculate mesh's bounds.
2023-12-09 11:41:15 +08:00
Yuri Sizov
b94eb58d35
Merge pull request #85893 from groud/fix_tilemap_occluders
...
Fix TileMap occluders
2023-12-08 18:46:08 +01:00
Yuri Sizov
6269341461
Merge pull request #85054 from miv391/highlight-minimap-error-lines
...
Highlight error lines in minimap
2023-12-08 18:45:54 +01:00
Yuri Sizov
07677f0f51
Merge pull request #85885 from YuriSizov/bench-pressing
...
Improve engine startup/shutdown benchmarks
2023-12-08 17:12:26 +01:00
Yuri Sizov
9cd9831883
Merge pull request #82887 from aaronfranke/capsule-cylinder-rings
...
Reduce minimum capsule/cylinder mesh rings to 0
2023-12-08 16:57:58 +01:00
Yuri Sizov
dcbb18ded8
Merge pull request #85313 from kitbdev/fix-exit-hide
...
Fix crash on hiding grandparent Control on mouse exit
2023-12-08 15:23:32 +01:00
Yuri Sizov
44d544fc98
Merge pull request #85120 from dsnopek/gl-lightmap
...
OpenGL: Implement rendering of lightmaps
2023-12-08 15:23:27 +01:00
Yuri Sizov
6c86974022
Merge pull request #84122 from kitbdev/fix-dock-visibility
...
Fix dock visibility issues
2023-12-08 15:23:09 +01:00
Yuri Sizov
de5583c821
Merge pull request #83698 from BlueCube3310/curve-runtime-draw-improvement
...
Improve Curve3D debug drawing
2023-12-08 15:23:03 +01:00
Yuri Sizov
13305d31b5
Merge pull request #83343 from warriormaster12/node-property-duplication
...
Fix export variable of type Node pointing to a wrong child node when duplicating
2023-12-08 15:22:59 +01:00
Yuri Sizov
ae4e48246a
Merge pull request #80994 from aitorciki/zoom-from-pan-gesture
...
Trigger zoom from pan gestures when pressing ctrl
2023-12-08 15:22:43 +01:00
Yuri Sizov
b6c15736bd
Merge pull request #78997 from Sauermann/fix-owner-crash
...
Fix crash caused by stale owner
2023-12-08 15:22:39 +01:00
Yuri Sizov
fc3f40f37d
Improve engine startup/shutdown benchmarks
...
- Add contexts to give a better sense of benchmarked areas.
- Add missing benchmarks and adjust some begin/end points.
- Clean up names.
- Improve Android's internal benchmarks in a similar manner.
Co-authored-by: Fredia Huya-Kouadio <fhuya@meta.com>
2023-12-08 12:53:04 +01:00
Gilles Roudière
fcb8d19de0
Fixes TileMap occluders
2023-12-08 10:07:28 +01:00
Mika Viskari
609eb8bc01
Highlight error lines in minimap
2023-12-07 16:26:08 +02:00
David Snopek
bfdcd8559b
Fix overriding CollisionObject3D::_mouse_enter()
and _mouse_exit()
from GDExtension
2023-12-06 16:39:43 -06:00
bruvzg
f9c42d9fff
Limit window size updates on title translation change.
2023-12-06 10:51:27 +02:00
Aaron Franke
6ee9edb946
Reduce minimum capsule/cylinder mesh rings to 0
2023-12-05 22:27:23 -06:00
Silc Lizard (Tokage) Renew
5acf6b4ca6
Remove differences of the code between old AnimationTree and Mixer
2023-12-06 02:29:29 +09:00
Rémi Verschelde
36e033bce8
Merge pull request #85312 from YuriSizov/window-and-the-case-of-an-unexpected-shrinkage
...
Make sure `Window`'s title is respected before we compute the size
2023-12-05 13:05:23 +01:00
David Snopek
749f60ee36
OpenGL: Implement rendering of lightmaps
2023-12-04 18:34:06 -06:00
Rémi Verschelde
654132cb9c
Merge pull request #85753 from groud/allow_invisible_scene_tiles
...
Keep scene tiles even if the TileMap is invisible
2023-12-04 23:29:33 +01:00
Rémi Verschelde
1d520f5d11
Merge pull request #85681 from KoBeWi/continue_but_not_now
...
Fix Tween loop initial value
2023-12-04 23:21:34 +01:00
Rémi Verschelde
6a10b99228
Merge pull request #85631 from Malcolmnixon/gltf-convex-decomposition
...
Fix memory corruption and assert failures in convex decomposition
2023-12-04 23:20:23 +01:00
Rémi Verschelde
b8ba602e8c
Merge pull request #85569 from TokageItLab/fix-seek-diecrete
...
Fix AnimationPlayer seeking for Discrete keys
2023-12-04 23:19:58 +01:00
Rémi Verschelde
e6d83058b9
Merge pull request #85542 from bruvzg/win_title_upd
...
Limit window size updates on title change.
2023-12-04 23:15:42 +01:00
Rémi Verschelde
6b21a185e2
Merge pull request #85428 from jsjtxietian/prevent-nullptr-crash-in-AnimationMixer--restore
...
Prevent a crash when calling `AnimationMixer::restore` with an invalid resource
2023-12-04 23:14:29 +01:00
Rémi Verschelde
8580874d0f
Merge pull request #85363 from bruvzg/rtl_fx_nl
...
[RTL] Fix CharFX character offset calculation.
2023-12-04 23:12:48 +01:00
Rémi Verschelde
c7137673d3
Merge pull request #85269 from Calinou/material-conversion-fix-typo
...
Fix typo in BaseMaterial3D conversion from 3.x SpatialMaterial
2023-12-04 23:11:59 +01:00
Rémi Verschelde
0e4aead7a1
Merge pull request #85258 from smix8/navregion2d_transform
...
Fix NavigationRegion2D transform update
2023-12-04 23:11:15 +01:00
Rémi Verschelde
f444818c7e
Merge pull request #84794 from akien-mga/videoplayer-fix-reloading-translation-remapped-stream
...
VideoPlayer: Fix reloading translation remapped stream
2023-12-04 23:05:15 +01:00
Rémi Verschelde
74880abd15
Merge pull request #84507 from SaracenOne/terrain_icon_fix
...
Fix generating terrain icon with certain image formats.
2023-12-04 23:03:35 +01:00
Rémi Verschelde
4ce65c6190
Merge pull request #83816 from smix8/navobstacle_properties
...
Fix missing NavigationObstacle property updates in constructor
2023-12-04 23:00:02 +01:00
Rémi Verschelde
1389d8a23f
Merge pull request #83814 from smix8/navagent_properties
...
Fix missing NavigationAgent property updates in constructor
2023-12-04 22:59:38 +01:00
Rémi Verschelde
4bd5ffd669
Merge pull request #83812 from smix8/navregion_properties
...
Fix missing NavigationRegion property updates in constructor
2023-12-04 22:59:13 +01:00
Rémi Verschelde
9be2f25c57
Merge pull request #83802 from smix8/navlink_properties
...
Fix missing NavigationLink property updates in constructor
2023-12-04 22:58:49 +01:00
Rémi Verschelde
cbae80006c
Merge pull request #82079 from RoyBerube/OutputScroll
...
Enable scrolling of output with UI scale changes
2023-12-04 22:57:33 +01:00
Rémi Verschelde
94edf0f9a1
Merge pull request #80326 from MewPurPur/no-exp-with-zero
...
Remove exp hint of a few properties
2023-12-04 22:57:09 +01:00
smix8
25bf20d7a5
Fix missing NavigationRegion property updates in constructor
...
Fixes missing NavigationRegion property updates in constructor.
2023-12-04 19:50:17 +01:00
Gilles Roudière
25e927e56b
Keep scene tiles even if the TileMap is invisible
2023-12-04 18:39:16 +01:00
bruvzg
56579f397d
[Text Overrun] Add option to set custom ellipsis character, add support for system font fallback.
2023-12-04 08:21:42 +02:00
Jummit
7957354091
Fix push_input only working the first time
...
Subviewports didn't update their parent's local_input_handled correctly.
Fixes #76439 .
2023-12-02 20:30:26 +01:00
kit
78e1702adb
fix crash on hiding grandparent on mouse exit
2023-12-02 14:24:56 -05:00
kobewi
20aecefd9b
Fix Tween loop initial value
2023-12-02 20:20:50 +01:00
Marius Hanl
dbee4cde1d
Mark 'gui/theme/custom' and 'gui/theme/custom_font' as basic properties
2023-12-02 16:00:39 +01:00
Ricardo Subtil
fde51aeb28
Ensure slider grabs focus only when it can
2023-12-02 11:06:06 +00:00
Malcolm Nixon
bf7cdc5229
Fix memory corruption and assert failures in convex decomposition
...
This PR fixes how triangular faces are decomposed into vertices and indices. The pre-increment resulted in the indices table skipping entry 0 and potentially overrunning the end of the vertices vector.
2023-12-01 16:38:08 -05:00
addmix
5b5ac92de5
Prevent Camera3D.current from being set to true automatically in the editor.
2023-12-01 02:48:53 -07:00
Silc Lizard (Tokage) Renew
7ed7ea53e6
Fix AnimationPlayer seeking for Discrete keys
2023-12-01 05:26:21 +09:00
Silc Lizard (Tokage) Renew
c380b1296a
Make unstore AnimationLibrary if AnimationTree is assigned Player
2023-12-01 04:50:58 +09:00
bruvzg
5dd11e8eee
Limit window size updates on title change.
2023-11-30 16:04:00 +02:00
Ershn
fce16b6662
Make target_desired_distance affect the navigation of NavigationAgent2D/3D
...
When the target is reachable, stop the navigation only when the target is reached.
2023-11-29 23:48:54 +09:00
Mika Viskari
187bb61e7b
Fix horizontal mouse wheeling in 2D editor view
2023-11-28 17:36:02 +02:00
Rémi Verschelde
a0d7649192
Merge pull request #85463 from akien-mga/tilemap-fix-cell_quadrant_size-compat
...
TileMap: Fix compatibility code for old `cell_quadrant_size` property name
2023-11-28 13:37:32 +01:00
Rémi Verschelde
efe5c856b8
TileMap: Fix compatibility code for old cell_quadrant_size
property name
...
Fixes #85423 .
2023-11-28 12:44:07 +01:00
Rémi Verschelde
a363269479
AnimationMixer: Validate ObjectID before blend in case the object was freed
...
Works around #85365 , but it's likely only a partial fix.
The proper fix would be to remove the Object pointer from the TrackCache
and always go back to the ObjectID before doing operations like this.
2023-11-28 12:27:23 +01:00
Rémi Verschelde
a008a85443
Merge pull request #85411 from TokageItLab/fix-animpbtrack-stop
...
Make AnimationPlaybackTrack keep state when stopping
2023-11-28 08:28:25 +01:00
jsjtxietian
937411e152
Prevent a crash when calling AnimationMixer::restore when an invalid reference
2023-11-28 12:54:06 +08:00
Rémi Verschelde
eda44bfe10
Merge pull request #85252 from QbieShay/qbe/fix-radial-inwards-velocity
...
Fix radial inwards velocity clamping incorrectly (regression from #83488 )
2023-11-27 21:25:58 +01:00
Rémi Verschelde
a807d4bfa7
Merge pull request #85418 from bruvzg/fix_crash_on_late_enterexit
...
Fix crash on late mouse enter/exit event arrival.
2023-11-27 16:01:30 +01:00
bruvzg
bf19ced15d
Fix crash on late mouse enter/exit event arrival.
2023-11-27 08:47:43 +02:00
Silc Lizard (Tokage) Renew
d3a429962f
Make AnimationPlaybakTrack keep state when stopping
2023-11-27 12:14:25 +09:00
HolonProduction
8cc85515af
Suggest scene unique nodes in get_node
autocompletion
2023-11-26 15:41:29 +01:00
Silc Lizard (Tokage) Renew
c36200b9a1
Check the seek process immediately after playback as a special case
2023-11-26 07:32:34 +09:00
bruvzg
7a59efac32
[RTL] Fix CharFX character offset calculation.
2023-11-26 00:07:46 +02:00
Yuri Sizov
d9677be0ca
Make sure Window
's title is respected before we compute the size
...
Also removes some suspicious and outdated code that forced this particular
dialog to change size when the warning message changed.
2023-11-24 16:31:41 +01:00
Yuri Sizov
671c04f89f
Fix a crash when trying to restore uncopyable animation tracks
2023-11-24 14:20:30 +01:00
Pedro J. Estébanez
fbb931df8c
Perform safe copies in AnimatedValuesBackup::get_cache_copy()
2023-11-24 11:38:59 +01:00
Rémi Verschelde
066e7d483a
Merge pull request #85284 from Sauermann/fix-enter-hide
...
Fix crash when hiding a Control during mouse-entering
2023-11-24 00:01:15 +01:00
Markus Sauermann
3de9afc4a9
Fix crash when hiding a Control during mouse-entering
...
gui.mouse_over can be set to `nullptr` in the `NOTIFICATION_MOUSE_ENTER`-
user-callback a few lines above. This case was previously not handled.
2023-11-23 23:25:00 +01:00
kobewi
1c0a0f5fdd
Fix TrackCache memory crash
2023-11-23 20:26:03 +01:00
Rémi Verschelde
bb63963486
Merge pull request #85254 from TokageItLab/bind-reset-animedit
...
Bind `_reset`/`_restore` in AnimationMixer
2023-11-23 15:35:15 +01:00
Rémi Verschelde
1524972aa5
Merge pull request #85221 from TokageItLab/clear-seek-flg
...
Clear seeked/started flag after seeking/advancing in AnimationPlayer
2023-11-23 15:34:46 +01:00
Hugo Locurcio
70959a9c04
Fix typo in BaseMaterial3D conversion from 3.x SpatialMaterial
2023-11-23 15:18:03 +01:00
Silc Lizard (Tokage) Renew
f66224dd2d
Bind _reset
/_restore
in AnimationMixer
2023-11-23 22:47:52 +09:00
QbieShay
a879e59581
Fixed radial inwards velocity clamping incorrectly (regression from 83488)
2023-11-23 10:32:56 +01:00
smix8
6fdb16af47
Fix NavigationRegion2D transform update
...
Fixes NavigationRegion2D transform update.
2023-11-23 07:23:20 +01:00
David Snopek
ce488930ea
Remove GI methods in parentheses from light baking options
2023-11-22 08:42:40 -06:00
Silc Lizard (Tokage) Renew
9c3104292d
Clear seeked/started flag after seeking/advancing in AnimationPlayer
2023-11-22 23:40:53 +09:00
Pedro J. Estébanez
8bebabda18
Let scene replacemnent benefit from certain late pieces of frame logic
2023-11-21 18:32:49 +01:00
Rémi Verschelde
c2f8fb3015
Merge pull request #85039 from RandomShaper/mingwthreads
...
Use mingw-std-threads in MinGW builds
2023-11-21 15:44:18 +01:00
kobewi
c6c872ba34
Provide more context when scene fails to load
2023-11-20 14:57:00 +01:00
Stanislav Labzyuk
ff59496632
Use disabled icons for CheckBox in DefaultTheme
2023-11-19 22:01:53 +01:00
Pedro J. Estébanez
fe4850c0d0
Use mingw-std-threads in MinGW builds
2023-11-18 11:56:05 +01:00
Markus Sauermann
d3d00c7039
Fix crash caused by stale owner
...
Adjust `NOTIFICATION_PREDELETE` in `Node` to clean up owned nodes.
Also print a warning, when the owner becomes invalid.
2023-11-17 19:53:58 +01:00
bruvzg
932174fedf
[Editor] Add option to override editor UI layout direction.
2023-11-17 14:56:45 +02:00
Lera Elvoé
60cb44e84c
Add GraphEdit connection layer child as internal
2023-11-17 15:29:39 +03:00
Rémi Verschelde
4065266119
Merge pull request #84968 from groud/fix_tilemap_reparenting
...
Update tilemap physics' world2D on reparenting
2023-11-16 14:53:15 +01:00
Rémi Verschelde
6ae6cc0bf5
Merge pull request #84815 from TokageItLab/array-animation
...
Rework blending method in `Variant` animation for `Int`/`Array`/`String`
2023-11-16 14:52:00 +01:00
Silc Lizard (Tokage) Renew
80c9533810
Rework blending method in Variant animation for Int/Array/String
2023-11-16 21:37:18 +09:00
Gilles Roudière
dae641625a
Update tilemap physics' world2D on reparenting
...
Co-authored-by: Alon Ran <newdefectus@gmail.com>
2023-11-16 11:31:42 +01:00
Alistair Leslie-Hughes
5b6f641e99
Fix sizeof usage for Variant pointers in alloca
...
Coverity report this as a non portable usage of sizeof
2023-11-16 07:13:14 +11:00
Rémi Verschelde
56a2b143a2
Merge pull request #84942 from TokageItLab/leak-res-track-cache
...
Fix ValueTrack with Resource is leaking
2023-11-15 18:47:10 +01:00
Hugo Locurcio
9f1870ec49
Hide ineffective TextureProgressBar properties in the editor
...
Radial fill properties only have an effect when using a radial fill mode.
Stretch margin properties only have an effet when Nine Patch Stretch
is enabled.
2023-11-15 18:35:54 +01:00
Silc Lizard (Tokage) Renew
f853d675e8
Fix ValueTrack with Resource is leaking
2023-11-16 02:12:39 +09:00
Stanislav Labzyuk
ff8797e980
Implement disabled state for Checkbox in Tree
2023-11-15 17:13:34 +01:00
jsjtxietian
4680ced5fa
support updating tooltip after editor description change
2023-11-15 14:27:49 +08:00
Mikael Hermansson
a3278c772e
Fix transform sync in RigidBody*D::_body_state_changed
2023-11-15 01:45:45 +01:00
Mikael Hermansson
a98b94758b
Revert "Fix transform notification not getting sent out for RigidBody2D"
2023-11-14 22:17:26 +01:00
Markus Sauermann
fa02d19fd1
Fix internal events not being delivered to some Window types
...
`AcceptDialog`, `Popup` and `PopupMenu` no longer subscribe to
"window_input" signal, because that is only sent if it is not an
internal signal.
Instead they receive events in `_input_from_window`. They ensure that
the event is also propagated to their super-function, just like
previously the signals would be treated.
2023-11-14 20:29:17 +01:00
Hendrik Brucker
1a8e676131
Add different grid patterns to GraphEdit
2023-11-14 19:48:31 +01:00
Rémi Verschelde
c26b36e0e5
Merge pull request #84870 from jsjtxietian/add-set-selected-protection
...
Make Tree's `set_selected` check if the TreeItem belongs to the tree
2023-11-14 19:31:47 +01:00
Rémi Verschelde
9c67a02259
Merge pull request #84856 from mihe/fix-block-transform-notify
...
Fix transform notification not getting sent out for RigidBody2D
2023-11-14 19:31:43 +01:00
clayjohn
ead36fdcc4
Store ArrayMesh path in RenderingServer for use in error messages
2023-11-14 16:27:10 +01:00
Rémi Verschelde
75e0b90f1d
Merge pull request #84874 from bruvzg/rtl_excessive_draw
...
[RTL] Fix excessive underline and table border draw calls.
2023-11-14 11:27:55 +01:00
Rémi Verschelde
7c7d9e2169
Merge pull request #83781 from martinfelis/fix-animationplayer-ready-autoplay
...
Ensure AnimationPlayer evaluate animations when autoplay is enabled and node becomes ready
2023-11-14 11:27:44 +01:00
Martin Felis
f04ec34b78
Ensure AnimationPlayer evaluate animations when autoplay is enabled and node becomes ready.
...
Fixes #83326 .
The issue was introduced in the refactoring done in 1b95827d3e
.
2023-11-14 08:30:40 +01:00
bruvzg
4a82d3b16d
[RTL] Fix excessive underline and table border draw calls.
2023-11-14 08:31:44 +02:00
jsjtxietian
b79cac6d2d
Make Tree's set_selected check if treeitem belongs to the tree
2023-11-14 11:34:00 +08:00
Rémi Verschelde
8b705af9e5
Merge pull request #84832 from alesliehughes/fix_use_after_free
...
Fix VisualShader connection use after free.
2023-11-14 00:03:45 +01:00
Rémi Verschelde
8d731b17f1
Merge pull request #84829 from bitsawer/fix_particle_material_names
...
Fix several ParticleProcessMaterial texture names
2023-11-14 00:03:21 +01:00
Alistair Leslie-Hughes
a30dc67007
Fix VisualShader connection use after free.
2023-11-14 07:34:41 +11:00
Mikael Hermansson
9fb0b52608
Fix transform notification not getting sent out for RigidBody2D
2023-11-13 15:44:32 +01:00
kobewi
4296f0a771
Fill remaining global scope constant descriptions
2023-11-13 15:17:10 +01:00
jsjtxietian
306a8eec58
Add protection in RichTextLabel.update_image to prevent crash
2023-11-13 18:01:14 +08:00
bitsawer
7c4d07c5a0
Fix several ParticleProcessMaterial texture names
2023-11-13 05:51:01 +02:00
Rémi Verschelde
64150060f8
Merge pull request #84799 from mihe/fix-83412
...
Fix transform changes in `_integrate_forces` being overwritten
2023-11-12 23:01:18 +01:00
Rémi Verschelde
5a5b456fca
Merge pull request #84774 from akien-mga/fix-TTR-in-ERR-WARN-prints
...
Don't use TTR/RTR for ERR/WARN prints
2023-11-12 22:59:38 +01:00
Mikael Hermansson
21a3ed1715
Fix transform changes in _integrate_forces
being overwritten
2023-11-12 19:32:08 +01:00
Rémi Verschelde
7d0c561e02
VideoPlayer: Fix reloading translation remapped stream
...
Fixes #43917 .
2023-11-12 15:22:16 +01:00
Rémi Verschelde
8928b2044b
Merge pull request #80281 from KoBeWi/unacceptable
...
Assign temporary path to preloaded resources
2023-11-12 12:13:55 +01:00
Rémi Verschelde
15b8185c68
Don't use TTR/RTR for ERR/WARN prints
...
We don't translate those, only editor strings are translated.
2023-11-12 12:00:55 +01:00
biswas08433
92fe4bb693
Fixes Texture2dParameter node filter option
...
This bug was appending 2 colons in the generated code. Fixed it.
2023-11-12 01:59:53 +05:30
Rarysson Guilherme
beeca2ae82
Make ProgressBar show the real percent when allow greater/lesser is checked
2023-11-11 11:18:41 -03:00
Rémi Verschelde
7f8edaa238
Merge pull request #82660 from coumcashier/itemlist_height_fix
...
Fix storing invalid item height values in `ItemList`
2023-11-10 21:54:33 +01:00
Rémi Verschelde
28ada4582e
Merge pull request #82604 from Calinou/editor-camera3d-size-property-hint
...
Tweak Camera3D `size` property hint to make dragging more useful
2023-11-10 21:54:10 +01:00
coumcashier
1533292f09
Fix storing invalid item height values in ItemList
...
The height of the last N items is incorrectly overwritten with
the max height of first row (N = number of columns). This happen
in the first iteration of the while loop. Moving this code inside
if (all_fit) makes sure the last rows height is only updated at
the end when max height (max_h) is calculated for the last row.
2023-11-10 19:54:31 +01:00
bitsawer
0f66bc9ba6
Fix FogMaterial memory leak
2023-11-10 12:13:52 +02:00
kobewi
a3627b6e37
Assign temporary path to preloaded resources
2023-11-10 00:43:30 +01:00
Rémi Verschelde
0e6160a00f
Merge pull request #81525 from KoBeWi/tweening_the_impossible
...
Check if property exists before tweening
2023-11-09 20:03:53 +01:00
Rémi Verschelde
c2246a5a6f
Merge pull request #84668 from YuriSizov/gui-dont-warn-when-popup-subs-are-nameless
...
Allow auto-generated node names in `PopupMenu::add_submenu_item`
2023-11-09 18:10:35 +01:00
Rémi Verschelde
f7a701587e
Merge pull request #84662 from YuriSizov/gui-warn-about-autowrapping
...
Warn about autowrapped labels in containers
2023-11-09 18:09:25 +01:00
Rémi Verschelde
d36cc7313e
Merge pull request #84547 from kitbdev/mouse-notif-3
...
Make Mouse Enter/Exit notifications match Mouse Events
2023-11-09 18:08:37 +01:00
Yuri Sizov
edcad2ea88
Allow auto-generated node names in PopupMenu::add_submenu_item
2023-11-09 17:12:41 +01:00
Yuri Sizov
58a3cfa192
Warn about autowrapped labels in containers
2023-11-09 16:33:46 +01:00
kit
d24d73ba31
Make mouse-enter/exit notifications match mouse event propagation
...
`NOTIFICATION_MOUSE_ENTER` and `NOTIFICATION_MOUSE_EXIT` now includes
the areas of children control nodes if the mouse filters allow it.
In order to check if a Control node itself was entered/exited, the newly
introduced `NOTIFICATION_MOUSE_ENTER_SELF` and
`NOTIFICATION_MOUSE_EXIT_SELF` can be used.
Co-authored-by: Markus Sauermann <6299227+Sauermann@users.noreply.github.com>
2023-11-09 09:11:59 -05:00
Rémi Verschelde
cfcb0a1efc
Merge pull request #84605 from bruvzg/fix_list_al
...
[RTL] Fix list bullet alignment.
2023-11-08 19:10:47 +01:00
Rémi Verschelde
f0c52c0e35
Merge pull request #84576 from clayjohn/mesh-tangents-always
...
Create tangent array if mesh created without tangents
2023-11-08 19:09:36 +01:00
Rémi Verschelde
491160c33d
Merge pull request #83888 from KoBeWi/remove_all_properties_instead_of_adding_one
...
Fix TileMap layer reverts and defaults
2023-11-08 19:08:19 +01:00
bruvzg
e1c6dd522b
[RTL] Fix list bullet alignment.
2023-11-08 08:26:30 +02:00
clayjohn
031f221b9d
Create tangent array if mesh created without tangents
...
This extends our previous change to ensure that compressed meshes have tangents
Now we ensure tangents are always used. This greatly simplifies our compression code at the cost of a small amount of bandwidth
2023-11-07 14:24:23 +01:00
rsburke
76377230ac
Fixed CPUParticle tangential force to match GPUParticle implimentation
2023-11-07 08:02:43 -05:00
Hugo Locurcio
079f1c8ead
Display a revert icon on ColorPicker's old sample
...
This denotes that the color can be clicked to revert to the old color.
2023-11-07 10:04:39 +01:00
Saracen
35c105e796
Fix generating terrain icon with certain image formats.
2023-11-06 22:19:54 +00:00
Roy Berube
a7b2e090ad
Enable scrolling of output with UI scale changes
2023-11-06 12:17:49 -07:00
DinDotDout
15ec132ea2
Fix ColorPicker shape icon is invisible until shape is changed
2023-11-06 18:08:48 +01:00
Yuri Sizov
b7449a3d1a
Merge pull request #84419 from YuriSizov/core-remove-orphan-notification
...
Remove unused `NOTIFICATION_NODE_RECACHE_REQUESTED` notification
2023-11-06 13:23:21 +01:00
Yuri Sizov
dfcbc1d758
Merge pull request #84405 from KoBeWi/no_escaping_the_RESET
...
Fix RESET not effective when saving inactive scene
2023-11-06 13:23:18 +01:00
Yuri Sizov
e5f1cbfe2a
Merge pull request #84376 from YuriSizov/animation-unexpose-internal-property
...
Unexpose internal data property of `AnimationLibrary`
2023-11-06 13:23:15 +01:00
Yuri Sizov
623b905d2e
Remove unused NOTIFICATION_NODE_RECACHE_REQUESTED
notification
2023-11-06 12:16:32 +01:00
jsjtxietian
d920bdeda5
Fix visual shader's screen_uv input preview uses position of node
...
rather than a sample area like uv
2023-11-06 11:20:42 +08:00
Danni
734166f796
Ensure Camera2D scroll is updated on transform like 3.x
2023-11-05 18:01:34 -05:00
warriormaster12
de1dc6c8d4
Fix node property duplication
2023-11-04 10:45:38 +02:00
kobewi
8d71095622
Fix RESET not effective when saving inactive scene
2023-11-03 12:58:56 +01:00
Yuri Sizov
f1426a533d
Merge pull request #84390 from TokageItLab/patch-packed-array-anim
...
Add `PackedArray` to the list of enforcing `Discrete` for `AnimationMixer`
2023-11-03 12:52:31 +01:00
Silc Lizard (Tokage) Renew
a33884943f
Add PackedArray to the list of enforcing Discrete for AnimationMixer
2023-11-03 09:35:17 +09:00
Arseny Kapoulkine
2b8215a196
Fix dramatically overallocated normal weights
...
The weight is per-attribute scalar (X, Y, Z), not per-vertex; this was
the case even before the library update so this appears to be an
oversight.
2023-11-02 14:17:41 -07:00
Arseny Kapoulkine
c5f73a1783
Update thirdparty/meshoptimizer to v0.20
...
Note: this change completely overwrites the meshoptimizer library source
(from git SHA c21d3be6ddf627f8ca852ba4b6db9903b0557858)
without including any patches; a distance error metric patch is still
needed and will be reapplied in the next commit.
The changes elsewhere are due to a signature change for
meshopt_simplifyWithAttributes.
2023-11-02 14:10:39 -07:00
Yuri Sizov
e4ea16e37f
Merge pull request #84261 from KoBeWi/Schrödinger's_colliders
...
Fix rotated tile collision not working at runtime
2023-11-02 20:34:07 +01:00
Yuri Sizov
f2de1137d9
Unexpose internal data property of AnimationLibrary
2023-11-02 18:57:39 +01:00
Rémi Verschelde
c6c4728440
Merge pull request #84303 from bitsawer/fix_material_texture_updates
...
Fix several Material texture parameter updates
2023-11-01 22:33:23 +01:00
Aitor Guevara
6b45694836
Trigger zoom from pan gestures when pressing ctrl
...
Enables zooming using pan + ctrl on macOS trackpads / Magic Mouse.
Windows and Linux don't emit pan gesture events, so shouldn't be
affected. Not tested on Android.
2023-11-01 17:49:04 +01:00
Rémi Verschelde
3d0041ff97
Merge pull request #84287 from bruvzg/rtl_img_resize_and_dropcap_flow
...
[TextServer] Fix line breaks for dropcap and resizing embedded objects.
2023-11-01 15:11:20 +01:00
Rémi Verschelde
cfbccdbf44
Merge pull request #84183 from jsjtxietian/fix-activate_item_by_event-crash
...
Fix `activate_item_by_event` infinite recursion crash
2023-11-01 15:10:08 +01:00
jsjtxietian
137b25cf53
Fix activate_item_by_event
infinite recursion crash
2023-11-01 10:29:59 +08:00
Michael Alexsander
62ab9bf1c4
Fix NOTIFICATION_WM_SIZE_CHANGED
firing if the size hasn't changed
2023-10-31 22:58:12 -03:00
bitsawer
1ec97a7b91
Fix several Material texture parameter updates
2023-11-01 03:10:46 +02:00
bruvzg
9ad55dc32d
[TextServer] Fix line breaks for dropcap and resizing embedded objects.
2023-10-31 22:39:42 +02:00
David Crespo
0be873bed2
Add compability rename of (v)align properties of Label
2023-10-31 14:39:57 -05:00
kobewi
b63533bf3f
Fix rotated tile collision not working at runtime
2023-10-31 18:22:26 +01:00
bruvzg
75d22aa816
[RTL] Fix underline/strikethrough line color changes.
2023-10-31 09:34:43 +02:00
Rémi Verschelde
17a575625e
Merge pull request #84159 from clayjohn/uv-compression
...
Fix multiple issues with UV compression
2023-10-30 23:19:45 +01:00
Rémi Verschelde
bb997d787d
Merge pull request #84127 from quirkylemon/get-type-variations
...
Include empty type variations in `Theme::get_type_list`
2023-10-30 23:18:58 +01:00
clayjohn
3f5c16dd9e
Fix multiple issues with UV compression
2023-10-30 23:11:34 +01:00
QuirkyLemon
b3970336ce
Added variations to get_type_list()
2023-10-30 10:27:38 -05:00
Rémi Verschelde
ceaa8333f3
Merge pull request #84028 from QbieShay/qbe/fix-damp-fric
...
Fix friction being in the correct if/else branch
2023-10-30 16:26:40 +01:00
kit
a2674463fa
fix dock visibility issues
2023-10-30 10:52:07 -04:00
QbieShay
8f2a2ece80
Fix friction being in the correct if/else branch
...
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2023-10-30 15:00:02 +01:00
aXu-AP
16e0fcd04a
Show selected end of line in TextEdit
...
Continues selection box at the end of line if eol/carriage return is selected.
2023-10-30 12:49:30 +02:00
Rémi Verschelde
2f1f1206a9
Merge pull request #84180 from bruvzg/text_mesh_offset
...
[Text Mesh] Fix incorrectly cached glyph offsets.
2023-10-30 10:20:32 +01:00
Rémi Verschelde
5eb5a99379
Merge pull request #84165 from clayjohn/softbody-bug
...
Ensure SoftBody3D does not use compressed mesh format.
2023-10-30 10:19:43 +01:00
Rémi Verschelde
ad9297ee8c
Merge pull request #84097 from stoofin/plane-mesh-tangent
...
Fix PlaneMesh tangents for 'Face X' orientation
2023-10-30 10:18:57 +01:00
Rémi Verschelde
47101c0cb1
Merge pull request #84056 from QbieShay/qbe/fix-orbit-z
...
Fix wrong rotation matrix for orbit z velocity
2023-10-30 10:18:33 +01:00
Rémi Verschelde
e2c79bcb95
Merge pull request #82471 from SaracenOne/recache_bone_attachment
...
Reimport bone attachment fixes
2023-10-30 10:18:00 +01:00
bruvzg
2a06594ff2
[Text Mesh] Fix incorrectly cached glyph offsets.
2023-10-30 10:56:28 +02:00
clayjohn
1d9554103c
Ensure SoftBody3D does not use compressed mesh format.
2023-10-29 22:45:47 +01:00
Rémi Verschelde
9144457484
Merge pull request #84103 from QbieShay/qbe/fix-turbulence
...
Fix turbulence post rework
2023-10-28 21:40:15 +02:00
Rémi Verschelde
214405350f
Merge pull request #84113 from BlueCube3310/texture2d-dropdown-fix
...
Change dropdown type filter from Texture to Texture2D in certain nodes
2023-10-28 18:36:32 +02:00
Rémi Verschelde
e2645d8a52
Merge pull request #84109 from clayjohn/disable-disable_2d
...
Revert "Add a Disable 2D property to Viewport"
2023-10-28 18:36:09 +02:00
Rémi Verschelde
191195a303
Merge pull request #84060 from AThousandShips/get_set_fix
...
Fix invalid return from some more `_get/_set`
2023-10-28 18:34:58 +02:00
Rémi Verschelde
a379beeaa8
Merge pull request #84029 from QbieShay/qbe/fix-last-flag
...
Fix damp as friction not updating shader code
2023-10-28 18:34:34 +02:00
QbieShay
3b9cd04e1f
fixed turbulence post rework.
2023-10-28 18:31:01 +02:00
BlueCube3310
bd67e0a0bc
Change dropdown type filter to Texture2D in certain nodes
2023-10-28 17:39:47 +02:00
QbieShay
a764e42860
fixed wrong rotation matrix for orbit z velocity
2023-10-28 15:03:36 +02:00
Rémi Verschelde
17da2c5b53
Merge pull request #83963 from YeldhamDev/try_active_tabs_first
...
Fix disabled tabs being selected when removing the current one
2023-10-28 12:31:38 +02:00
Rémi Verschelde
51875ac998
Merge pull request #83678 from qycyfjy/master
...
Fixing visual shader crash when arranging
2023-10-28 12:30:51 +02:00
Andrés Botero
acae382010
Changed the way the rotation of a curve at a point is evaluated to match PathFollow2D
2023-10-28 01:23:38 -05:00
stoofin
6099d9f3d1
Fixed PlaneMesh tangents for 'Face X' orientation
2023-10-27 21:43:54 -07:00
Saracen
4b671eec0e
Reimport bone attachment fixes:
...
Assign bone_idx to GLTF importer to fix serialization.
Notifies Skeletons and BoneAttachments when reimporting.
Removes usage of NOTIFICATION_NODE_RECACHE_REQUESTED
2023-10-27 20:34:01 +01:00
A Thousand Ships
3ef6314980
Fix invalid return from some more _get/_set
...
Invalidly returned `true` on the non-matched path
2023-10-27 21:26:13 +02:00
Rémi Verschelde
e65459294c
Merge pull request #84054 from AThousandShips/mesh_fix
...
Fix invalid return from some `_get/_set`
2023-10-27 17:45:48 +02:00
A Thousand Ships
b04cf8486d
Fix invalid return from some _get/_set
...
Invalidly returned `true` on the non-matched path
2023-10-27 15:49:19 +02:00
clayjohn
f672198f5e
Revert "Add a Disable 2D property to Viewport"
...
This reverts commit f6cc2603a1
.
2023-10-27 14:45:59 +02:00
Rémi Verschelde
5664f09f78
Merge pull request #84047 from clayjohn/mesh-3x-upgrade-crash
...
Fix crash when upgrading meshes from 3.x format
2023-10-27 13:33:30 +02:00
clayjohn
1e3408c5b7
Fix crash when upgrading meshes from 3.x format
2023-10-27 12:21:00 +02:00
Rémi Verschelde
090f616998
Merge pull request #84006 from AThousandShips/particle_fix
...
[Particles] Fix invalid parameter ranges
2023-10-27 11:38:56 +02:00