Fredia Huya-Kouadio
2c7633dce5
Fix the issue preventing dragging in the 2D and visual shader editor
2023-03-19 12:36:36 -07:00
Nong Van Tinh
bb3d0fc6b7
Fixes gutter set width results in receiving only half of the desired size
2023-03-20 00:14:16 +07:00
Adam Scott
fd1dfdb960
Set VehiculeWheel3D `suspension_travel` default value to a resonable one
2023-03-18 16:33:33 -04:00
Mikael Hermansson
ec6694ce3c
Open up bounds of `Shape3D.margin` to support other physics engines
2023-03-18 20:52:13 +01:00
bruvzg
4793b6eee9
[RTL] Add option to customize list bullet, use U+2022 by default.
2023-03-17 09:34:28 +02:00
Yuri Sizov
98d95f3a0e
Merge pull request #74149 from bruvzg/get_char
...
[Font] Implement `get_char_from_glyph_index` function.
2023-03-16 13:07:11 +01:00
Yuri Sizov
21753b06a1
Merge pull request #74092 from KoBeWi/zero_reason_to_change
...
Add early return for changing TileMap properties
2023-03-16 13:04:31 +01:00
Yuri Sizov
a2a524df71
Prevent crash in ItemList when checking for visible items
...
Also some light code refactoring to make the drawing logic more manageable.
We also store each item's column for more reliable checks.
2023-03-16 12:25:11 +01:00
Yuri Sizov
bdefdc866b
Merge pull request #74910 from paddy-exe/fix-ndc-depth-gles3
...
Fix ndc calculation for LinearSceneDepth VS node in GLES3
2023-03-16 12:01:07 +01:00
Yuri Sizov
44cc6e5c86
Merge pull request #74976 from smix8/navagent_fix_debug_path_duplicates_4.x
...
Fix NavigationAgent3D debug path duplicated points
2023-03-16 11:45:10 +01:00
Yuri Sizov
7d2080f81a
Merge pull request #74800 from smix8/navagent2d_thin_line_4.x
...
Allow negative NavigationAgent2D path debug line_width for thin lines
2023-03-16 11:44:34 +01:00
Yuri Sizov
a1c2f03055
Merge pull request #74898 from Spartan322/patch-1
...
Remove methods in header removed in c7eb814
2023-03-16 11:43:54 +01:00
smix8
0b8798a995
Fix NavigationAgent3D debug path duplicated points
...
Fixes duplicated points in NavigationAgent3D debug path.
2023-03-16 09:19:04 +01:00
smix8
f6a10c0565
Allow negative NavigationAgent2D path debug line_width for thin lines
...
Allows the line_width for NavigationAgent2D path debug to go negativ for thin line rendering.
2023-03-16 09:04:53 +01:00
George L. Albany
f3313ba4cd
Remove methods in header removed in c7eb814
...
c7eb814
missed these methods in the RichTextLabel's header
Remove set_override_selected_font_color from rich_text_label.h
Remove is_override_selected_font_color from rich_text_label.h
c7eb814
missed these methods in the TextEdit's header
Remove set_override_selected_font_color from text_edit.h
Remove is_override_selected_font_color from text_edit.h
2023-03-15 21:13:38 -04:00
Andrej Eškinja
6ccef8b831
Fix for deselecting item when select_mode == SELECT_ROW
2023-03-15 15:46:53 +01:00
Yuri Sizov
1514b9be68
Merge pull request #74667 from YuriSizov/core-too-many-orphans
...
Prevent infinite loops when printing orphan nodes
2023-03-15 14:59:42 +01:00
Rindbee
69f488e687
Property list changes are only notified when it did change in Curve
...
`Object::notify_property_list_changed()` should only be called when
the structure of the property has actually changed.
The structure of the property tree has not changed if the size of the
array has not changed, and the only possibility is that the element
value has changed.
2023-03-15 09:51:15 +08:00
Patrick
e3802d5b6f
Fix ndc calculation for LinearSceneDepth VS node in GLES3
2023-03-14 15:05:01 +01:00
kleonc
c49a7feae3
TileMap Fix rendering odd-sized tiles
2023-03-12 16:20:38 +01:00
Rémi Verschelde
b31d00a914
Merge pull request #74740 from clayjohn/sky-filter
...
Use linear filtering without mipmaps for ProceduralSkyMaterial and PhysicalSkyMaterial
2023-03-10 22:49:29 +01:00
clayjohn
572ac91514
Use linear filtering without mipmaps for ProceduralSkyMaterial and PhysicalSkyMaterial
2023-03-10 10:48:45 -08:00
justchen1369
dbfecdb3b0
Fix exported type for Menubar start_index
2023-03-10 11:42:09 -05:00
RedworkDE
f540148072
Add dedicated setter for `ImageTextureLayered::_images` to fix `create_from_images` being hidden from the C# bindings
2023-03-09 17:53:36 +01:00
Yuri Sizov
81e2b020ba
Prevent infinite loops when printing orphan nodes
2023-03-09 16:47:38 +01:00
Yuri Sizov
ff98395556
Prevent passing events from CodeEdit to TextEdit when code completion is active
2023-03-09 15:54:08 +01:00
Rémi Verschelde
677cba3d58
Merge pull request #67910 from pkowal1982/scroll_bar
...
Fix scrolling behaviour with zero/low page value
2023-03-08 14:06:30 +01:00
Yuri Sizov
dac2d8fb42
Merge pull request #68325 from pfertyk/issue-68242-rich-text-label-crash
...
Fix RichTextLabel crash with out of bound exception
2023-03-08 11:32:47 +01:00
Rémi Verschelde
449e658583
Merge pull request #74555 from RedworkDE/cpuparticles3d-update-buffer-overrun
...
Fix buffer overrun in `CPUParticles3D` in `precision=double` builds
2023-03-08 08:58:11 +01:00
Rémi Verschelde
bf6b6b18f3
Merge pull request #74551 from YuriSizov/theme-abyss-looks-back-at-you
...
Generate empty textures for theme icons if the SVG module is disabled
2023-03-08 08:57:47 +01:00
Rémi Verschelde
02a35522f0
Merge pull request #74347 from JohanAR/master
...
Fixed incorrect ERROR message when setting new PrimitiveMesh
2023-03-08 08:55:24 +01:00
RedworkDE
89980dd9c9
Fix buffer overrun in CPUParticles3D
2023-03-07 15:46:51 +01:00
Yuri Sizov
64215ad119
Generate empty textures for theme icons if the SVG module is disabled
2023-03-07 15:31:19 +01:00
Rémi Verschelde
0ef3d1bf56
Merge pull request #73188 from Sauermann/fix-inconsistent-viewport-size
...
Fix some ways to create inconsistent Viewport size states
2023-03-07 12:04:00 +01:00
Rémi Verschelde
0f25dc2661
Merge pull request #74521 from clayjohn/ImageTexture3D-properties
...
Set properties of ImageTexture3D when creating
2023-03-07 08:40:54 +01:00
clayjohn
e9d80a821d
Set properties of ImageTexture3D when creating
2023-03-06 14:57:17 -08:00
Arman Elgudzhyan
688d00b706
Don't autocomplete numbers in GDScript
...
Cancel code autocompletion when a numerical value is entered. Avoids interference when setting numbers.
2023-03-06 14:20:24 -08:00
bruvzg
25bc62ad13
[TextEdit] Do not draw virtual spaces (word break / justification points).
2023-03-06 15:01:43 +02:00
Rémi Verschelde
0b98b470cc
Merge pull request #73716 from bruvzg/improve_locale_selection
...
Improve layout direction/locale automatic selection.
2023-03-06 10:57:56 +01:00
Rémi Verschelde
45738d078a
Merge pull request #74472 from bruvzg/ime_single_pos
...
Fix IME position in the single window mode sub-windows.
2023-03-06 10:57:25 +01:00
Rémi Verschelde
6941ffaef3
Merge pull request #74293 from akien-mga/fbx-dialog-disable-importer
...
FBX: Disable importer when canceling FBX2glTF setup
2023-03-06 10:55:21 +01:00
bruvzg
3ca3ee36ab
Fix IME position in the single window mode sub-windows.
2023-03-06 10:08:55 +02:00
Rémi Verschelde
a01e8be417
Merge pull request #74282 from timothyqiu/news-anchor
...
Notify child controls when `BackBufferCopy`'s rect changed
2023-03-05 13:26:45 +01:00
Rémi Verschelde
b7c02007fb
Merge pull request #74251 from MarcusElg/positiongroup
...
Fix Camera2D position smoothing properties not being grouped
2023-03-05 13:25:33 +01:00
Johan Aires Rastén
007b488a5c
Fixed incorrect ERROR message when setting new PrimitiveMesh
...
If calling set_mesh with a PrimitiveMesh that has pending update, the
_mesh_changed function would be called twice. The first time before
set_base had been called, which could lead to an ERROR message about
trying to set an invalid surface override material.
2023-03-04 10:48:47 +01:00
Marcus Elg
a835dfd96d
Fix Camera2D position smoothing properties not being grouped
2023-03-03 19:28:39 +01:00
Rémi Verschelde
d81e6ee024
FBX: Disable importer when canceling FBX2glTF setup
...
Pretty hacky solution but it's better than an infinite loop.
All this import setup needs to be redone, it's very difficult to properly
bail out from an invalid import without triggering reimport loops.
Also fix underline not visible at default editor scale in LinkButton.
Fixes #73319 .
2023-03-03 13:53:03 +01:00
Rémi Verschelde
a2d449f22e
Merge pull request #74212 from bruvzg/bmp_def_out
...
[Bitmap font] Assume outline size is `1` if it's not set, but channel for outline is defined.
2023-03-03 11:07:28 +01:00
Rémi Verschelde
dbd76cd1f6
Merge pull request #74112 from KoBeWi/from_mismatch_to_match
...
Check for type mismatch in `PropertyTweener.from()`
2023-03-03 11:04:57 +01:00
Rémi Verschelde
a2ecbb7c37
Merge pull request #73749 from fabriceci/expose-apply-floor-snap
...
Exposes the apply_floor_snap function to allow manual snap
2023-03-03 11:03:42 +01:00
Haoyu Qiu
602a0d2fbc
Notify child controls when BackBufferCopy's rect changed
2023-03-03 17:57:58 +08:00
Rémi Verschelde
0885e4b931
Merge pull request #73365 from bruvzg/no_transient_children
...
Automatically reparent editor message dialogs to avoid error spam.
2023-03-02 11:41:17 +01:00
Rémi Verschelde
f339f8e3d2
Merge pull request #73713 from SirQuartz/graph-node-close-button
...
Fix Graph Node close rect default position
2023-03-02 11:26:28 +01:00
bruvzg
67762ec4a6
[Bitmap font] Assume outline size is `1` if it's not set, but channel for outline is defined.
2023-03-02 08:36:17 +02:00
bruvzg
8459aeaab0
[Font] Implement `get_char_from_glyph_index` function.
2023-03-01 09:29:11 +02:00
Paweł Fertyk
44592c8c19
Fix RichTextLabel crash with out of bound exception
...
Fixes #68242 .
2023-02-28 22:49:57 +01:00
kobewi
45f4d59fa4
Check for type mismatch in PropertyTweener.from()
2023-02-28 17:16:56 +01:00
kobewi
ba7eb4bd89
Add early return for changing TileMap properties
2023-02-28 01:05:39 +01:00
Fabio Alessandrelli
f9bcaccc11
[MP] Fix orphan StringName on close.
...
Use a static StringName for the registered default interface name.
2023-02-27 09:45:16 +01:00
bruvzg
315164c619
[TextEdit / IME] Check selection before deleting to avoid unnecessary error messages.
2023-02-27 08:58:28 +02:00
clayjohn
c69b14e96e
Add warnings for unsupported features in mobile and gl_compatibility backends
2023-02-26 12:28:02 -08:00
bruvzg
cebfc02d6f
Revert "Reordering emitted signals in PopupMenu" and fix editor selection issue in the safer way.
2023-02-24 21:17:05 +02:00
Rémi Verschelde
e849f07335
Merge pull request #73847 from smix8/fix_shapecast3d_exception_functions_4.x
...
Fix ShapeCast3D add and remove exception functions
2023-02-24 13:30:36 +01:00
kobewi
cf50eb130e
Fix custom viewports in Camera2D
2023-02-24 13:26:31 +01:00
smix8
5d1a6e9b12
Fix ShapeCast3D add and remove exception functions
...
Fixes that ShapeCast3D would accept any parameter object and silently return when it was not a CollisionObject3D.
2023-02-23 23:45:16 +01:00
Rémi Verschelde
13382a88df
Merge pull request #73814 from lyuma/importer_mesh_convex
...
import: Fix uv2 by avoiding premature ImporterMesh::get_mesh()
2023-02-23 13:55:43 +01:00
Lyuma
51a4fe1d53
import: Fix uv2 by avoiding premature ImporterMesh::get_mesh()
...
Implements create_convex_shape in ImpoterMesh.
Note: ImporterMeshInstance3D::get_mesh() is safe.
The only dangerous function with side effects is ImpoterMesh::get_mesh()
2023-02-23 11:55:28 +01:00
Rémi Verschelde
76d4d09bfa
Revert Label text reshaping fix #71553 and subsequent regression fixes
...
Despite a lot of great work from Pedro to try to improve the Label text
reshaping logic and fix subsequent regressions, we found ourselves still
chasing more edge cases, such as #73736 (which got reverted already due
to it causing yet another regression).
In parallel, it seems like the crash scenario that #71553 was addressing
got solved differently in the master branch, so it appears like this
change is no longer necessary at all (at least not urgently), so we
decided to revert to the previous known "ok" state of Label.
- Revert #71553 "Prevent infinite cascade of re-layout after label text reshaping"
This reverts commit ed8c5cd52f
.
- Revert #72387 "Enhance label sizing algorithm"
This reverts commit 5131b81a4d
.
- Revert #73234 "Fix blank non-autowrapping labels"
This reverts commit 3ccabee9ae
.
- Revert #73343 "Make label sizing algorithm more robust"
This reverts commit 4f7f1ef60b
.
- Revert #73426 "Fix width determination of non-trimmed, non-wrapped labels"
This reverts commit 73b6c0b972
.
2023-02-23 10:36:42 +01:00
Michael Alexsander
c567a853db
Fix `GraphNode` resizing when its bottom border is too thin
2023-02-23 01:42:06 -03:00
Rémi Verschelde
d66f6b3b04
Revert "Fix visible_lines calculation"
...
This reverts commit ceee405cec
.
This caused regressions, see #73736 and #73780 .
Fixes #73780 .
2023-02-22 22:44:55 +01:00
Nicholas Huelin
961d6763fb
Modify the default theme GraphNode close_h_offset
...
Modifies the close_h_offset to be 12 instead of 22. This better aligns the default position.
2023-02-22 14:51:15 -05:00
Rémi Verschelde
d8014e9fab
Merge pull request #73736 from helviett/fix_visible_lines_calculation
...
Fix visible_lines calculation
2023-02-22 14:50:06 +01:00
fabriceci
1381e6da4f
Exposes the apply_floor_snap function to allow a snap to be made regardless of velocity.
2023-02-22 14:08:32 +01:00
helviett
ceee405cec
Fix visible_lines calculation
2023-02-22 14:17:52 +04:00
Rémi Verschelde
be336cea1e
Merge pull request #73587 from YuriSizov/rtl-the-underliner
...
Ensure minimal thickness for `RichTextLabel` underlines
2023-02-22 10:14:32 +01:00
Rémi Verschelde
0a15f51617
Merge pull request #73741 from dalexeev/fix-sprite-frames-convert
...
Fix `SpriteFrames` data loss on 3-to-4 conversion
2023-02-22 10:13:57 +01:00
Danil Alexeev
d49ac0466f
Fix `SpriteFrames` data loss on 3-to-4 conversion
2023-02-22 11:17:10 +03:00
bruvzg
82d7923c65
Improve layout direction/locale automatic selection.
2023-02-22 08:37:14 +02:00
kobewi
a899f547ae
Fix reset_state() in TileSet
2023-02-21 22:38:20 +01:00
bruvzg
921f3b7589
Automatically reparent editor message dialogs to avoid error spam.
2023-02-21 12:32:11 +02:00
kobewi
55b50703d7
Prevent off-screen controls in editor
2023-02-20 20:25:39 +01:00
PrecisionRender
e713c270ea
Fix crash when reparenting SoftBody3D with pinned points
2023-02-20 12:12:58 +01:00
Rémi Verschelde
69b99730e0
Merge pull request #73597 from MewPurPur/add-missing-queue-redraw--oh-wait-that-barely-narrows-it-down
...
Fix Indent/Unindent without a selection not causing a redraw
2023-02-20 11:28:18 +01:00
VolTer
9de731a9ec
Fix Indent/Unindent without a selection not causing a redraw
2023-02-19 21:08:04 +01:00
Yuri Sizov
80806cb935
Merge pull request #73585 from YuriSizov/particles-remove-damping-limit
...
Remove visual limit for damping in CPUParticles
2023-02-19 18:34:09 +03:00
Yuri Sizov
28b7556914
Ensure minimal thickness for RichTextLabel underlines
2023-02-19 13:42:25 +01:00
Paulb23
60161cbe7d
Fix ctrl+backspace crash with multicarets on the same line
2023-02-19 12:04:14 +00:00
Albin
82b90c0e08
Remove visual limit for damping in CPUParticles
...
Issue #56324 notes that you may can't set the damping property of
CPUParticles2D to anything more that 100 in the editor inspector
while you may set it to anything in code, this is considered a bug and
changed in this commit
2023-02-19 12:47:34 +01:00
Rémi Verschelde
9ccfe68d50
Merge pull request #73526 from YuriSizov/branded-project-llc
...
Add a custom icon for the `project.godot` file in the `EditorFileDialog`
2023-02-19 01:01:08 +01:00
Juan Linietsky
34fd128723
Fix shader parameter assign
...
-Make sure the remap is created properly if never assigned before.
Fixes #72923 . Supersedes #73066 .
2023-02-18 13:13:54 +01:00
Yuri Sizov
0c4bdf443d
Merge pull request #65353 from QbieShay/qbee/fix-billboard-nonuniform-scale
2023-02-18 12:31:42 +03:00
Yuri Sizov
ed8554bff6
Merge pull request #73513 from YuriSizov/bone2d-remove-deprecated-methods
...
Remove deprecated methods from Bone2D
2023-02-18 04:32:49 +03:00
Yuri Sizov
236cec0633
Add a custom icon for the `project.godot` file in the EditorFileDialog
2023-02-17 22:42:23 +01:00
Dawid Marzec
b05572b7d0
Fix TreeItem's button being rendered under Selected highlight
2023-02-17 21:49:31 +01:00
Yuri Sizov
6bb4b00647
Merge pull request #73508 from nongvantinh/reorder-emitted-signals
...
Reordering emitted signals in PopupMenu
2023-02-17 21:17:01 +03:00
Yuri Sizov
b2f63bbb43
Remove deprecated methods from Bone2D
...
- also add them to the project convertor
2023-02-17 18:05:52 +01:00
Nong Van Tinh
5928d801a9
Reordering emitted signals in PopupMenu
2023-02-17 23:18:56 +07:00
Rémi Verschelde
a0afeb5d5a
Merge pull request #72184 from Maran23/item-list-index-out-of-bounds
...
ItemList: Check if the index is out bounds before accessing the internal items
2023-02-17 16:20:49 +01:00
Rémi Verschelde
9004279afb
Merge pull request #70781 from jamesmintram/jamesm/bugfix/fix-minimap-oob
...
Fix error spam when hovering minimap in the script editor
2023-02-17 15:20:19 +01:00
Rémi Verschelde
9583c20171
Merge pull request #70515 from stmSi/fix-hanging-audio-pitch-scale
...
Fix hanging if audiostream's pitch_scale is NaN
2023-02-17 14:06:55 +01:00
Yuri Sizov
da11c59918
Merge pull request #73470 from Sauermann/fix-touch-screen-button-emulated
...
Remove device-id restriction from `TouchScreenButton` input events
2023-02-17 16:00:34 +03:00
Rémi Verschelde
1075931c64
Remove unexposed ProxyTexture, mark AnimatedTexture as deprecated
...
According to reduz:
> [AnimatedTexture] should be removed together with ProxyTexture, its just
> not efficient at all in Vulkan and causes invalidation of all descriptor
> sets depending on it
> it was needed mostly for animated tilemaps, but nowadays there is not a lot
> of reason for it
Marking AnimatedTexture as deprecated accordingly, until we reach consensus
for removing it completely.
2023-02-17 12:32:26 +01:00
Rémi Verschelde
db9007aef4
Merge pull request #73428 from smix8/navigation_tweak_agent3d_4.x
...
Tweak NavigationAgent3D defaults
2023-02-17 09:56:49 +01:00
bruvzg
7246b229e1
Set RTL minimal dash size to 2.0, add invalid dash size error to the `draw_dashed_line`.
2023-02-17 08:53:08 +02:00
Markus Sauermann
699608804f
Remove device-id restriction from `TouchScreenButton` input events
...
Remove the restriction that only devices with id 0 are used
for `TouchScreenButton`-Input events.
This allows emulated events to be used for TouchScreenButton.
2023-02-17 01:19:57 +01:00
Rémi Verschelde
c7aadab155
Merge pull request #73464 from clayjohn/VoxelGI-emission
...
Only include emission when enabled in material during VoxelGI bake
2023-02-17 00:42:30 +01:00
Rémi Verschelde
2824774d29
Merge pull request #69801 from nongvantinh/fix-invalid-scene-name
...
Fixed scene name can be saved as extension only
2023-02-17 00:35:00 +01:00
Rémi Verschelde
b90d70d592
Merge pull request #72764 from Sauermann/fix-color-picking
...
Fix Color Picking
2023-02-17 00:33:20 +01:00
Rémi Verschelde
b0dd9d6942
Merge pull request #49102 from ANamelessGhoul/master
...
Fix AnimatedTexture inconsistency when setting frame
2023-02-17 00:32:55 +01:00
Rémi Verschelde
b8bab73d7e
Merge pull request #73444 from bruvzg/dash_checks
...
Add dash and step size checks to draw_dashed_line.
2023-02-17 00:29:40 +01:00
Nong Van Tinh
010ddfbc16
Prevent saving files with no name and only an extension.
...
Fixes #69768 .
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2023-02-17 00:23:15 +01:00
clayjohn
76093d6a03
Only include emission when enabled in material during VoxelGI bake
2023-02-16 14:29:17 -08:00
Tecelli Akıntuğ
1ba05b4b3a
Fix AnimatedTexture inconsistency when setting frame
2023-02-16 22:34:10 +01:00
James Mintram
aa024296d1
Fix error spam when hovering minimap in the script editor
2023-02-16 22:03:01 +01:00
Rémi Verschelde
25da47edd6
Merge pull request #73396 from KoBeWi/sorry
...
Fix crash with AspectRatioContainer and TextureRect
2023-02-16 18:34:41 +01:00
Rémi Verschelde
f9dbbc3d72
Merge pull request #73426 from RandomShaper/label_strikes_again
...
Fix width determination of non-trimmed, non-wrapped labels
2023-02-16 18:33:12 +01:00
bruvzg
4dfa161120
Add dash and step size checks to draw_dashed_line.
2023-02-16 17:49:18 +02:00
kobewi
a12921ca2c
Fix crash with AspectRatioContainer and TextureRect
2023-02-16 14:35:09 +01:00
smix8
8be4af38e4
Tweak NavigationAgent3D defaults
...
Tweaks default values for NavigationAgent3D to work better out of the box within a new 3D project.
2023-02-16 14:26:39 +01:00
Pedro J. Estébanez
73b6c0b972
Fix width determination of non-trimmed, non-wrapped labels
...
In other words, exclude trimmable labels from the special logic used for non-wrapping ones, since they are not expected to dictate their width authoritatively.
2023-02-16 11:54:57 +01:00
Rémi Verschelde
953383328a
Merge pull request #73229 from smix8/navlink_global_positions_4.x
...
Add NavigationLink helper functions for global positions
2023-02-16 11:02:17 +01:00
Rémi Verschelde
e178042866
Merge pull request #73370 from timothyqiu/tiles-i18n
...
Add missing i18n in tiles editor
2023-02-16 11:01:43 +01:00
Rémi Verschelde
2874961309
Merge pull request #73343 from RandomShaper/labels_are_evil
...
Make label sizing algorithm more robust
2023-02-15 22:34:21 +01:00
Pedro J. Estébanez
4f7f1ef60b
Make label sizing algorithm more robust
2023-02-15 18:00:29 +01:00
Yuri Sizov
f2aae8fa5c
Merge pull request #73349 from dalexeev/fix-tab-bar-redraw
...
Fix `TabBar` not redrawing on locale change
2023-02-15 18:23:25 +03:00
Haoyu Qiu
ccc3bdebb3
Add missing i18n in tiles editor
2023-02-15 23:08:03 +08:00
Danil Alexeev
1cdf3398a0
Fix `TabBar` not redrawing on locale change
2023-02-15 14:51:31 +03:00
Yuri Sizov
d2b1474da7
Merge pull request #73293 from RedMser/rich-text-label-fixes
...
RichTextLabel: Unexpose internal ItemType enum, improve `push_meta` docs
2023-02-15 12:58:23 +03:00
Rémi Verschelde
0ddbd9bd2d
Merge pull request #73344 from MewPurPur/yeet-empty-line-error-spam
...
Fix autocomplete persisting at the beginning of a line and throwing errors
2023-02-15 09:52:22 +01:00
Rémi Verschelde
174925e55c
Merge pull request #73262 from chutchinson/bug/73201-immediate-mesh-create-outline-crash
...
Prevent crash in ImmediateMesh.create_outline
2023-02-15 09:50:37 +01:00
VolTer
d16df33021
Fix autocomplete persisting at the beginning of a line
2023-02-15 09:24:13 +01:00
Chris Hutchinson
d842d215df
Prevent crash in ImmediateMesh.create_outline by ensuring
...
that when no indices are specified, the number of vertices is
at least a factor of 3. Fixes #73201
2023-02-14 22:42:07 -05:00
smix8
d87f124768
Add NavigationLink helper functions for global positions
...
Adds helper functions to set the links start and end position with global positions or get them as global positions.
Adds global start and end position for the navigation link to the 'link_reached' signal of NavigationAgent. That signal gets emitted when a navigation link waypoint is reached. Requires that 'owner' meta data is enabled on the NavigationAgent.
2023-02-14 21:56:58 +01:00
clayjohn
081b31d200
Clear Window before blitting Viewport in gl_compatibility renderer
2023-02-14 10:30:02 -08:00
RedMser
22dd621cf9
RichTextLabel fixes
...
- Unexpose ItemType enum, since it is not used in public API.
- Fix documentation for meta tag, since it has no BBCode equivalent.
2023-02-14 17:20:05 +01:00
Rémi Verschelde
830eff64a7
Merge pull request #68027 from ktxyz/window-on-top
...
Update sub_windows order with respect to FLAG_ALWAYS_ON_TOP
2023-02-14 13:40:24 +01:00
Rémi Verschelde
34b8f42118
Merge pull request #73278 from ttencate/fix/issue_70984
...
Some fixes for initial window position and size
2023-02-14 13:36:25 +01:00
Thomas ten Cate
8a17f94ab2
Some fixes for initial window position and size
...
- X11: set main window position and size hints correctly
- All platforms: update minimum and maximum size of main window at
startup
Fixes #70984
2023-02-14 12:15:14 +01:00
Rémi Verschelde
78ccf71dfb
Merge pull request #73269 from bruvzg/ed_prog2
...
[Editor] Fix editor progress dialog auto closing on ESC press, and on application focus loss.
2023-02-14 11:06:16 +01:00
Rémi Verschelde
44ad635505
Merge pull request #73261 from smix8/fix_tilemap_invalid_rid_error_4.x
...
Fix TileMap NavigationServer 'Invalid ID' error
2023-02-14 11:05:05 +01:00
bruvzg
39b69e6f76
[Editor] Fix editor progress dialog auto closing on ESC press, and on application focus loss.
2023-02-14 09:23:40 +02:00
smix8
fef6ffabe5
Fix TileMap NavigationServer 'Invalid ID' error
...
Fixes NavigationServer 'Invalid ID' error of the TileMap.
The issue was not caused directly by the TileMap but with the late call to get_world_2d()->get_navigation_map() while everything is shut down abruptly e.g. game window closed or Editor "Reload Saved Scene" function.
2023-02-14 01:39:21 +01:00
Hugo Locurcio
8b1de103a8
Clamp Decal size to positive values
...
This prevents using negative size, while also preventing
error messages from being spammed if one of the decal's dimensions
is set to exactly 0.
2023-02-13 22:01:49 +01:00
QbieShay
7881422901
make particle billboard take into account non-uniform scale
2023-02-13 21:18:55 +01:00
bruvzg
a000c64eea
Cleanup Window callbacks before destroying in to avoid callback calls with invalid object.
2023-02-13 20:39:17 +02:00
Pedro J. Estébanez
3ccabee9ae
Fix blank non-autowrapping labels
2023-02-13 18:46:56 +01:00
Rémi Verschelde
848c910227
Merge pull request #73018 from smix8/fix_multilayered_tilemap_navigation_4.x
...
Fix navigation support for multilayered TileMaps
2023-02-13 12:58:39 +01:00
Rémi Verschelde
c144919a74
Merge pull request #73208 from smix8/fix_navigationregion2d_debug_4.x
...
Fix 2D navigation debug visuals ignoring half the ProjectSettings
2023-02-13 12:58:09 +01:00
Rémi Verschelde
98d5e0b72f
Merge pull request #73191 from KoBeWi/some_color_picker_stuff
...
Fix HSV Rectangle Wheel values
2023-02-13 12:56:32 +01:00
smix8
2b19c70664
Fix 2D navigation debug visuals ignoring half the ProjectSettings
...
Fixes that NavigationRegion2D and TileMap debug visuals ignored more or less half the ProjectSetting. E.g. random color could not be disabled, edges did not display.
2023-02-13 11:42:23 +01:00
M4rYu5
97d355c13d
Now, in editor, CapsLock behave like a modifier key: does nothing when pressed alone.
...
Before, it ended up closing the code completion, and rerendering portions of editor.
2023-02-13 10:46:00 +02:00
Rémi Verschelde
b7723a01d9
Merge pull request #66745 from EricEzaM/66453-popupmenu-shortcut-shape-fix
...
Ensure PopupMenu item is shaped when the shortcut is set.
2023-02-13 09:29:41 +01:00
Rémi Verschelde
a90bbc3544
Merge pull request #72225 from MinusKube/shaped_text_invalidated_bug
...
Mark dirty flags when shaped texts are invalidated
2023-02-13 09:13:27 +01:00
Rémi Verschelde
428bf1188d
Merge pull request #72387 from RandomShaper/avoid_infinite_2
...
Enhance label sizing algorithm (a.k.a. prevent infinite GUI re-layout)
2023-02-13 09:13:00 +01:00
Markus Sauermann
34a7fc7447
Fix some ways to create inconsistent Viewport sizes
...
In the editor, it was possible to set the size of a `SubViewport` even
in cases where a parent `SubViewportContainer` had stretch enabled.
This PR disables editing a `SubViewport.size` while the parent disallows
it and it makes necessary adjustments during `NOTIFICATION_ENTER_TREE`.
2023-02-13 08:19:00 +01:00
Silc Renew
ae5dadc8d1
Refactor NodeTransition/OneShot to handle seek/filter correctly
2023-02-13 10:04:51 +09:00
kobewi
3542d24fda
Fix HSV Rectangle Wheel values
2023-02-13 01:18:44 +01:00
kobewi
17fe5c2b23
Fix tween_method() type validation
2023-02-12 22:08:25 +01:00
Rémi Verschelde
77b415ab6d
Fix SurfaceTool crash with invalid bone/weight count
...
Fixes #53191 .
2023-02-12 14:14:03 +01:00
Rémi Verschelde
de31545f64
Merge pull request #73137 from Geometror/graphedit-hotzone-snapping-fix
...
Fix GraphEdit port hotzone snapping
2023-02-12 10:43:25 +01:00
Rémi Verschelde
c3a04f71fd
Merge pull request #73136 from clayjohn/LightmapGI-exr
...
Set Default compression to VRAM uncompressed for LightmapGI
2023-02-12 10:35:58 +01:00
Hendrik Brucker
3aab79914c
Fix GraphEdit port hotzone snapping
2023-02-12 01:31:58 +01:00
clayjohn
340c3b84fd
Set Default compression to VRAM uncompressed for LightmapGI
...
This increases the speed to be near instant and removes the perceived lightmap bake speed regression
We need to investigate the speed and quality issues with BPTC and re-enable compression when we can
2023-02-11 16:26:09 -08:00
Rémi Verschelde
9075d5e932
Merge pull request #73120 from TokageItLab/fix-transition-reset-fade
...
Fix remaining fade doesn't clear when reset in AnimationNodeTransition
2023-02-11 22:03:35 +01:00
Ziya Erkoc
6fb113f59f
Warn if a concave shape is assigned to ConvexPolygonShape2D
2023-02-11 21:58:35 +01:00
Silc Renew
7bf83a8603
Fix NodeOneShot fade-out doesn't blend animations correctly
2023-02-12 04:32:40 +09:00
Silc Renew
2a0beb1ef3
Fix remaining fade doesn't clear when reset in AnimationNodeTransition
2023-02-12 04:12:15 +09:00
Rémi Verschelde
beab9a7cf2
Merge pull request #73069 from brianwinterpixel/bugfix/linebuilder_box_uvs
...
Fix Line2D UVs when using BOX end cap mode
2023-02-11 14:40:09 +01:00
Rémi Verschelde
ab2952580c
Merge pull request #73040 from Rindbee/popup_centered_consider_current_size
...
Calling popup_center* with the default size will use the current size
2023-02-11 14:37:54 +01:00
Rémi Verschelde
38d7583f86
Merge pull request #73063 from KoBeWi/it_exited_the_tree_but_changed_its_mind_and_broke_instead
...
Fix camera reparenting
2023-02-11 14:36:41 +01:00
Rémi Verschelde
f7c177b972
Merge pull request #73083 from timothyqiu/nav-agent-debug-properties
...
Strip name prefix of navigation agent debug properties in the inspector
2023-02-11 14:36:17 +01:00
Rindbee
593598c592
Calling popup_center* with the default size will use the current size
2023-02-11 18:53:53 +08:00
Haoyu Qiu
65223e98de
Strip name prefix of navigation agent debug properties in the inspector
2023-02-11 16:34:08 +08:00
Aaron Franke
be916233f9
Check for CanvasItem instead of Control and Node2D
2023-02-11 02:18:10 -06:00
Brian Semrau
53b4d85072
Fix Line2D UVs when using BOX end cap mode
2023-02-10 20:44:39 -05:00
kobewi
3f31c64300
Fix camera reparenting
2023-02-10 23:46:55 +01:00
smix8
f2c31965c0
Fix navigation support for multilayered TileMaps
...
Fixes support for multilayered TileMaps by creating dedicated navigation maps for each layer.
2023-02-10 17:13:40 +01:00
Rémi Verschelde
cac4cda89b
Merge pull request #73024 from TokageItLab/fix-transtition-first-frame
...
Fix broken first frame of `NodeTransition`/`NodeOneShot` when xfade is 0
2023-02-10 15:08:34 +01:00
Rémi Verschelde
008cafc103
Merge pull request #72378 from maximkulkin/line-edit-consume-events
...
Fix LineEdit not consuming events
2023-02-10 15:08:28 +01:00
Rémi Verschelde
29d89caafe
Merge pull request #72714 from DarkMessiah/fix-unlimited-text-in-tree
...
Fix unlimited text rendering in Tree if width <= 0
2023-02-10 15:07:18 +01:00
Rémi Verschelde
97afa41da3
Merge pull request #73000 from Sauermann/fix-editor-viewport-size-zero-crash
...
Fix crash in editor when setting `SubViewport.size` to zero
2023-02-10 15:06:57 +01:00
Haoyu Qiu
26581ca574
Add some missing translatable editor strings
2023-02-10 16:55:50 +08:00
Silc Renew
836d62f0c6
Fix broken first frame of NodeTransition/NodeOneShot when xfade is 0
2023-02-10 13:57:11 +09:00
Markus Sauermann
d249370cd7
Fix crash in editor when setting `SubViewport.size` to zero
...
`Viewport::_set_size` now verifies, that the minimum size is at least 2x2.
Also fix `RendererViewport::viewport_set_size` fail condition.
2023-02-10 00:25:45 +01:00
Rémi Verschelde
929ee61170
Merge pull request #72931 from TokageItLab/improve-root-motion-for-rot-and-pos
...
Add root motion accumulator to fix broken RootMotionView
2023-02-09 23:43:08 +01:00
Markus Sauermann
88f4e5cc94
Fix that `popup_centered` didn't take the window's size into consideration
2023-02-09 22:05:39 +01:00
Silc Renew
7b18ad7d98
Add root motion accumulator to fix broken RootMotionView
2023-02-10 01:22:00 +09:00
Rémi Verschelde
5c1295dc20
Merge pull request #72884 from groud/fix_trackpad_viewpanner
...
Fix panning via InputEventPanGesture
2023-02-09 16:44:56 +01:00
Rémi Verschelde
b12bf7ff02
Merge pull request #69550 from Rindbee/fix-script-editor-not-reload-via-lsp
...
Fix internal editor not updating when using external editor via LSP
2023-02-09 14:01:33 +01:00
Haoyu Qiu
a40ccc2d7e
Improve some editor strings for localization
2023-02-09 19:32:02 +08:00
Rémi Verschelde
d69809cab6
Merge pull request #72947 from DarkKilauea/nav-fix-avoidance-callback
...
Fix missing avoidance updates when using same velocity
2023-02-09 10:13:35 +01:00
Rémi Verschelde
edae21f3aa
Merge pull request #72897 from Geometror/graphedit-set-deprecated
...
Update configuration warning for `GraphEdit` and mark it as experimental
2023-02-09 09:29:27 +01:00
Rémi Verschelde
ea274af71a
Merge pull request #72922 from smix8/fix_debug_binding_rb_4.x
...
Fix NavigationAgent debug functions bindings in release builds
2023-02-09 09:28:38 +01:00
Josh Jones
097f8a5fdb
Fix missing avoidance updates when using same velocity
...
When using avoidance, if you set the same velocity for the agent, you won't get an update from the avoidance system.
This changes both the `set_target_position` and `set_velocity` setters to always accept user provided values, even if they are the same. This ensures that repathing and avoidance logic is always run when the user expects.
2023-02-08 23:18:53 -08:00
Hendrik Brucker
4601acbaf4
Update GraphEdit configuration warning, mark GraphNode/GraphEdit as experimental
2023-02-09 02:39:55 +01:00
Markus Sauermann
888add8418
Fix Color Picking
...
With the 4.x-introduction of Windows the previous method for
color picking was no longer working.
This PR uses the following approach to reintroduce color-picking.
When the Color-Picking-Button is pressed, a quasi-screenshot of the
Window-content is created and displayed in a new Popup-Window.
This new Window allows selecting colors by Mouse-Click.
A Preview of the targeted Color is also displayed.
2023-02-09 01:00:54 +01:00
clayjohn
04a9933f2e
Mark fma function as high end so it isn't used with the gl_compatibility renderer
2023-02-08 12:56:15 -08:00
smix8
820b841fcb
Fix NavigationAgent debug functions bindings in release builds
...
Fixes that certain NavigationAgent debug functions bindings were not available in release builds.
2023-02-08 21:49:04 +01:00
Gilles Roudière
ca4bc8de81
Fix panning via InputEventPanGesture
...
Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
2023-02-08 12:01:20 +01:00
Danil Alexeev
b8eda519d0
Optimize `draw_dashed_line()` and `draw_rect()`
2023-02-08 10:44:12 +03:00