Nikolai Davydov
0517000e6f
Fix virtual calls for GDExtension in CollisionObject2D
for _mouse_enter, _mouse_exit, _mouse_shape_enter, _mouse_shape_exit
2024-01-07 05:30:26 +01:00
A Thousand Ships
904ecb1d36
[Core] Prevent copying of SelfList
and SelfList::List
...
Copying of these types is unsafe and should be detected
Also removed unnecessary constructors for `TileMap` `DebugQuadrant` and
`RenderingQuadrant` which used copying of `SelfList::List`
2024-01-07 00:48:23 +01:00
A Thousand Ships
c6a1ae7875
Fix some build errors with disable_3d=Yes
...
* Some tests were incorrectly included
* SCU builds with animation
* Animation `switch`
2024-01-07 00:44:33 +01:00
kit
f6a212837b
TabContainer bottom position
2024-01-06 15:31:08 -05:00
nklbdev
e72ccc2080
Fix lossless formats in PortableCompressedTexture2D (fix data format storing)
2024-01-06 22:56:25 +05:00
Micky
f996003fb4
Add autocompletion to get_node_or_null
2024-01-06 17:33:32 +01:00
Micky
e5c1da1c61
Add Autocompletion for AnimationNodeStateMachine & BlendTree
2024-01-06 17:03:46 +01:00
Zi Ye
97f9dbda81
Changed various editor transform operations to be committed in local instead of global space. Fixed a couple of bugs when syncing transforms to debug instance.
2024-01-05 17:07:20 -06:00
Muller-Castro
96a95cb974
Add const lvalue ref to container parameters
2024-01-05 14:49:57 -03:00
Sofox
58ae3c577c
Added compatibility for Blend Mode in Light2D/PointLight2D when converting from Godot 3 to 4
2024-01-05 15:39:47 +00:00
Rémi Verschelde
62616fb14f
Merge pull request #86799 from Mickeon/autocompletion-animationlibrary
...
Add autocompletion for AnimationLibrary & AnimationMixer's methods
2024-01-05 12:06:21 +01:00
Rémi Verschelde
1e676e4a0a
Merge pull request #85791 from groud/move_tilemap_layers_to_own_file
...
Move TileMapLayer to its own files
2024-01-05 12:04:18 +01:00
Rémi Verschelde
dc5b57ea44
Merge pull request #81325 from AttackButton/path_2d_editor_plugin-clear_points
...
Add a button to clear curve points in the Path2D editor
2024-01-05 12:02:41 +01:00
Rémi Verschelde
d1b7c60afc
Merge pull request #77712 from nklbdev/Fix_lossless_formats_in_PortableCompressedTexture2D
...
Fix lossless formats in PortableCompressedTexture2D
2024-01-05 12:02:14 +01:00
Rémi Verschelde
85e999dc5e
Merge pull request #64908 from marcinn/lightmap-gi-texel-scale
...
Add `texel_scale` property to LightmapGI
2024-01-05 12:01:49 +01:00
Gilles Roudière
6bc5b3f812
Move TileMapLayer to its own files
2024-01-05 11:58:21 +01:00
Micky
787f61d70b
Add autocompletion for AnimationLibrary's & AnimationMixer
2024-01-04 21:11:36 +01:00
nklbdev
47d991678d
Fix lossless formats in PortableCompressedTexture2D
...
Update scene/resources/portable_compressed_texture.cpp
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2024-01-05 00:11:01 +05:00
Rémi Verschelde
f4059d0e3c
Merge pull request #86576 from bikemurt/no-concave-warnings
...
Add warning for using concave shape on CharacterBody3D
2024-01-04 16:40:10 +01:00
Rémi Verschelde
5eb22a317d
Merge pull request #83577 from DennisManaa/fix-translation-for-item-list
...
Add automatic translation of items to ItemList
2024-01-04 16:39:36 +01:00
Rémi Verschelde
8c48e99c17
Merge pull request #82894 from Quimisagi/label-align-values-discarded
...
Add compatibility rename of `(v)align` properties of `Label`
2024-01-04 16:39:04 +01:00
Rémi Verschelde
b88eddb682
Merge pull request #78378 from 0xafbf/curve-evaluate-correct-transform
...
Changed the way the rotation of a curve at a point is evaluated to match PathFollow2D
2024-01-04 16:38:38 +01:00
Marcin Nowak
eea2ad4019
Add texel_scale property to LightmapGI
2024-01-04 16:24:19 +01:00
Michael Burt
6838fe3f44
Add warning for using concave shape on CharacterBody3D
...
Additionally updated descriptions for RigidBody3D and VehicleBody3D
2024-01-04 09:33:01 -05:00
Rémi Verschelde
4a14f9d968
Merge pull request #86754 from Mickeon/autocompletion-spriteframes-animation
...
Add autocompletion for SpriteFrames' methods
2024-01-04 14:26:37 +01:00
Rémi Verschelde
50a073cb0e
Merge pull request #86732 from TheSofox/line-edit-delete-fix
...
Make `LineEdit` scrolling show as much text as possible
2024-01-04 14:26:30 +01:00
Rémi Verschelde
6c390b620d
Merge pull request #84445 from Rubonnek/add-const-references-clang-tidy
...
Add const references detected by clang-tidy
2024-01-04 14:25:33 +01:00
Rémi Verschelde
5d306202b8
Merge pull request #84348 from jsjtxietian/screen-uv-in-visual-shader-preview-should-uv
...
Fix visual shader's `screen_uv` input preview uses position of node rather than a sample area like uv
2024-01-04 14:25:21 +01:00
Rémi Verschelde
eb830b3484
Merge pull request #72341 from aXu-AP/text_edit_carriage_return_selection
...
Show selected end of line in TextEdit
2024-01-04 14:24:30 +01:00
Sofox
8661667dde
Make LineEdit scrolling show as much text as possible
2024-01-04 04:13:35 +00:00
Micky
c2f9a227f7
Add autocompletion for SpriteFrames' methods
2024-01-03 19:25:28 +01:00
Rémi Verschelde
fbaab3cf53
Merge pull request #86745 from KoBeWi/internal_error
...
Ignore internal children when replacing node
2024-01-03 15:48:41 +01:00
Rémi Verschelde
5042f543ab
Merge pull request #86460 from reach-satori/double_textchanged_emit
...
Fix double `text_changed` signal when overwriting selection in LineEdit
2024-01-03 15:47:03 +01:00
Rémi Verschelde
73c5deff76
Merge pull request #82916 from jsjtxietian/update-scene-tree-tooltip-after-editor-description-chnage
...
Support updating tooltip immediately after editor description change
2024-01-03 15:41:31 +01:00
Rémi Verschelde
0c36bd791d
Merge pull request #82900 from bruvzg/macos_menu_global_shortcuts
...
[PopupMenu] Handle shortcuts with "global" flag directly.
2024-01-03 15:41:04 +01:00
kobewi
cd2edfef25
Ignore internal children when replacing node
2024-01-03 13:04:16 +01:00
Rémi Verschelde
d822fd5322
Merge pull request #86733 from Mickeon/autocompletion-more-animated-sprite
...
Add autocompletion options for AnimatedSprite's other play methods
2024-01-03 10:15:01 +01:00
Rémi Verschelde
4acfe4aa3c
Merge pull request #86729 from Mickeon/autocompletion-for-all
...
Fix missing autocompletion for inheriting classes
2024-01-03 10:14:37 +01:00
Rémi Verschelde
0d922f61e3
Merge pull request #86220 from Sauermann/fix-embed-subwindow
...
Fix changing `gui_embed_subwindows` while a child window is displayed
2024-01-03 10:13:03 +01:00
Markus Sauermann
62587d2d19
Fix changing gui_embed_subwindows
while a child window is displayed
...
Changing `gui_embed_subwindows` while a child window is displayed can lead
to crashes or other unintended behavior.
This PR adds checks to prevent the change while child windows are
displayed.
2024-01-03 10:09:51 +01:00
Rémi Verschelde
03b1934b63
Merge pull request #86350 from Eoin-ONeill-Yokai/text_resource_parse_error_reporting
...
Improve error message in text resource format parser
2024-01-03 10:00:43 +01:00
Rémi Verschelde
2d6d726a51
Merge pull request #86227 from TokageItLab/fix-discrete-key-retrieval-after-start
...
Fix discrete key retrieval method after start
2024-01-03 09:59:55 +01:00
Rémi Verschelde
a6dc1b3907
Merge pull request #84527 from Calinou/colorpicker-display-revert-icon
...
Display a revert icon on ColorPicker's old sample
2024-01-03 09:59:06 +01:00
Micky
d5a7c7818c
Add autocompletion options for AnimatedSprite's other play methods
2024-01-03 01:33:08 +01:00
Micky
ca2f340384
Fix missing autocompletion for inheriting classes
2024-01-03 00:13:04 +01:00
Eoin O'Neill
2283e072b5
Improve error message in text resource format parser
...
This improves the error message in our text resource parsing code to
help the user potentially fix parsing issues in case of failure. It also
helps with the debugging process of finding out which sub_resource is
causing the parser to fail with line messages.
2024-01-02 14:59:32 -08:00
Silc Lizard (Tokage) Renew
b438e28509
Fix discrete key retrieval method after start
2024-01-03 02:29:00 +09:00
Rémi Verschelde
2f8005cd14
Merge pull request #86601 from TokageItLab/add-cubic-interpolation-variant
...
Add `cubic_interpolate_in_time_variant()` to Animation
2024-01-02 18:05:55 +01:00
Rémi Verschelde
60b20963ce
Merge pull request #86511 from Sauermann/fix-drag-transform
...
Fix D&D viewport position calculation
2024-01-02 18:05:23 +01:00
Rémi Verschelde
4566e96839
Merge pull request #82897 from bruvzg/mac_menu_phy_lbl
...
[PopupMenu] Handle `physical_keycode` and `key_label` of shortcuts.
2024-01-02 18:05:08 +01:00
Rémi Verschelde
957378a69e
Merge pull request #84151 from YeldhamDev/that_was_not_a_resize_you_dunce
...
Fix `NOTIFICATION_WM_SIZE_CHANGED` firing if the size hasn't changed
2024-01-02 15:08:46 +01:00
EddieBreeg
8747c67d9e
Fix potential integer underflow in rounded up divisions
...
A new `Math::division_round_up()` function was added, allowing for easy
and correct computation of integer divisions when the result needs to
be rounded up.
Fixes #80358 .
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2024-01-02 14:14:47 +01:00
bruvzg
15cdc52658
[PopupMenu] Handle physical_keycode and key_label of shortcuts.
2023-12-30 13:17:46 +02:00
Silc Lizard (Tokage) Renew
e538ce3851
Add cubic_interpolate_in_time_variant() to Animation
2023-12-30 13:30:14 +09:00
kleonc
41e4f3c215
Fix Polygon2D to Skeleton2D transform calculation
2023-12-27 18:46:59 +01:00
Markus Sauermann
4b6516c843
Fix D&D viewport position calculation
...
It is necessary to transform screen position to viewport position.
2023-12-25 23:32:29 +01:00
Mateus Reis
cab48493d8
Fix double text_changed signal when overwriting selection in LineEdit
...
The part of gui_input that handles unicode wasn't checking
text_changed_dirty before emitting the signal, unlike the rest of the text editing functions.
Fixes #86451
2023-12-24 14:23:01 +02:00
kobewi
cb0a37f61a
Only update particle velocity when it changes
2023-12-23 18:04:24 +01:00
Haoyu Qiu
58db3e5d7b
Emit slider's drag_started signal before the first value change
2023-12-21 11:23:35 +08:00
Yuri Sizov
b8635157eb
Merge pull request #86218 from TheSofox/arrow-key-scene-tree-nav
...
Fix `Node` selection when navigating `Tree` with Arrow keys
2023-12-20 15:07:59 +01:00
Yuri Sizov
f77da033f2
Merge pull request #86169 from Repiteo/gdvirtual-call-refactoring
...
Replace `GDVIRTUAL_CALL` with `GDVIRTUAL_REQUIRED_CALL` where applicable
2023-12-20 15:07:55 +01:00
Yuri Sizov
02bc2a37dd
Merge pull request #86118 from TheSofox/complex-undo-select-fix
...
Fix so undoing complex operations in `TextEdit` will restore selections
2023-12-20 15:07:52 +01:00
Yuri Sizov
40e7192393
Merge pull request #85191 from HolonProduction/off-by-one-code-edit
...
Fix updating delimiter cache of `CodeEdit` when typing on the first line
2023-12-20 15:07:44 +01:00
Yuri Sizov
3a44484ab8
Merge pull request #83623 from rarysson/label-progressbar-allow-greater
...
Make ProgressBar reflect the real value in the percent label when "allow greater" is checked
2023-12-20 15:07:30 +01:00
Yuri Sizov
bc6be82f5a
Merge pull request #81260 from KoBeWi/min_maxing_particle_editing
...
Improve editing of min/max particle properties
2023-12-20 15:07:25 +01:00
Yuri Sizov
6296333bad
Merge pull request #60965 from DarkMessiah/global-groups-implementation
...
Implement project-wide node groups
2023-12-20 15:07:20 +01:00
风青山
f19c419126
Fix duplicating sub-scene may get two copies of internal node
...
Previously, internal node might be mistaken for `hidden_root` and be duplicated again.
Exclude those internal nodes to avoid this case, unless the owner is set intentionally.
2023-12-20 18:29:25 +08:00
kobewi
ce9fec9b4d
Improve editing of min/max particle properties
2023-12-20 06:31:08 +01:00
Sofox
4b82cacc21
Fix so undoing complex operations in TextEdit will restore selections.
2023-12-20 00:12:52 +00:00
Yuri Sizov
26834d298d
Merge pull request #85652 from rsubtil/bugfix-can_grab_focus
...
Ensure slider grabs focus only when it can
2023-12-19 20:33:05 +01:00
Yuri Sizov
252c462a9d
Merge pull request #85594 from addmix/camera3d-current-bug
...
Prevent `Camera3D.current` from being set to `true` automatically in the editor.
2023-12-19 20:33:00 +01:00
Yuri Sizov
7182c47309
Merge pull request #85436 from chocola-mint/fix-#85401
...
Make it possible to show code hint and code completion at the same time
2023-12-19 20:32:50 +01:00
Yuri Sizov
dee2604d99
Merge pull request #84729 from nickyfoo/add-navigationserver-getters
...
Add missing getters to navigation servers
2023-12-19 20:32:46 +01:00
Yuri Sizov
179b8c7973
Merge pull request #84185 from bruvzg/lbl_char_rects
...
[Label] Add get_character_bounds method to get bounding rectangles of the characters.
2023-12-19 20:32:39 +01:00
Yuri Sizov
b9dff50282
Merge pull request #83785 from Geometror/graphedit-dotted-grid
...
Add dotted grid to GraphEdit
2023-12-19 20:32:35 +01:00
Nicholas Foo
e7ee672120
Add getters to navigation servers
...
Add virtual functions and bind to navigation servers
Implement getters
Add documentation
2023-12-19 19:51:49 +01:00
CHM
3744ef50e4
Make it possible to show code hint and code completion at the same time
...
Make code completion position more consistent
Add whitespace before if
2023-12-19 19:34:34 +01:00
Stanislav Labzyuk
958699a0c4
Implement project-wide node groups
2023-12-19 18:07:19 +01:00
Yuri Sizov
547374b07a
Merge pull request #85473 from miv391/fix-horizontal-mouse-wheeling-in-2d-view
...
Fix horizontal scroll in editor's 2D view
2023-12-19 13:02:04 +01:00
Yuri Sizov
13dd72ce78
Merge pull request #85219 from dsnopek/light-bake-mode-no-gi-method
...
Remove GI methods in parentheses from light baking options
2023-12-19 13:01:40 +01:00
Yuri Sizov
02d4579fa2
Merge pull request #85000 from bruvzg/ed_ui_direction
...
[Editor] Add option to override editor UI layout direction.
2023-12-19 13:01:35 +01:00
Yuri Sizov
1ecba5d341
Merge pull request #84940 from Calinou/editor-textureprogressbar-inspector-hide-properties
...
Hide ineffective TextureProgressBar properties in the editor
2023-12-19 13:01:30 +01:00
Yuri Sizov
7aae85edfd
Merge pull request #84845 from DarkMessiah/tree-disabled-checkbox
...
Implement disabled state for Checkbox in Tree
2023-12-19 13:01:25 +01:00
Yuri Sizov
5d9dce43bb
Merge pull request #84575 from rsburke4/fix-cpu-tangent-force
...
Fix `CPUParticles2D` tangential force does not match `GPUParticles2D`
2023-12-19 13:01:05 +01:00
Yuri Sizov
8a9aa30348
Merge pull request #81243 from Sauermann/fix-window-events
...
Fix internal events not being delivered to some Window types
2023-12-19 13:01:00 +01:00
bruvzg
e9c219cff2
[Label] Add get_character_bounds method to get bounding rectangles of the characters.
2023-12-19 13:53:21 +02:00
bruvzg
a759d97a51
[MenuBar] Store and use global menu item indices.
2023-12-19 09:57:48 +02:00
Yuri Sizov
a4d789370f
Merge pull request #85966 from Kimau/claire/expose_mouseover
...
Expose a method to get hovered Control in Viewport
2023-12-18 18:17:57 +01:00
Yuri Sizov
1125235c95
Merge pull request #85749 from bs-mwoerner/color_picker_quantize_fix
...
Fix unnecessarily quantizing current color in color picker
2023-12-18 18:17:53 +01:00
Yuri Sizov
4600acfc41
Merge pull request #85311 from miv391/add-change-guards-to-sprite2d
...
Add property change guards to Sprite2D, Sprite3D and AnimatedSprite2D
2023-12-18 18:17:49 +01:00
Yuri Sizov
644e236e5c
Merge pull request #83987 from bruvzg/macos_window_and_help
...
[macOS] Add default Window and Help menus, allow special menu customization.
2023-12-18 18:17:41 +01:00
A Thousand Ships
0081a50e32
Prevent mapping areas with invalid IDs for Area2D/3D
...
This occurs when areas are created directly from the servers, and no
instance is linked.
2023-12-18 16:02:46 +01:00
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
rsburke4
f191330968
Node3D children using top_level in different position in-editor vs. runtime
2023-11-09 05:10:35 -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