Clay John
72b845b287
Merge pull request #67506 from squashiv/master
...
Expose Shape2D::get_rect to scripting
2022-10-20 13:26:40 -07:00
Richard Patching
5de65bb2d7
Fix tp_canvas_item typo in _draw_rect_region
2022-10-20 20:04:45 +01:00
Micky
809dad907a
Add buttons in Remote Scene Tree
...
A Scene button to any scene instantiated from file. When clicked, it opens the original PackedScene.
A toggle visibility button is also available.
2022-10-20 18:02:41 +02:00
Gilles Roudière
fe65d7aa7b
Make terrain painting not change neighbors centers bits
2022-10-20 14:47:45 +02:00
squash
247a93845d
Expose Shape2D::get_rect to scripting
2022-10-20 11:26:49 +03:00
George L. Albany
d846dd6e91
Make BaseButton
Shortcut feedback togglable
2022-10-20 02:02:12 -04:00
kobewi
2f9cbbe0fb
Fix texture filter and repeat in TileMap
2022-10-19 23:23:40 +02:00
Clay John
a8c805be29
Merge pull request #66546 from KoBeWi/rfeipletaetr
...
Add methods to get target filter and repeat
2022-10-19 13:55:57 -07:00
Max Hilbrunner
d148613bb1
Merge pull request #66279 from aaronfranke/control-min-size
...
Revert `custom_minimum_size` type back to `Vector2` instead of `Vector2i`
2022-10-19 22:40:52 +02:00
Max Hilbrunner
f066f2c0de
Merge pull request #66940 from aaronfranke/doc-get-tr-aabb
...
Remove the global space `get_transformed_aabb` helper method
2022-10-19 22:40:02 +02:00
Max Hilbrunner
523f6263e4
Merge pull request #67249 from wuyingnan/fix_quaternion_typo
...
Fix a comment typo in node_3d.h
2022-10-19 21:02:14 +02:00
Max Hilbrunner
5f7906a289
Merge pull request #67527 from BastiaanOlij/fix_tracker_names
...
Fix two typos in tracker names and a bug in OpenXR haptic feedback
2022-10-19 18:18:36 +02:00
kobewi
4efa851d7f
Add methods to get target filter and repeat
2022-10-19 14:41:42 +02:00
Rafał Mikrut
86fa3ba560
Fix exporting big templates
2022-10-19 08:29:29 +02:00
Yuri Rubinsky
19126d22a4
Fix code generation for some visual shader nodes
2022-10-19 09:09:56 +03:00
kobewi
d06a8320e5
Simplify GDVIRTUAL_CALL calls
2022-10-19 00:05:48 +02:00
kobewi
b42c1f82fc
Improve ColorPicker sliders in OKHSL mode
2022-10-18 23:59:55 +02:00
kobewi
e48c5daddf
Unify usage of GLOBAL/EDITOR_GET
2022-10-18 19:01:48 +02:00
Patrick
91a9e7af3f
Fix typo in VisualShader DistanceFade node
2022-10-18 18:20:31 +02:00
kobewi
4aaed4fee1
Minor code improvements
2022-10-18 16:44:57 +02:00
Aaron Franke
9ebd8c5bb5
Remove the global space get_transformed_aabb
helper method
2022-10-18 07:30:31 -05:00
Markus Sauermann
b8031bb7d6
Code simplifications
...
1. Viewport::get_visible_rect().position is always zero.
So Control::get_window_rect is identical to Control::get_global_rect.
Remove Control::get_window_rect since it is not used in the source code.
2. sqrt(a * a) = abs(a) for doubles
3. Simplify affine_inverse combination
4. Simplify calculation in shaders
2022-10-18 12:47:40 +02:00
PucklaMotzer09
e5354cacd0
Add Caret Insert Below and Above shortcuts to TextEdit
2022-10-18 10:38:53 +02:00
Rindbee
42073fc2bb
Use more reasonable scrollable conditions in ScrollContainer
...
The visibility of the `ScrollBar` was used as a condition for judging whether it should scroll.
**Visible** and **scrollable** are currently not the same in some cases (`SCROLL_MODE_SHOW_NEVER`).
This makes `SCROLL_MODE_SHOW_NEVER` not working properly.
This patch will make `SCROLL_MODE_SHOW_NEVER` available, so that the external `SrollBar` can
share the internal `ScrollBar`'s data, we can achieve the purpose of replacing the internal
`ScrollBar` with a custom external one.
2022-10-18 16:32:39 +08:00
arkology
825f5671f1
Support AtlasTexture in radial modes of TextureProgressBar
2022-10-17 20:44:25 +03:00
Rémi Verschelde
ebca8b8aea
Merge pull request #67491 from Paulb23/fix-undo-redo-viewport-adjust
...
Fix undo redo not adjusting TextEdit viewport to caret
2022-10-17 17:31:26 +02:00
Bastiaan Olij
1e7f009492
Fix two typos in tracker names and a bug in OpenXR haptic feedback
2022-10-17 20:29:19 +11:00
Hugo Locurcio
6dcb295a07
Fix Light2D Shadow Filter Smooth property being visible with filter None
2022-10-17 01:35:10 +02:00
Paulb23
4bfb1d953c
Fix undo redo not adjusting TextEdit viewport to caret
2022-10-16 19:30:03 +01:00
Paulb23
b5dc8e24be
Fix crash in code completion when using an invalid / null font
2022-10-16 16:47:27 +01:00
Paulb23
76005e5ff7
Forcibly end current TextEdit action on undo redo
2022-10-16 16:28:22 +01:00
bruvzg
2aa350f701
[Font] Add support for OEM encoded bitmap fonts.
2022-10-16 18:22:21 +03:00
Haoyu Qiu
64c20a51c1
Fix get_path() error when calling get_node()
2022-10-16 10:48:59 +08:00
Markus Sauermann
39e49a8bdd
Expose Viewport::get_screen_transform to GDScript
2022-10-15 23:37:59 +02:00
Rémi Verschelde
dc4b616596
Merge pull request #63332 from KoBeWi/static_images_aka_photos
...
Make some Image methods static
2022-10-15 12:56:57 +02:00
Miguel Gonzalez Sanchez
a97a00bf02
Rename pos -> index on Node
2022-10-14 19:56:34 +01:00
clayjohn
b6f44859d7
Implement multiple clip_children modes for CanvasItems
2022-10-14 08:02:28 -07:00
kobewi
072f6feaba
Make some Image methods static
2022-10-14 14:34:15 +02:00
Rémi Verschelde
39534a7aec
Merge pull request #67385 from Sauermann/fix-viewport-mouse-position-update-on-subwindows
2022-10-14 13:31:11 +02:00
Markus Sauermann
b1d6b34662
Always update Viewport's last_mosue_position
...
When the mouse cursor is over a embedded Window, the Viewport's
last_mouse_position did not get updated.
This patch makes sure that the update happens on every InputEventMouse.
Document canvas layer of embedded Windows.
2022-10-14 12:51:45 +02:00
bruvzg
4b1937c73f
Abort LineEdit shaping if no font is set to avoid unnecessary error messages.
2022-10-14 12:57:42 +03:00
Rémi Verschelde
7502c808fa
Merge pull request #66665 from Mickeon/editor-do-not-edit-inherited-signals
...
Do not allow editing Scene-inherited signal connections
2022-10-14 10:19:47 +02:00
Rémi Verschelde
5f4aa11c62
Merge pull request #63607 from BastiaanOlij/fix_xr_origin
...
Add current setting to XROrigin3D and fix double positioning HMD
2022-10-14 09:45:00 +02:00
Rémi Verschelde
46a1b92bb7
Merge pull request #66294 from reduz/optimize-convex-collision
2022-10-13 20:34:00 +02:00
Micky
6a77563b25
Do not allow editing Scene-inherited signal connections
...
Inherited connections are also highlighted with the warning color in the Node dock.
2022-10-13 20:13:05 +02:00
Juan Linietsky
71d2e38cb5
Optimize Convex Collision
...
Implements the Gauss Mapping optimization to SAT convex collision test.
* Described [here](https://ubm-twvideo01.s3.amazonaws.com/o1/vault/gdc2013/slides/822403Gregorius_Dirk_TheSeparatingAxisTest.pdf ) by Dirk Gregorius.
* Requires adding of face information to edges in MeshData
* Took the chance to convert MeshData to LocalVector for performance.
2022-10-13 19:07:53 +02:00
Rémi Verschelde
f32f5b70d8
Merge pull request #67348 from Mickeon/salvage-a-dear-comment
...
Comment not to remove `data` structs in some Nodes
2022-10-13 18:40:58 +02:00
Micky
de9e08da76
Comment not to remove data
structs in some Nodes
2022-10-13 15:52:35 +02:00
Rémi Verschelde
9eb8eb5f7d
Merge pull request #67336 from jbcolli2/Normal-of-CylinderMesh
...
Fix bug in CylinderMesh when computing normals
2022-10-13 15:24:55 +02:00
Rémi Verschelde
2ffb609658
Merge pull request #66337 from EricEzaM/sprite-frames
...
Ensure control built-in shortcuts are matched exactly & add shortcuts for SpriteFrames editor
2022-10-13 15:24:39 +02:00
Rémi Verschelde
17db8be33c
Merge pull request #66357 from EricEzaM/shortcut-context-on-node
...
Move Shortcut Context to control and fix `shortcut_input` with `shortcut_context`
2022-10-13 15:24:30 +02:00
jbcolli2
491ec622f6
Changed normal of CylinderMesh to account for slanted side.
2022-10-13 08:24:31 -04:00
Eric M
a3ed9e6f2c
Move Shortcut Context to Control and ensure that shortcut_input
adheres to contexts. Also ensure that controls with no context are only triggered AFTER nodes which do have a context.
2022-10-13 21:07:19 +10:00
MladoniSzabi
3550354fd3
fixed holding alt while zooming zooms in by 2 increments.
2022-10-13 11:38:25 +01:00
Rémi Verschelde
fad0327503
Merge pull request #66953 from Sauermann/fix-top-level-connect-error
...
Fix Control node not disconnecting from signal
2022-10-13 09:04:25 +02:00
Rémi Verschelde
c55c0a2028
Merge pull request #66349 from A-Lamia/Amount_At_Collision
...
PARTICLES: adds amount property to collision sub particles.
2022-10-13 09:03:43 +02:00
Bastiaan Olij
3a4866bba4
Add current setting to XROrigin3D and fix double positioning HMD
2022-10-13 13:48:52 +11:00
Lamia
5af6f4a04b
particles: add amount property to sub property collision.
2022-10-13 04:25:18 +11:00
Rémi Verschelde
ea47e03b36
Merge pull request #65714 from benbot/fix-double-particle-collision-calculation
2022-10-12 17:46:17 +02:00
Rémi Verschelde
15b68f7601
Merge pull request #67232 from bruvzg/popup_edit
...
Improve Popup / Window behavior in the edited scene tree.
2022-10-12 14:45:14 +02:00
Rémi Verschelde
6fc1715cdf
Merge pull request #65779 from Mickeon/rename-camera-follow
...
Rename Camera2D's `smoothing` to `position_smoothing`
2022-10-12 08:53:04 +02:00
Rémi Verschelde
3229194dfc
Merge pull request #67215 from Nidjo123/project-dialog-resize
...
Resize project dialog only when necessary
2022-10-11 23:26:37 +02:00
Paulb23
f3eb543e67
Fix select word under caret using caret col instead of line
2022-10-11 20:32:06 +01:00
Nikola Bunjevac
d7e9b8af9a
Set window size after setting new limits
...
Otherwise this can fail as the size may not fit
into current limits. This is problematic at least
on X11.
2022-10-11 17:16:20 +02:00
Micky
43b9cc96da
Rename Camera2D's smoothing
to position_smoothing
...
For Camera2D:
`smoothing_enabled` -> `position_smoothing_enabled`
`set_enable_follow_smoothing` -> `set_position_smoothing_enabled`
`is_follow_smoothing_enabled` -> `is_position_smoothing_enabled`
`smoothing_speed` -> `position_smoothing_speed`
`set_follow_smoothing` -> `set_position_smoothing_speed`
`get_follow_smoothing` -> `get_position_smoothing_speed`
2022-10-11 16:51:26 +02:00
Rémi Verschelde
042e81f663
Merge pull request #40274 from Juankz/clips_importing_improvement
...
Add animation slices for individual animations
2022-10-11 16:18:22 +02:00
Rémi Verschelde
646d59e713
Merge pull request #63271 from Chaosus/fix_texture_error
...
Fix error emitting when opening some textures in the inspector
2022-10-11 16:17:15 +02:00
Rémi Verschelde
6d534f6e89
Merge pull request #66221 from Mickeon/painstakingly-appending-ds-en-you-tea-es
...
Rename remaining "*_enable" to "*_enabled"
2022-10-11 16:17:02 +02:00
Rémi Verschelde
f21053d189
Merge pull request #67201 from progsource/richtextlabel-icon-spritesheet
...
Add Spritesheet support to RichTextLabel BBCode
2022-10-11 13:58:54 +02:00
Yingnan Wu
042d228558
fix typo
2022-10-11 19:58:25 +08:00
Petra Baranski
546e017613
Add Spritesheet support to RichTextLabel BBCode
...
BBCode: [img region=0,0,16,16]res://icon.svg[/img]
2022-10-11 13:04:15 +02:00
Rémi Verschelde
e413d1c9c3
Merge pull request #67104 from Calinou/add-viewport-transparent-project-setting
...
Add a project setting to make the root viewport transparent
2022-10-11 09:28:43 +02:00
Rémi Verschelde
5606551028
Merge pull request #67219 from KoBeWi/adJUSt_NAMe_cAsIng_PRopERLY
...
Fix node name casing issues
2022-10-11 09:27:27 +02:00
Rémi Verschelde
6b8772dbb2
Merge pull request #67192 from RedMser/light-scale-warning
...
Show warning when scaling Light3D nodes
2022-10-11 09:26:56 +02:00
Rémi Verschelde
55815998d4
Merge pull request #67194 from RedMser/dirlight2d-height-suffix
...
Remove incorrect `px` suffixes
2022-10-11 09:26:49 +02:00
bruvzg
2e1fcbe14b
Prevent Popup
s it the edited scene tree from closing on focus loss. Hide irrelevant Popup
flags from the editor inspector.
2022-10-11 08:55:00 +03:00
Juan Velandia
6e603f202f
Connect signal animation_removed to its proper method
2022-10-10 18:39:49 -05:00
kobewi
b754df2b99
Fix node name casing issues
...
Co-authored-by: ryburnj <jordanryburn@gmail.com>
2022-10-10 22:31:26 +02:00
RedMser
87aeb59b5b
Show warning when scaling Light3D nodes
2022-10-10 18:24:28 +02:00
RedMser
a8a4e290fb
Remove incorrect px suffixes
2022-10-10 18:18:15 +02:00
Rémi Verschelde
8017827144
SCons: Re-enable treating #warning
as error with werror
...
Replace all TODO uses of `#warning` by proper TODO comments, and will open
matching bug reports to keep track of them.
We don't have a great track record fixing TODOs, but I'd wager we're even
worse for fixing these "TODO #warning" so we should prohibit this usage.
2022-10-10 16:12:26 +02:00
Rémi Verschelde
8c24b35b76
Merge pull request #65942 from SaracenOne/animation_change_callback_fix
...
Fix animation change callbacks
2022-10-10 13:53:53 +02:00
Rémi Verschelde
ddb97a0b35
Merge pull request #67117 from Jummit/tree-button-color
...
Expose TreeItem::set_button_color
2022-10-10 13:52:57 +02:00
Rémi Verschelde
4be5660223
Merge pull request #67145 from Paulb23/tab_textedit
...
Fix inserting tabs in TextEdit
2022-10-10 13:52:42 +02:00
kobewi
14b82c36a2
Defer clearing of ResourceUID cache and silence warnings
2022-10-10 11:20:23 +02:00
Rémi Verschelde
104af08e9d
Merge pull request #65805 from MewPurPur/improve-breakpoint-hovering
...
Improve bookmark and breakpoint indicators
2022-10-10 10:03:26 +02:00
VolTer
d6e60f45a1
Improved breakpoints hover indicator
2022-10-10 04:36:45 +02:00
Haoyu Qiu
eac9adf7a1
Don't allow removing TextEdit's main caret
2022-10-10 08:30:23 +08:00
Paulb23
7333aa68f4
Handle tab in TextEdit
2022-10-09 17:46:40 +01:00
Rémi Verschelde
6f6482e82b
Merge pull request #67083 from RedMser/label-font-warning
...
Add warning for missing characters in label font
2022-10-09 18:29:06 +02:00
Rémi Verschelde
7c1e15bfb9
Merge pull request #67076 from timothyqiu/hint-enum-suffix
...
Remove invalid suffix hint for enum property
2022-10-09 18:27:59 +02:00
Rémi Verschelde
49be2d2cf8
Merge pull request #66524 from microaeris/aeris/text-edit-get-scroll-bar
...
Getters for TextEdit scroll bars
2022-10-09 18:27:30 +02:00
Jummit
1e28675560
Expose TreeItem::set_button_color
2022-10-09 10:37:55 +02:00
Hugo Locurcio
bab8497fa2
Add a project setting to make the root viewport transparent
...
This allows recording videos with a transparent background without
having to create a script.
2022-10-09 00:16:07 +02:00
Haoyu Qiu
2a921cc9f8
Fix Label text length mismatch after localization
2022-10-08 23:07:19 +08:00
RedMser
9579d49820
Add warning for missing characters in label font
2022-10-08 17:02:25 +02:00
Rémi Verschelde
2b376437a2
Merge pull request #65983 from Mickeon/rename-audio-player-volume-db
...
Rename AudioStreamPlayer3D's `unit_db` to `volume_db`
2022-10-08 13:56:10 +02:00
Rémi Verschelde
0a129645ac
Merge pull request #67062 from timothyqiu/enum-space
...
Remove leading spaces from enumerator name hints
2022-10-08 13:55:58 +02:00
Haoyu Qiu
95c860c607
Remove invalid suffix hint for enum property
2022-10-08 19:24:54 +08:00
microaeris
215fe852b8
Getters for TextEdit scrollbars
2022-10-07 23:16:04 -07:00
Haoyu Qiu
344ed9ec6c
Remove leading spaces from enumerator name hints
...
For `PROPERTY_HINT_ENUM` properties, enumerator names can be provided as
a comma separated list. There're a few properties that add leading
spaces to the names (e.g. `First, Second, Third`).
These spaces are included in the Inspector dropdown, which is
unexpected.
It's better to leave the surrounding spaces untouched because it could
be part of the resulting string value (the variable is a string enum).
And most other enum hints don't contain surrounding whitespaces.
This PR removes the spaces and documents this `PROPERTY_HINT_ENUM`
behavior.
2022-10-08 11:33:50 +08:00
Arthur J
b18a553a06
declare "_validate_property" as protected
...
In other classes, the function _validate_property is declared as protected (in the case of Area2D), but in Area3D it's declared as private, which causes compile errors when trying to extend the class in a C++ module for example.
2022-10-07 18:36:37 -03:00
Cykyrios
f0d7934055
Fix invalid tooltip position
2022-10-07 22:43:49 +02:00
Rémi Verschelde
c723125dfc
Merge pull request #67020 from GuilhermeGSousa/remove-transition-expression-node
...
Remove expression base node for transitions
2022-10-07 14:23:00 +02:00
Guilherme Sousa
12940e53c1
Remove expression base node for transitions
2022-10-07 11:13:43 +02:00
bruvzg
0103af1ddd
Fix MSVC warnings, rename shadowed variables, fix uninitialized values, change warnings=all to use /W4.
2022-10-07 11:32:33 +03:00
Rémi Verschelde
5b7f62af55
Merge pull request #62910 from Vitika9/gsoc-colorpicker-ux
...
ColorPicker UX
2022-10-07 09:49:29 +02:00
bruvzg
a750ca7ec1
Add split caret direction markers. Fix block/overtype caret size.
2022-10-07 08:45:52 +03:00
Gilles Roudière
64e0c138d9
Fix TileMap occluders having a wrong transform
2022-10-06 14:06:33 +02:00
Rémi Verschelde
70d8895396
Merge pull request #66954 from Nidjo123/sample-baked-up-vector
...
Handle last baked vector index early
2022-10-06 08:56:59 +02:00
Rémi Verschelde
d414872bfe
Merge pull request #66961 from Rindbee/fix-set_custom_color
...
Fix wrong condition used in `set_custom_color`
2022-10-06 08:56:52 +02:00
Rémi Verschelde
48e6f84295
Merge pull request #66951 from rburing/restore_recovery_as_collision
...
Revert "Turn on recovery as collisions only for floor snapping"
2022-10-06 08:56:44 +02:00
Rémi Verschelde
f5903215d0
Merge pull request #61902 from Paulb23/multi-caret
...
Add Multi-caret support to TextEdit
2022-10-06 08:56:34 +02:00
Rindbee
f359abbe01
Fix wrong condition used in set_custom_color
2022-10-06 12:09:02 +08:00
Nikola Bunjevac
e903362269
Handle last baked vector index early
2022-10-06 00:27:46 +02:00
Markus Sauermann
c0f0f26615
Fix Control not disconnecting signal
...
If a Control has not parent CanvasItem and is set as top_level, then it does not disconnect from the "size_changed" signal when it leaves the Canvas.
This patch corrects this.
2022-10-05 23:35:44 +02:00
Ricardo Buring
311cdd2571
Revert "Turn on recovery as collisions only for floor snapping as this leads to unwanted behaviour for other surface than the floor."
...
This reverts commit 10395f5df2
.
2022-10-05 22:51:29 +02:00
Paulb23
e9180241e8
Add multi caret support to CodeEdit
2022-10-05 17:19:26 +01:00
Paulb23
4a9d4e3dad
Add mutliple Caret support to TextEdit
2022-10-05 17:19:26 +01:00
Rémi Verschelde
57ffc4d82c
Merge pull request #66560 from MisterMX/fix/tileset-move-custom-data-layer
...
fix(tileset): Move custom data layer
2022-10-05 13:39:46 +02:00
Rémi Verschelde
5b6ccf2fd2
Merge pull request #66720 from qarmin/unintialized_memory
...
Remove usage of unitialized variables
2022-10-05 11:42:47 +02:00
Rémi Verschelde
9cd62741bb
Merge pull request #66839 from aaronfranke/editor-prop-hide-slider
...
Fix `hide_slider` vs `no_slider` inconsistency in editor property code
2022-10-05 08:47:06 +02:00
Rémi Verschelde
132a0e3242
Merge pull request #66770 from EricEzaM/search-by-event
...
Add searching by event in Editor Settings shortcuts and Project Settings input map.
2022-10-05 08:34:45 +02:00
Rémi Verschelde
9513034b88
Merge pull request #66911 from clayjohn/imagetexture3d
...
Properly assign texture RID when creating ImageTexture3D
2022-10-05 08:32:11 +02:00
Rémi Verschelde
57d7e35370
Merge pull request #66509 from Mickeon/yes
...
Support chaining AtlasTextures inside other AtlasTextures
2022-10-05 08:29:17 +02:00
clayjohn
7fdb460e5d
Properly assign texture RID when creating ImageTexture3D
2022-10-04 15:04:55 -07:00
Luis Lopez
c262589e26
Add rotation smoothing to Camera2D
...
Camera2D has follow smoothing to interpolate towards a target position, but no rotation smoothing to align with the target rotation.
This adds rotation smoothing directly into the Camera2D API by having two new properties:
- `rotation_smoothing_enabled`
- `rotation_smoothing_speed`
2022-10-04 17:14:03 +02:00
Micky
1518d813be
Support nesting AtlasTextures inside other AtlasTextures
...
Connects AtlasTexture to its `atlas`'s "changed" signal, allowing it to detect property changes to `atlas` and update accordingly, when the project is running and in the editor, as well.
2022-10-04 17:09:37 +02:00
Rémi Verschelde
2b9a145158
Merge pull request #66869 from Sauermann/fix-transform-det-0-spam
...
Fix Transform2D det == 0 spam for SubViewports
2022-10-04 12:05:37 +02:00
Rémi Verschelde
6a251fd0df
Merge pull request #39072 from dalexeev/cs2d_debug_color
...
Add debug_color property to CollisionShape2D
2022-10-04 12:05:19 +02:00
Markus Sauermann
650cc16b05
Fix Transform2D det == 0 spam for SubViewports
2022-10-04 11:48:39 +02:00
Rémi Verschelde
1c6e8f7e62
Merge pull request #66712 from Cykyrios/fix-invalid-popup-position
...
Fix invalid popup position for embedded popups
2022-10-04 11:19:50 +02:00
Rémi Verschelde
38dd753715
Merge pull request #66859 from Rindbee/reset-gui_parent
...
Make sure to reset the tooltip of its gui_parent when the viewport is removed
2022-10-04 10:32:51 +02:00
Rémi Verschelde
02e9e2d3c0
Merge pull request #66559 from zaevi/fix_ScrollContainer_touch_scroll
...
Fix ScrollContainer touch-scrolling not working.
2022-10-04 10:30:31 +02:00
Rémi Verschelde
163582de58
Merge pull request #62188 from MaeIsBad/MaeIsBad/master
...
Move "Create Debug Tangents" on MeshInstance3D into an editor plugin
2022-10-04 10:29:11 +02:00
Rémi Verschelde
9928cdc2e7
Merge pull request #66807 from akien-mga/core-unix-remove-NO_FCNTL-and-NO_STATVFS
...
Unix: Remove now unnecessary I/O defines, cleanup
2022-10-04 10:22:29 +02:00
Rindbee
9a05ea231a
Make sure to reset the tooltip of its gui_parent when the viewport is removed
2022-10-04 11:58:02 +08:00
bad
a052ebaa99
Move "Create Debug Tangents" into an editor plugin
...
Instead of exporting the "create_debug_tangents" function via
METHOD_FLAG_EDITOR it gets executed by an editor plugin.
This moves it from the "Manage object properties" menu into a mesh menu. It also adds undo/redo functionality to the create debug tangents option.
2022-10-03 23:34:01 +02:00
Cykyrios
2237df6273
Fix invalid popup position for embedded popups
2022-10-03 21:23:32 +02:00
Aaron Franke
094e8db97c
Fix hide_slider vs no_slider inconsistency in editor property code
2022-10-03 13:40:31 -05:00
Yuri Rubinsky
a656dcec01
Fix boolean connection to ports of other types in visual shader
2022-10-03 20:20:00 +03:00
Paulb23
7dd3857f7e
Move selecion into caret
2022-10-03 14:09:27 +01:00
Rémi Verschelde
306cbeb9fc
Merge pull request #66748 from EricEzaM/66308-66403-menubutton-improvements
...
Improve MenuButton and OptionButton
2022-10-03 14:51:45 +02:00
Rémi Verschelde
f501e4f665
Unix: Remove now unnecessary I/O defines, cleanup
...
- `LIBC_FILEIO_ENABLED` wasn't defined anywhere, even in _other platforms_.
- `NO_NETWORK` is also never defined. It probably isn't enough anyway to
disable network APIs in the current codebase.
- `UNIX_SOCKET_UNAVAILABLE` is never defined in this code but used by some
other platforms, clarify that.
- `NO_STATVFS` can be removed as Android supports it since API level 19,
which is our current min SDK level. It's also only used for
`DirAccessUnix::get_space_left()` which is anyway overridden by
`DirAccessJAndroid::get_space_left()` so it shouldn't make a difference.
* Fixed documentation for `DirAccess.get_space_left()`.
- `NO_FCNTL` is likely also a remnant of early Android days, in current NDK
r23 it seems to be available. Also cleaned up unused `fcntl.h` includes.
- `NO_ALLOCA` is never defined, and we use alloca in many places now.
2022-10-03 12:33:41 +02:00
EricEzaM
272c297931
Improve MenuButton and OptionButton
...
* MenuButton + OptionButton: Add method `show_popup()` which performs required popup setup before showing (prefer use of this over `get_popup()->popup()`, otherwise GH #66308 occurs)
* MenuButton: Ensure that the menu can be opened with a shortcut, if one is set for the button. (GH #66403 ). Ensure that popupmenu item shortcuts are checked first before the MenuButton shortcut.
2022-10-03 20:07:39 +10:00
EricEzaM
cb6d7fd059
Add searching by event for Editor Settings shortcuts and Project Settings input map.
...
* Focus into the LineEdit, then perform input to search the list of events by the events assigned.
* New specialised editor-only control for this: EventListenerLineEdit. Line edit is a good candidate for such a control because you can focus it, override it's input handling, and show the event all in one control.
Update InputEventConfigurationDialog to use event listener line edit rather than the separate tabs.
* Cleaner look - no need for tabs.
* Simpler code.
2022-10-03 19:56:34 +10:00
Rémi Verschelde
54418ea659
Remove NO_THREADS fallback code, Godot 4 requires thread support
...
This also removes `OS::can_use_threads` from the public API since it's always
true.
2022-10-03 11:23:26 +02:00
EricEzaM
2a7e61457a
Allow shortcut input to be JoypadButton.
2022-10-02 17:11:18 +10:00
Rafał Mikrut
2233624152
Remove usage of unitialized variables
2022-10-01 21:09:22 +02:00
Rémi Verschelde
e69b7083d4
Merge pull request #65903 from groud/improve_terrain_painting
...
Right-click to erase TileSet terrains and bugfixes
2022-09-30 17:44:48 +02:00