aaronp64
6ecccd6085
Fix RichTextLabel table overlapping with next line
...
When calculating table height, RichTextLabel::_shape_line would increase the height when it reached the end of a complete row, or the final cell of the table. RichTextLabel::_resize_line would only increase the height at the end of a complete row, causing the height to ignore the final row if not all cells were populated. This would cause the final row to overlap with the following line in the RichTextLabel if it was the last visible line in the RichTextLabel, as _resize_line is called when updating scrolling properties.
This change moves the common table size calculations to a separate function to reuse the code between _shape_line and _resize_line, keeping the final cell check that was used in _shape_line.
Fixes #92603
2024-05-31 16:21:17 -04:00
Rémi Verschelde
705b7a0b0b
Merge pull request #92587 from RandomShaper/validate_tex_usage
...
RenderingDevice: Reject creation of textures with no usage
2024-05-31 14:16:55 +02:00
Rémi Verschelde
3e01ef56f9
Merge pull request #92577 from bruvzg/win_preview_resize
...
Update editor `Window` preview position when resizing window.
2024-05-31 14:16:52 +02:00
Rémi Verschelde
cf9af1e850
Merge pull request #92553 from adamscott/more-meaningful-errors
...
Make displayed Web errors more meaningful
2024-05-31 14:16:49 +02:00
Rémi Verschelde
8b044da396
Merge pull request #92474 from Rudolph-B/fix-collided-particles-jittering
...
Fix collided 3D GPU particles sometimes jittering
2024-05-31 14:16:46 +02:00
Rémi Verschelde
138f334316
Merge pull request #92444 from clayjohn/RD-srgb-uniform-buffer
...
Separate linear and sRGB uniform buffers in RD rendering backends
2024-05-31 14:16:43 +02:00
Rémi Verschelde
d30456fea8
Merge pull request #92415 from bruvzg/win_mod_keys
...
[Windows] Use current keyboard state instead of saved values for modifier keys.
2024-05-31 14:16:13 +02:00
Rémi Verschelde
07e6d0c702
Merge pull request #92138 from YeldhamDev/scrollcontainer_fixes
...
Fix scrollbar issues in `ScrollContainer`
2024-05-31 14:16:10 +02:00
Rémi Verschelde
9c87e8c7b4
Merge pull request #91953 from AThousandShips/use_normal_sname
...
Use `CoreStringNames::normal` in more places
2024-05-31 14:16:05 +02:00
Rémi Verschelde
b201c087ab
Merge pull request #91950 from AThousandShips/panel_sname
...
[Scene] Add `SceneStringNames::panel`
2024-05-31 14:16:02 +02:00
Rémi Verschelde
ea4db5c3e1
Merge pull request #91949 from AThousandShips/id_pressed_sname
...
[Scene] Add `SceneStringNames::id_pressed`
2024-05-31 14:15:58 +02:00
Rémi Verschelde
2e51be35e2
Merge pull request #91946 from Flynsarmy/tabby_tab_tabs
...
Fix code style for generated shader code from ParticleProcessMaterial
2024-05-31 14:15:55 +02:00
Rémi Verschelde
43d9f48c9f
Merge pull request #91791 from akien-mga/scons-process-platform-flags-early
...
SCons: Process platform-specific flags earlier
2024-05-31 14:15:52 +02:00
Rémi Verschelde
f2796fa06d
Merge pull request #91769 from DarioSamo/d3d12_enhanced_barriers
...
Add support for enhanced barriers in D3D12.
2024-05-31 14:15:49 +02:00
Flyn San
67b16f261f
Fix code style for generated shader code from ParticleProcessMaterial
...
The results now match what our clang-format config would do.
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2024-05-31 14:12:41 +02:00
Pedro J. Estébanez
3e5865660b
RenderingDevice: Reject creation of textures with no usage
2024-05-31 12:00:58 +02:00
bruvzg
5c433cf693
Update editor Window
preview position when resizing window.
2024-05-31 07:52:46 +03:00
Rémi Verschelde
a4f2ea91a1
Merge pull request #92571 from akien-mga/fbx2gltf-rename-path-setting-back
...
Rename FBX2glTF binary path setting back to 4.2 name
2024-05-31 00:01:36 +02:00
Rémi Verschelde
7728839247
Rename FBX2glTF binary path setting back to 4.2 name
...
This preserves compatibility when upgrading Godot 4.2 projects which relied on that
path being configured in the editor settings.
The old name also makes sense for this one, it's fine for fbx2gltf_path to be under
a generic fbx category which could have more settings also impacting ufbx.
2024-05-30 23:42:11 +02:00
A Thousand Ships
cade5b88d9
Use CoreStringNames::normal
in more places
2024-05-30 22:57:54 +02:00
A Thousand Ships
926afccbd8
[Scene] Add SceneStringNames::panel
2024-05-30 22:54:50 +02:00
A Thousand Ships
755a0efbb6
[Scene] Add SceneStringNames::id_pressed
2024-05-30 22:54:04 +02:00
Rémi Verschelde
6b38be699d
Merge pull request #92567 from akien-mga/thorvg-0.13.5
...
thorvg: Update to 0.13.5 + hotfix for GCC x86_32 build
2024-05-30 22:38:39 +02:00
Rémi Verschelde
ce82984b5c
Merge pull request #92544 from dalexeev/gds-fix-const-non-metatype-subscript
...
GDScript: Fix subscript resolution on constant non-metatype GDScript base
2024-05-30 22:38:36 +02:00
Rémi Verschelde
8adf9e4d97
Merge pull request #92302 from jsjtxietian/debug-shape-null
...
Fix null `debug_shape` being updated when `CollisionObject3D`'s transform changed
2024-05-30 22:38:33 +02:00
Rémi Verschelde
17c98a5b08
Merge pull request #92110 from mihe/physics-server-margin
...
Bind shape margin methods for `PhysicsServer3D`
2024-05-30 22:38:26 +02:00
Rémi Verschelde
505da68b26
Merge pull request #92565 from bruvzg/rtl_clear_flags
...
[RTL] Clear default justification flags if custom are set.
2024-05-30 22:13:59 +02:00
Rémi Verschelde
7ba29c0f6e
Merge pull request #92564 from Chaosus/shader_prevent_override_builtin_funcs
...
Prevent using built-ins for func names in shaders
2024-05-30 22:13:55 +02:00
Rémi Verschelde
cd53026b2c
Merge pull request #92558 from dalexeev/gds-adjust-inferred-declaration
...
GDScript: Do not produce `INFERRED_DECLARATION` on type import
2024-05-30 22:13:52 +02:00
Rémi Verschelde
517b674c91
Merge pull request #92557 from kitbdev/dont-scroll-too-high
...
Fix minimap error when moving to the top
2024-05-30 22:13:49 +02:00
Rémi Verschelde
34fe09dda7
Merge pull request #92386 from AThousandShips/goto_fix
...
[GDScript LSP] Fix `show_native_symbol_in_editor`
2024-05-30 22:13:46 +02:00
Rémi Verschelde
cd8bd0380d
Merge pull request #92336 from van800/DAP
...
[DAP] Add `--dap-port` as a command line argument
2024-05-30 22:13:42 +02:00
Rémi Verschelde
2518d169af
thorvg: Update to 0.13.5
...
Includes https://github.com/thorvg/thorvg/pull/2338 hotfix.
2024-05-30 22:07:51 +02:00
Ivan Shakhov
77b9e60303
[DAP] Add --dap-port as a command line argument, very similar to --lsp-port
2024-05-30 21:46:37 +02:00
Yuri Rubinsky
aecc4cbc47
Prevent using built-ins for func names in shaders
2024-05-30 21:33:21 +03:00
bruvzg
3a52e0f5fd
[RTL] Clear default justification flags if custom are set and fix typo in the flag name.
2024-05-30 21:23:26 +03:00
Adam Scott
2c3b871b3b
Make displayed Web errors more meaningful
2024-05-30 12:38:08 -04:00
Danil Alexeev
3fd30ed4ff
GDScript: Do not produce INFERRED_DECLARATION
on type import
2024-05-30 19:30:07 +03:00
kit
af6b96c486
Fix minimap error when moving to the top
2024-05-30 12:06:02 -04:00
Danil Alexeev
18d8838051
GDScript: Fix subscript resolution on constant non-metatype GDScript base
2024-05-30 17:37:05 +03:00
Rémi Verschelde
37cf266b57
SCons: Process platform-specific flags earlier
...
Some of the logic in SCons depends on flags that get overridden in the
platform-specific `detect.py`, so it needs to be processed first.
For example the Android/iOS/Web platforms override the default `target`
to `template_debug`, but this was processed too late so e.g. the logic
that sets `env.editor_build` would set it to true due to the default
`target` value in the environment being `editor`.
2024-05-30 16:01:43 +02:00
Rémi Verschelde
e7dd6f11ed
Merge pull request #92541 from patwork/fix-multichar-windows-utils
...
Fix multichar warning in `windows_utils.cpp`
2024-05-30 15:42:02 +02:00
Rémi Verschelde
ff242e2e94
Merge pull request #92539 from RandomShaper/no_crash_glsl_headless
...
Avoid crash when importing .glsl in headless
2024-05-30 15:41:59 +02:00
Rémi Verschelde
be2c5e66f4
Merge pull request #92201 from bruvzg/input_flush
...
Clean `Input::frame_parsed_events` before de-initialising scripting languages to ensure no script created events exist at the exit.
2024-05-30 15:41:56 +02:00
Rémi Verschelde
af249e84d9
Merge pull request #91944 from KoBeWi/even_though_StringName_contains_String_in_its_name,_it's_not_actually_a_String
...
Fix wrong usage of `parameters_base_path` StringName
2024-05-30 15:41:53 +02:00
Rémi Verschelde
d9609ff1b0
Merge pull request #90531 from Rindbee/fix-reload_instances_with_path_in_edited_scenes-in-EditorNode
...
Fix errors when re-importing 3D asset files
2024-05-30 15:41:50 +02:00
Rémi Verschelde
06009256ba
Merge pull request #86010 from KoBeWi/input,_event,_action!
...
Add `event_index` to InputEventAction
2024-05-30 15:41:39 +02:00
patwork
909f28a534
Fix multichar warning in windows_utils
2024-05-30 13:58:56 +02:00
Pedro J. Estébanez
c1d5a2c8c6
Avoid crash when importing .glsl in headless
2024-05-30 13:51:35 +02:00
kobewi
17d3f26e5d
Add event_index to InputEventAction
2024-05-30 12:51:15 +02:00