Rémi Verschelde
f29f3db419
Merge pull request #59682 from Sauermann/fix-following-viewport-transform
...
Include the follow-viewport-transform into CanvasLayer transform calculations
2022-12-19 16:26:19 +01:00
Paulb23
29f7bea241
Fix autocomplete with autobrace completion not adding closing pair
2022-12-19 14:20:52 +00:00
kleonc
3a34acdf55
TileSet Simplify tile shape polygons
2022-12-19 11:42:40 +01:00
Juan Linietsky
80b578b060
Restore 'rotation_degrees' properties.
...
By popular demand, restoring the helper properties to rotate objects in degrees.
Affected are local and global rotations for:
* Node2D
* Node3D
* Control
2022-12-19 10:59:47 +01:00
Markus Sauermann
2da2220da7
Include the following-viewport-transform into CanvasLayer transforms
...
The following-viewport-transform was missing from several calculations
2022-12-18 22:44:34 +01:00
Josh Jones
5d8ba2b2d1
Add support for emitting a signal when entering a NavLink
2022-12-17 16:33:41 -08:00
Rémi Verschelde
7bf656148f
Merge pull request #70227 from kleonc/atlas-texture-flipping-fix
...
`AtlasTexture` Fix calculating rects when flipping
2022-12-18 00:11:51 +01:00
kleonc
c3851b91db
AtlasTexture Fix calculating rects when flipping
2022-12-17 22:59:31 +01:00
smix8
34e7628f5f
Fix Navigation API abbreviations inconsistency
...
Schema for navigation to name user facing API with "navigation" without abbreviation and e.g. NavigationServer internals with abbr "nav".
2022-12-17 22:06:22 +01:00
bruvzg
20d9457f9d
Scale MSDF font outline with the font size and MSDF source size to match dynamic font behavior.
2022-12-17 22:47:54 +02:00
Rémi Verschelde
10bc1d8710
Merge pull request #30675 from zaksnet/link-button-link-prop
...
Add a `uri` property to `LinkButton`
2022-12-17 20:58:15 +01:00
Rémi Verschelde
92018c9508
Merge pull request #70209 from smix8/navigation_polygon_move_4.x
...
Move NavigationPolygon to dedicated resource file
2022-12-17 20:57:16 +01:00
Rémi Verschelde
a1f481a7d6
Merge pull request #70202 from Calinou/viewport-transparent-background-rename-project-setting
...
Move transparent background project setting to a subsection
2022-12-17 20:56:19 +01:00
smix8
4d68e2b18a
Move NavigationPolygon to dedicated resource file
...
Moves NavigationPolygon resource class from NavigationRegion2D file to a dedicated file in resource folder.
2022-12-17 19:52:40 +01:00
Hugo Locurcio
a3eac5fc7c
Move transparent background project setting to a subsection
...
This prevents the project setting from being located directly within
a root category, which is confusing from an UX perspective in the
project settings editor.
2022-12-17 18:45:21 +01:00
Zak
d73a9b56b0
Add uri
property for LinkButton
...
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2022-12-17 15:27:33 +01:00
Rémi Verschelde
c023d41036
Merge pull request #70118 from clayjohn/tilemap-layers
...
Use large offset for tilemap layer level canvas items
2022-12-17 14:29:22 +01:00
Rémi Verschelde
7972107c48
Merge pull request #70114 from clayjohn/custom-aabb
...
Expose GeometryInstance3D.custom_aabb property
2022-12-17 12:27:46 +01:00
Rémi Verschelde
6edad1433c
Merge pull request #70176 from clayjohn/mesh-index
...
Switch surface indexing to start at 0 so string name matches integer index
2022-12-17 12:24:06 +01:00
Rémi Verschelde
03cc4c3f3b
Merge pull request #70168 from Haydoggo/autocomplete-placement-fix
...
Fix autocomplete box placement
2022-12-17 12:23:15 +01:00
clayjohn
1a890b1641
Switch surface indexing to start at 0 so string name matches integer index
2022-12-16 16:26:46 -08:00
Hayden Leete
530b1f3f7a
Fix autocomplete box placement
2022-12-17 12:33:29 +13:00
Rémi Verschelde
8be126272f
Merge pull request #70075 from Sauermann/fix-missing-shortcut-handled-check
...
Fix missing check if shortcut event is handled for Control-nodes
2022-12-16 13:47:39 +01:00
SaracenOne
092dbe52a9
Change auto_advance flag to advance_mode enum and unify with disabled flag.
...
Expressions and conditions now require auto mode to be set to auto.
Adds a toggle button to the state machine editor for whether new transitions
advance settings should default to auto mode or not.
2022-12-16 07:42:59 +00:00
bmolyneaux
1e3a861e1a
Queue redraw when MultiMesh instance transform changes
...
Fixes : #66849
This is a 4.0 version of #54899 .
2022-12-15 17:01:17 -08:00
bruvzg
53c76fa5d1
[RTL/TextServer] Add baseline inline alignment mode for objects and RTL tables.
2022-12-15 23:16:02 +02:00
Rémi Verschelde
5dda8ec88d
Merge pull request #70103 from timothyqiu/tween-cleanup
...
Fix possible Tween leak on exit
2022-12-15 22:09:32 +01:00
Rémi Verschelde
9ba3f9d1db
Merge pull request #69680 from LucasLaukka/bugfix-line_edit
...
Fix color picker showing incorrect number of digits when changing display scale
2022-12-15 22:09:18 +01:00
Rémi Verschelde
7975ac5a00
Merge pull request #70106 from bruvzg/rtl_nested_tab
...
[RTL] Fix nested tables getting parent offset applied multiple times.
2022-12-15 22:09:05 +01:00
clayjohn
7d6a25c91e
Use large offset for tilemap layer level canvas items
...
This matches the logic in _rendering_update_dirty_quadrants
2022-12-15 11:41:27 -08:00
clayjohn
5d51478d70
Expose GeometryInstance3D.custom_aabb property
2022-12-15 10:03:40 -08:00
Yuri Rubinsky
bf3966abf9
Fix the update of the inspector when instance shader uniform has changed
2022-12-15 18:39:30 +03:00
bruvzg
ca5a3d0c68
[RTL] Fix nested tables getting parent offset applied multiple times.
2022-12-15 14:05:21 +02:00
Rémi Verschelde
346efd29e0
Fix typos with codespell
2022-12-15 12:24:08 +01:00
Haoyu Qiu
e173710963
Fix possible Tween leak on exit
2022-12-15 19:09:09 +08:00
Gilles Roudière
ffec180ccc
Remove a confusing TileMap warning
2022-12-15 11:27:38 +01:00
Rémi Verschelde
56ddb70c08
Merge pull request #70083 from clayjohn/Sprite3D-normals
...
Remove extra range conversion in Sprite3D normal encoding
2022-12-15 09:21:26 +01:00
clayjohn
0c0e1a637e
Remove extra range conversion in Sprite3D normal encoding
2022-12-14 15:41:43 -08:00
Markus Sauermann
57ff04278b
Fix missing check if shortcut event is handled for Control-nodes
...
Control-nodes without a shortcut-context were missing a check if
the event was handled, so that a single shortcut-event was passed to
multiple Control-nodes.
2022-12-14 22:22:24 +01:00
bruvzg
dd7b095f7f
[RTL] Fix image click detection.
2022-12-14 21:27:00 +02:00
Rémi Verschelde
45edf35f83
Merge pull request #69726 from xiongyaohua/tweak_curve
...
Handle corner cases for curve baking
2022-12-14 11:25:55 +01:00
Yaohua Xiong
f806c679de
Fix Curve2D::get_closest_offset
2022-12-14 09:46:07 +08:00
Yaohua Xiong
adeef12b12
Handle corner cases for curve baking
...
When control point and point have equal position,
the derivative is 0 vector, which cause error message in Basis::look_at().
This commit handles this case.
2022-12-14 08:52:14 +08:00
Rémi Verschelde
db0b990e2c
Merge pull request #69527 from clayjohn/surface-name
...
Index override surface name starting from 1 to match surface name
2022-12-14 00:20:13 +01:00
Rémi Verschelde
ef3c756e98
Merge pull request #70024 from bruvzg/te_ime_text
...
[TextEdit] Fix IME intermediate text not displayed when TextEdit is empty and placeholder is set.
2022-12-14 00:17:08 +01:00
Rémi Verschelde
fc517e6c89
Merge pull request #70003 from clayjohn/GLES3-cc
...
Various fixes and documentation for CanvasGroup
2022-12-13 23:31:43 +01:00
bruvzg
a56fdea289
[TextEdit] Fix IME intermediate text not displayed when TextEdit is empty and placeholder is set.
2022-12-13 20:22:48 +02:00
clayjohn
bdd4001ef0
Various fixes and documentation for CanvasGroup
...
Properly apply custom materials with CanvasGroups in the GLES3 backend
Properly blur backbuffer when using a partial rect in forward_plus and
gl_compatibility renderers
Properly set fit_margin when clear_margin is set
Fix shader error during backbuffer clear in mobile renderer
2022-12-13 10:22:18 -08:00
Rémi Verschelde
a3b60d9186
Merge pull request #70007 from timothyqiu/nan-scale
...
Fix crash after executing `ItemList.set_icon_scale`
2022-12-13 14:13:15 +01:00
Rémi Verschelde
c8b6c44c3c
Merge pull request #69890 from Rindbee/use-buffer-to-speed-up
...
Use buffer to speed up copying/transcribing when renaming dependencies
2022-12-13 14:12:58 +01:00
Rindbee
bc4b5abea8
Use buffer to speed up copying/transcribing when renaming dependencies
...
If the scene is more complex, you may need to copy/transcribe a
large amount of data, so use buffer to speed up this process.
2022-12-13 17:19:48 +08:00
Rémi Verschelde
fcbbda25fe
Merge pull request #69977 from KoBeWi/properties_together_strong
...
Remove single-element groups from GPUParticles2D
2022-12-13 10:10:20 +01:00
Rémi Verschelde
6f8f6b3c9e
Merge pull request #69973 from TokageItLab/null-check-animtree-edit
...
Add null checks to AnimationTreeEditors and `_clear_editors()` to `_node_removed()`
2022-12-13 10:09:48 +01:00
Haoyu Qiu
8d0fa193c3
Fix crash after executing ItemList.set_icon_scale
2022-12-13 15:53:50 +08:00
kobewi
99916ddbd1
Remove single-element groups from GPUParticles2D
2022-12-12 20:15:11 +01:00
Silc Renew
b0eb3b6ebd
Add null checks to AnimationTreeEditors and _clear_editors()
2022-12-13 03:06:51 +09:00
lawnjelly
491594ef0f
VariantParser make readahead optional
...
It turns out some areas are independently moving / reading filepointers outside of the VariantParser, which can cause the readahead caching to get out of sync.
This PR makes the VariantParser readahead to be optional to allow for these use cases.
2022-12-12 15:14:39 +00:00
Rémi Verschelde
ec8f52df8f
Merge pull request #69629 from smix8/agent_wild_callback_pointer_4.x
...
Fix Navigation agent callback wild pointer crash
2022-12-12 13:51:48 +01:00
Rémi Verschelde
92dfa7901b
Merge pull request #61855 from Calinou/popup-centered-minsize-fix-freeze
...
Fix infinite loop when calling `Control.popup_centered_minsize()`
2022-12-12 13:51:37 +01:00
smix8
194c1c44e0
Fix Navigation agent callback wild pointer crash
...
Fixes crash in sanitizer builds when callback agent or object are already freed.
2022-12-12 13:03:55 +01:00
Rémi Verschelde
53060e8ced
Merge pull request #69950 from kleonc/tile-map-const-refs-for-the-win
...
`TileMap` Pass some parameters by `const &` instead of by value
2022-12-12 11:52:55 +01:00
Rémi Verschelde
f1edd03d4c
Merge pull request #69718 from groud/finally_rename_gdnative_to_gdextension
...
Rename all gdnative occurences to gdextension
2022-12-12 11:43:59 +01:00
Rémi Verschelde
52a0bba833
Merge pull request #69922 from adamscott/fix-tilemap-tileset-heap-use-after-free
...
Fix `heap-use-after-free` error in `TileMap::~TileMap()`
2022-12-12 11:41:49 +01:00
Rémi Verschelde
ba3a2adb90
Merge pull request #67050 from KoBeWi/syrt
...
Warn if isometric TileMap is not Y-sorted
2022-12-12 11:40:54 +01:00
kleonc
71398ae22a
TileMap Pass some parameters by const &
instead of by value
2022-12-12 11:33:42 +01:00
Gilles Roudière
be1c9d677d
Rename all gdnative occurences to gdextension
...
Non-exhaustive list of case-sensitive renames:
GDExtension -> GDNative
GDNATIVE -> GDEXTENSION
gdextension -> gdnative
ExtensionExtension ->Extension (for where there was GDNativeExtension)
EXTENSION_EXTENSION ->EXTENSION (for where there was GDNATIVE_EXTENSION)
gdnlib -> gdextension
gdn_interface -> gde_interface
gdni -> gde_interface
2022-12-12 11:04:57 +01:00
Adam Scott
e7fb2f0294
Fix heap-use-after-free
error in TileMap::~TileMap()
...
Co-authored-by: Gilles Roudiere <gilles.roudiere@gmail.com>
2022-12-12 04:52:00 -05:00
Rémi Verschelde
47507a07fd
Merge pull request #68546 from marzecdawid/fix-deselect-all-in_tree
...
Fix errors while deselecting all tree items; issue #65185
2022-12-12 08:25:20 +01:00
Silc Renew
af7595a9fb
Fix seeking process order to retrieve key correctly for AnimationTrack
2022-12-12 06:27:26 +09:00
Rémi Verschelde
e81c81732a
Merge pull request #69900 from Chaosus/vs_particles_optimize
...
Optimize a code generation of visual shader particles
2022-12-11 11:52:13 +01:00
Rémi Verschelde
73837182fd
Merge pull request #69850 from timothyqiu/defer-gizmo
...
Use ObjectID as argument when referred-calling `_request_gizmo`
2022-12-11 11:51:51 +01:00
Yuri Rubinsky
bd08f89fd2
Optimize a code generation of visual shader particles
2022-12-11 12:35:48 +03:00
Josh Jones
5769b0e8d8
Enable assigning an owner to navigation regions and links
...
This allows users of the server APIs to get back the nodes that created certain regions and links.
2022-12-10 12:03:06 -08:00
Rémi Verschelde
e9c7140cfa
Merge pull request #69853 from TokageItLab/fix-unmerged-history-anim-editor
...
Fix unmerged history in AnimationTrackEditor
2022-12-10 16:20:13 +01:00
Silc Renew
c87e9f0b7c
Fix unmerged history in AnimationTrackEditor
2022-12-10 22:21:38 +09:00
Haoyu Qiu
f6ae2f2fd5
Use ObjectID as argument when referred-calling _request_gizmo
...
Fixes crash on project launch.
2022-12-10 18:52:10 +08:00
Rémi Verschelde
879499a0aa
Merge pull request #69844 from AmyGilhespy/patch-1
...
Fix glyph_flags typo.
2022-12-10 10:46:09 +01:00
Rémi Verschelde
48ffaaa81c
Merge pull request #68728 from Rindbee/fix-wrong-edit
...
Make sure the popup editor is hidden when selected
2022-12-10 10:44:50 +01:00
AmyGilhespy
8f93b14030
Fix glyph_flags typo.
2022-12-09 23:50:01 -06:00
Rémi Verschelde
597e0c0fb9
Merge pull request #69353 from YuriSizov/window-be-more-like-your-brother
...
Copy local theme overrides from `Control` to `Window`
2022-12-09 18:06:34 +01:00
Rémi Verschelde
156b5ca38f
Merge pull request #69644 from radenling/fix-viewport-update-in-editor
...
Fix for 2D viewport not updating in the editor when the camera moves
2022-12-09 18:06:23 +01:00
Rémi Verschelde
d3e32698b4
Merge pull request #69753 from lpares12/feat_meta_cursor
...
RichTextLabel: decouple meta cursor from underline
2022-12-09 18:06:11 +01:00
Vladislav Slobodenyuk
0b5c4216c8
Fix TileMap drawing itself twice on creation
...
Adds a check before calling `item_rect_changed()` in
`_recompute_rect_cache()` of `scene/2d/tile_map.cpp`. Makes sure
TileMap is only redrawn if the rect is actually changed.
Fixes #69754
2022-12-09 22:20:31 +09:00
Rémi Verschelde
2d02cb67ee
Merge pull request #69661 from Mickeon/fix-editor-cannot-disconnect-signal
...
Fix unable to disconnect signal in Editor once created
2022-12-09 07:34:29 +01:00
Rémi Verschelde
75e558e271
Merge pull request #69774 from Calinou/backbuffercopy-only-show-rect-when-relevant
...
Fix BackBufferCopy `rect` property appearing when not relevant in inspector
2022-12-09 06:52:03 +01:00
Hugo Locurcio
080b6ac1ae
Fix BackBufferCopy rect
property appearing when not relevant in inspector
...
The `rect` property is only effective if `copy_mode` is Rect.
2022-12-08 19:52:48 +01:00
Rémi Verschelde
a914ee8413
TouchScreenButton: Fix screen capability check
...
Fixes #69572 .
2022-12-08 14:28:04 +01:00
Micky
885f2a4eca
Fix unable to disconnect signal in Editor once created
...
Adds a CONNECT_INHERITED flag to connections, only available in editor builds. This flag denotes that the signal has been inherited from a previous Scene in the instancing hierarchy.
2022-12-08 13:36:48 +01:00
Lluc Pares
2005b5c44a
RichTextLabel: decouple meta cursor from underline
...
This commit decouples the type of cursor used when the underline
of meta tag is set to False. Previous to this commit setting the
meta underline to false in the RichTextLabel would also make it
show the arrow cursor instead of the hand cursor.
Making the meta tag with no underline should not have any effect
on the type of cursor, since the text will still be clickable it
should be expected to have a hand cursor.
The same behavior is seen in other languages, like HTML+CSS, where
the setting "text-decoration" to "none" for the links, disables
the underline but maintains the clickable cursor.
Fixes godotengine/godot-proposals#3193
2022-12-08 09:43:41 +01:00
clayjohn
29dea68bab
Index override surface name starting from 1 to match surface name
2022-12-07 11:56:39 -08:00
Yuri Sizov
29cc86fa6c
Copy local theme overrides from Control to Window
2022-12-07 20:50:51 +03:00
Rémi Verschelde
a7937fe54c
Merge pull request #69722 from TokageItLab/more-refactor-immediate-anim
...
More refactor AnimationPlayer process for Method track which change animation with Immediate mode
2022-12-07 15:13:55 +01:00
Silc Renew
bd8395882e
Change init for cache_update_size & add pointer animation player
2022-12-07 22:34:41 +09:00
Rémi Verschelde
0a3f66471e
Merge pull request #69712 from bruvzg/real_size
...
Rename `window_get_real_size`, add position counterpart.
2022-12-07 14:29:46 +01:00
Lucas Laukka
4e63395a78
fixed bug showing only two digits in color picker
2022-12-07 13:55:51 +01:00
Rémi Verschelde
c92e70e711
Merge pull request #69685 from TokageItLab/fix-immediate-method-anim
...
Fix AnimationPlayer method track call oneself with IMMEDIATE mode
2022-12-07 13:26:41 +01:00
Rémi Verschelde
f9bd2ace0b
Merge pull request #68682 from timothyqiu/camera-gizmo-size
...
Make Camera3D gizmo the same aspect ratio as its viewport
2022-12-07 13:25:35 +01:00
Rémi Verschelde
4b21e656c9
Merge pull request #69702 from bruvzg/menu_safe_rect
...
Fix menu popup safe rect height no including theme separation.
2022-12-07 13:25:20 +01:00
Rémi Verschelde
de2d0f156e
Merge pull request #69713 from groud/rename_get_surrounding_tiles
...
Rename get_surrounding_tiles to get_surrounding_cells
2022-12-07 13:24:57 +01:00
Rémi Verschelde
cc6321dfbe
Merge pull request #68998 from hackenshaw/makhak/avoid_error_spamming_in_animation_tree
...
Avoid error spamming in animation_tree when path is not found
2022-12-07 13:24:42 +01:00