Rémi Verschelde
3695dfb357
Merge pull request #75509 from KoBeWi/In_physics,_the_observer_effect_is_the_disturbance_of_an_observed_system_by_the_act_of_observation._A_common_example_is_checking_CanvasItem's_global_position,_which_causes_its_transform_to_be_re-calculated-
...
Fix invalid global position when read outside tree
2023-04-19 10:13:48 +02:00
bruvzg
520a8d8ed2
Add project manager / editor initial screen settings, implement DisplayServer.get_keyboard_focus_screen method.
2023-04-19 08:54:53 +03:00
Rémi Verschelde
b5b371cf7c
Merge pull request #70332 from aaronfranke/rigid-body-units
...
Improve some units in RigidBody nodes
2023-04-18 23:38:20 +02:00
kobewi
727a4ed79a
Fix invalid global position when read outside tree
2023-04-18 22:14:01 +02:00
Yuri Sizov
9e6b680cfb
Merge pull request #74814 from kleonc/tilemap-fix-rendering-odd-sized-tiles
...
`TileMap` Fix rendering odd-sized tiles
2023-04-18 16:27:44 +02:00
Yuri Sizov
8f113c6532
Merge pull request #72749 from aaronfranke/area-priority
...
Make Area physics priority consistently int and allow negative numbers
2023-04-18 14:21:06 +02:00
Aaron Franke
87bd8d2dcf
Make Area physics priority consistently int and allow negative numbers
2023-04-18 13:50:20 +02:00
Yuri Sizov
377d8845da
Merge pull request #75890 from YuriSizov/gui-remember-window-state
...
Always cache parent visibility in `CanvasItem`
2023-04-18 13:07:41 +02:00
Yuri Sizov
0aa2c32770
Merge pull request #76148 from smix8/navigation_debug_nontri_meshes_4.x
...
Fix NavigationMesh debug visuals for non-triangulated meshes
2023-04-18 13:07:24 +02:00
Yuri Sizov
3db40355a0
Merge pull request #76132 from davthedev/stylebox-flat-antialiasing-fix
...
Fix blurry borders on antialiased StyleBoxFlat
2023-04-17 22:20:04 +02:00
David Giardi
2ef20045b1
Fix blurry borders on antialiased FlatStyleBox
...
This is a fix of the antialiasing logic of FlatStyleBox.
It is now possible to have smooth rounded corners while keeping
the edges sharp on the pixels.
The antialiasing gradient positioning is ajusted so that the "hard"
border corresponds to the middle of that gradient instead of one end.
Checked against rendering of rounded rectangles in a vector graphics
software.
2023-04-17 20:23:03 +02:00
Yuri Sizov
de416c5cbd
Merge pull request #74623 from MewPurPur/edit-text-with-style
...
Code style improvements to text_edit and related
2023-04-17 19:08:08 +02:00
Chris Hutchinson
97712b3f50
Clamp minimum value of time_left to 0.0
2023-04-17 16:49:04 +02:00
Yuri Sizov
055ee1276f
Merge pull request #76029 from YuriSizov/control-we-are-not-the-same-you-and-i
...
Use Point2 consistently in Control methods
2023-04-17 14:30:26 +02:00
Yuri Sizov
b8b494a16c
Merge pull request #68397 from aaronfranke/get-child
...
Make `Node::get_children()` public
2023-04-17 14:28:37 +02:00
angel-721
e347d7d64d
Rename internal root canvas group to start with underscore
2023-04-16 17:42:21 -06:00
smix8
4490a3303b
Fix NavigationMesh debug visuals for non-triangulated meshes
...
Fixes NavigationMesh debug visuals for non-triangulated meshes.
2023-04-16 23:31:54 +02:00
Aaron Franke
a83ce0b104
Improve some units in RigidBody nodes
2023-04-15 22:03:24 -05:00
Aaron Franke
8eb9986dc5
Make `Node::get_children()` public
2023-04-15 21:59:25 -05:00
Yuri Sizov
bd3286eed2
Merge pull request #75999 from clayjohn/Particles-angle-rand
...
Use angle_rand to calculate base_angle in particles process material
2023-04-14 13:14:34 +02:00
clayjohn
821917ba9f
Use angle_rand to calculate base_angle in particles process material
2023-04-13 15:10:47 -07:00
Yuri Sizov
4fed87320c
Use Point2 consistently in Control methods
...
While Size2 and Point2 are just aliases,
which is why this doesn't fail compilation,
it's nice to have things consistent.
2023-04-13 15:26:50 +02:00
Rémi Verschelde
13f2a4c7ae
Merge pull request #75993 from AThousandShips/autohide_theme
...
Don't apply scale to autohide theme property
2023-04-13 09:55:30 +02:00
Rémi Verschelde
87b8eea9f6
Merge pull request #75904 from Calinou/colorpicker-constructor-round-values
...
Round values to 3 decimals in the ColorPicker constructor string
2023-04-13 09:54:18 +02:00
clayjohn
9be0a73294
Add EXPOSURE built in to spatial shaders
...
This allows users to restore light values to pre-pre-exposure amounts
2023-04-12 10:35:13 -07:00
Ninni Pipping
722597aa97
Don't apply scale to autohide theme property
2023-04-12 17:40:40 +02:00
Rémi Verschelde
d4dad2b2f8
Merge pull request #75957 from clayjohn/VS-default-modes
...
Write out render_mode even when mode is set to default in VisualShaders
2023-04-12 17:01:24 +02:00
Rémi Verschelde
486988f717
Merge pull request #70834 from pattlebass/spinbox-doesnt-spin
...
Fix `Range`-derived nodes not redrawing after `set_value_no_signal`
2023-04-12 17:01:11 +02:00
pattlebass
9500f8e69a
Fix Range-derived nodes not redrawing
...
When using set_value_no_signal(), Range-derived nodes wouldn't redraw.
Also added a dedicated method to SpinBox to update its text.
2023-04-12 14:53:12 +03:00
Rémi Verschelde
cd03028915
Merge pull request #75977 from timothyqiu/invisible-item
...
Tree: Fix offset calculation when there are hidden items
2023-04-12 13:28:16 +02:00
Rémi Verschelde
fb3e4e7967
Merge pull request #75975 from bruvzg/bidi_and_log_errors
...
Improve line BiDi handling, prevent crash on recursive log updates.
2023-04-12 13:28:12 +02:00
Rémi Verschelde
15316416ab
Merge pull request #75974 from bruvzg/ts_emb_caret
...
[TextServer] Use dedicated flag for object replacement characters.
2023-04-12 13:28:09 +02:00
kobewi
20261016a7
Fix typed array export
...
Co-authored-by: Guilherme Sousa <guilherme.sousa1994@gmail.com>
2023-04-12 12:19:17 +02:00
Haoyu Qiu
a083c85521
Tree: Fix offset calculation when there are hidden items
2023-04-12 17:49:52 +08:00
bruvzg
282e4231c2
Improve line BiDi handling, prevent crash on recursive log updates.
2023-04-12 11:39:05 +03:00
bruvzg
d904516e55
[TextServer] Use dedicated flag for object replacement characters.
2023-04-12 10:08:51 +03:00
clayjohn
016946b552
Write out render_mode even when mode is set to default in VisualShaders
2023-04-11 18:03:00 -07:00
Rémi Verschelde
cbf7412e38
Merge pull request #75905 from Calinou/colorpicker-allow-named-colors
...
Allow entering named colors in ColorPicker's hex field
2023-04-11 19:40:48 +02:00
Rémi Verschelde
fff0ee0fc4
Merge pull request #75822 from YeldhamDev/no_multi_zero
...
Remove unnecessary zero multiplications
2023-04-11 19:40:40 +02:00
Rémi Verschelde
5722d6e3cc
Merge pull request #75451 from bruvzg/web_mac_keys
...
[Web] Detect host OS and use macOS keys on mac hosts.
2023-04-11 19:40:16 +02:00
Rémi Verschelde
23a3e3984b
Merge pull request #74117 from Animtim/RichTextLabel_LocalizationFix
...
Add translation support to RichTextLabel
2023-04-11 19:40:07 +02:00
Rémi Verschelde
347a8e20ae
Merge pull request #69324 from RedMser/advanced-settings-errors
...
Make it easier to solve warnings/errors referring to project settings
2023-04-11 19:39:53 +02:00
Hugo Locurcio
4d8331ad1f
Round values to 3 decimals in the ColorPicker constructor string
...
This makes the whole string always fit within the LineEdit
(at least when using the default font).
2023-04-11 18:29:52 +02:00
Yuri Sizov
ca808c88a4
Merge pull request #71747 from Koyper/rich_text_label_dropcap_selection_bug
...
Fixed RichTextLabel wrong selection offset after drop cap
2023-04-11 18:25:39 +02:00
Koyper
99376eebe0
Fixed RichTextLabel wrong selection offset after drop cap.
2023-04-11 10:09:26 -05:00
Timothée Giet
e861ea5903
Add translation support to RichTextLabel
...
BUG: 34050
add translation support to RichTextLabel, and respect its Auto Translate setting
2023-04-11 14:17:59 +02:00
Yuri Sizov
6a65597569
Merge pull request #71742 from Koyper/rich_text_label_cell_padding_select_bug
...
Fixed RichTextLabel wrong selection offset in padded table cell.
2023-04-11 13:16:35 +02:00
Yuri Sizov
5e6c382a84
Merge pull request #71433 from marzecdawid/fix-TreeItem-button-rendered-under-selected
...
Fix TreeItem's button being rendered under "Selected" highlights
2023-04-11 13:15:09 +02:00
bruvzg
a5009f4d3c
[Web] Detect host OS and use macOS keys on mac hosts.
2023-04-11 10:58:54 +03:00
Hugo Locurcio
517dc3654a
Allow entering named colors in ColorPicker's hex field
...
This also makes the hex field wider to allow displaying 9-character
hex code (`#rrggbbaa`) in full, even when using a custom font.
2023-04-10 23:59:07 +02:00