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
Rémi Verschelde
929333fe26
Merge pull request #62179 from Rindbee/fix-popup_center-off-center
...
Use min_size/max_size to limit window size and position while popup center
2023-02-07 16:30:41 +01:00
Rémi Verschelde
743e26d4f9
Merge pull request #72829 from Sauermann/fix-code-simplifications
...
Some code simplifications
2023-02-07 16:30:22 +01:00
Rémi Verschelde
7ebd8b502d
Merge pull request #71768 from Sauermann/fix-vp-mouse-position
...
Fix Viewport::get_mouse_position for SubViewports
2023-02-07 16:30:13 +01:00
Markus Sauermann
826e54fa73
Some code simplifications
...
1. `number_width` isn't used later
2. `return_type` is used only once
3. AudioServer::get_singleton()->get_channel_count() always returns a channel_count of 1 or larger
4. negative `aa->backward` conditional
5. `current_canvas` == `find_world_2d()->get_canvas()`
6. identical if `render_shadows`
2023-02-07 14:30:16 +01:00
Rindbee
c73844f117
Use min_size/max_size to limit the window size and the position while popup center
2023-02-07 21:28:26 +08:00
kobewi
095c805079
Fix sub-resource IDs resetting when preloaded
2023-02-07 14:13:22 +01:00
Markus Sauermann
5312d83f3b
Fix Viewport::get_mouse_position for SubViewports
...
SubViewports don't have a cached mouse position available.
This PR calculates the mouse position from the screen position of
the mouse cursor.
2023-02-07 13:54:47 +01:00
Rémi Verschelde
3f02cf7ced
Merge pull request #72722 from TokageItLab/animtree-map
...
Fix AnimationNodeTransition initialization and AnimationNode remapping method
2023-02-07 08:36:00 +01:00
Rémi Verschelde
cd0f1e9b10
Merge pull request #72740 from Sauermann/fix-event-device-id
...
Fix mouse/drag/touch InputEvents having no device id
2023-02-06 23:51:26 +01:00
Rémi Verschelde
bea2dea15d
Merge pull request #71677 from Sauermann/fix-emulate-touch-passthrough
...
Fix MOUSE_FILTER_STOP not affecting emulated mouse events
2023-02-06 22:52:01 +01:00
Rémi Verschelde
fe2cd2e6b1
Merge pull request #72770 from Kabiirk/Control-has-point-doc-update
...
Fix description and argument name in `Control._has_point`
2023-02-06 22:50:47 +01:00
Markus Sauermann
8748f4dcaa
Fix mouse/drag/touch InputEvents having no device id
...
Some internally created emulated/instantiated events didn't have a
device id. This PR sets for these cases a device id.
Also rename `DEVICE_ID_TOUCH_MOUSE` to the more generic
`DEVICE_ID_EMULATION`.
2023-02-06 22:49:42 +01:00
Rémi Verschelde
e0619a658e
Merge pull request #69185 from Sauermann/fix-optionpopup-screentransform
...
Fix Screen-Transform missing in Button Size in OptionButton::show_popup
2023-02-06 22:49:34 +01:00
Markus Sauermann
262d84fa90
Fix MOUSE_FILTER_STOP not affecting emulated mouse events
...
Touch and Drag events are now stopped by MOUSE_FILTER_STOP
2023-02-06 22:31:03 +01:00
Kabiir
17ee6fcf03
Fix description and argument name in Control._has_point
2023-02-07 02:29:28 +05:30
Yuri Sizov
5964e4c202
Merge pull request #72727 from TokageItLab/fix-audio-retrieve
...
Fixed animation audio to play considering time when seeking
2023-02-06 23:15:48 +03:00
Markus Sauermann
084a4addc4
Fix Screen-Transform missing in Button Size in OptionButton::show_popup
...
The button size is affected by the screen transform, which was previously
not taken into consideration.
2023-02-06 20:58:57 +01:00
Rémi Verschelde
82ff7b4bce
Merge pull request #68492 from Sauermann/fix-picking-sort
...
Fix propagation order for 2D physics picking events
2023-02-06 15:38:38 +01:00
Yuri Sizov
9d3b4b0b40
Merge pull request #72204 from MinusKube/anchorable_rect_editor_bug
...
Fix get_parent_anchorable_rect() not returning the correct size in some cases
2023-02-06 16:28:19 +03:00
Pedro J. Estébanez
5131b81a4d
Enhance label sizing algorithm
2023-02-06 14:12:29 +01:00
Patrick Dawson
80ae3feca7
Avoid returning self from `_get_base_font_or_default()`
2023-02-05 04:37:59 +01:00
Markus Sauermann
6e855e3820
Fix propagation order for 2D physics picking events
...
This patch adds a viewport-configuration-option for sorting
physics-picking events by the Z-Index and the scene tree position
of the collision objects.
2023-02-04 22:44:36 +01:00
Silc Renew
fff3ae1d89
Fix NodeTransition initialization and AnimationNode remapping method
2023-02-05 06:24:14 +09:00
Silc Renew
b9b8130432
Fixed animation audio to play considering time when seeking
2023-02-05 03:57:52 +09:00
Stanislav Labzyuk
0c766ef271
Fix unlimited text rendering in Tree if width <= 0
2023-02-04 16:17:42 +01:00
Rémi Verschelde
ea5cf7d4b8
Merge pull request #72655 from smix8/navigationmesh_bake_aabb_fix_4.x
...
Fix NavigationMesh baking AABB Editor handling and visuals
2023-02-04 00:21:33 +01:00
Yuri Sizov
e14cacb8da
Merge pull request #71862 from RedMser/splitcontainer-fixes
...
Fix SplitContainer rendering and theming
2023-02-03 23:09:18 +03:00
Maxim Kulkin
5adc7e397e
Fix LineEdit not consuming events
...
The most important issue is LineEdit not consuming
"ui_text_submit" event which makes pressing Enter after
editing escape to other components causing unwanted
interactions.
Also fix handling mouse button interactions not consuming
some events.
Also implement early return in case we know which event
type it is and there is no point in checking other event
types.
PS I'm also suspicious that mouse motion events also need
to be consumed, but haven't explored those cases.
2023-02-03 14:38:12 -05:00
Rémi Verschelde
ecbf087324
Merge pull request #72665 from KoBeWi/sneaky_ParallaxBackground_destroys_the_world
...
Fix Camera2D crash due to ParallaxBackground node
2023-02-03 15:45:33 +01:00
Rémi Verschelde
c09445de2a
Merge pull request #72660 from Chaosus/vs_fix_instance_previews
...
Prevent preview error for the instance parameter in visual shader
2023-02-03 15:43:11 +01:00
kobewi
7331750618
Fix Camera2D crash due to ParallaxBackground node
2023-02-03 15:36:08 +01:00
Rémi Verschelde
388e3eb8b7
Merge pull request #72570 from DarkKilauea/nav-cleanup-agent
...
Improve consistency of NavigationAgent setters
2023-02-03 15:35:49 +01:00
Yuri Rubinsky
c0a3129210
Prevent preview error for the instance parameter in visual shader
2023-02-03 15:28:04 +03:00
smix8
7caf08ec75
Fix NavigationMesh baking AABB Editor handling and visuals
...
Fixes handling and visuals for Navigation Mesh baking AABB in the Editor.
2023-02-03 11:54:13 +01:00
Danil Alexeev
fb107e04d3
Fix `RichTextLabel` context menu not customizable
2023-02-03 12:07:36 +03:00
Josh Jones
20fdfd466b
Improve consistency of NavigationAgent setters
2023-02-02 22:51:37 -08:00
Markus Sauermann
e3e9da78e8
Remove `Viewport::_get_input_pre_xform`
...
This function is only relevant for `Window`. So this PR moves
the functionality to the `Window`-class.
2023-02-02 22:03:52 +01:00
Rémi Verschelde
a16b0fec40
Merge pull request #72618 from Sauermann/fix-simplify-set-size
...
Simplify Viewport::_set_size
2023-02-02 21:05:51 +01:00
Rémi Verschelde
d1589a9492
Merge pull request #72601 from Calinou/primitivemesh-uv2-padding-add-property-hint
...
Add a property hint for PrimitiveMesh's `uv2_padding`
2023-02-02 21:05:02 +01:00
Markus Sauermann
6743ac34d3
Simplify Viewport::_set_size
...
`Viewport.to_screen_rect` is used only in a single location to compare it
to `Rect2i()`.
When called from `SubViewport`, `to_screen_rect` is always equal to `Rect2i()`.
When called from `Window`, `to_screen_rect` is always different from `Rect2i()`.
So the comparison `to_screen_rect != Rect2i()` can be replaced by
`Object::cast_to<Window>(this)`.
This allows the removal of `Viewport.to_screen_rect` and the simplification of
`Viewport::_set_size`.
2023-02-02 19:09:14 +01:00
Yuri Sizov
18e827ee46
Merge pull request #72613 from Sauermann/fix-toplevel-top-level
...
Fix toplevel nomenclature
2023-02-02 20:49:20 +03:00
Markus Sauermann
3bc426c9d8
Fix toplevel nomenclature
...
toplevel was 3.x
top_level is 4.x
2023-02-02 17:37:41 +01:00
Rémi Verschelde
1d61150f8f
Merge pull request #72509 from TokageItLab/seekcon
...
Consistent with NodeTimeSeek parameters OtherNodes
2023-02-02 16:27:19 +01:00
Hugo Locurcio
dc06575475
Add a property hint for PrimitiveMesh's `uv2_padding`
...
Negative values are not valid and will always cause lightmap bleeding
to occur.
This also improves the documentation for the `uv2_padding` property
in the class reference.
2023-02-02 14:55:51 +01:00
Rémi Verschelde
d8037528f0
Merge pull request #72513 from TokageItLab/remove-rename-param-anim
...
Remove the meaningless API `rename_parameter()` in AnimationTree
2023-02-02 09:35:40 +01:00
Rémi Verschelde
9c84aae940
Merge pull request #72471 from mbrlabs/blink
...
Always show caret when moving in LineEdit
2023-02-02 09:35:16 +01:00
kobewi
724d6581d6
Fix Camera2D crashes
2023-02-01 23:49:02 +01:00
Silc Renew
2a39b5bcde
Remove meaningless `rename_parameter` in AnimationTree
2023-02-01 23:14:36 +09:00
Silc Renew
6782edd5a4
Consistent with NodeTimeSeek parameters OtherNodes
2023-02-01 20:58:36 +09:00
Rémi Verschelde
e52213e2fa
More codespell fixes, do more changes from previous ignore list
2023-02-01 12:11:36 +01:00
Rémi Verschelde
2852d5e613
Merge pull request #67331 from Sauermann/fix-subviewport-no-stretch-update
...
Fix stretch transform when resizing SubViewports
2023-02-01 11:10:01 +01:00
Rémi Verschelde
e044b56ccf
Merge pull request #72497 from bruvzg/x11_ime_popup_focus
...
[X11] Fix IME subwindow in the popup not getting input focus.
2023-02-01 11:00:55 +01:00
bruvzg
9f42649823
[X11] Fix IME subwindow in the popup not getting input focus.
2023-02-01 11:10:10 +02:00
Rémi Verschelde
f7397a5ac6
Merge pull request #58610 from Sauermann/fix-physics-mouse
...
Fix execution of physics picking events at unexpected times
2023-02-01 09:41:43 +01:00
Rémi Verschelde
394bb0ee2b
Fix various typos with codespell
...
Finally do the childs -> children rename too.
2023-02-01 08:45:41 +01:00
Markus Sauermann
8182f29d40
Fix stretch transform when resizing SubViewports
...
Move calculation of stretch transform from outside to inside
of `Viewport::_set_size` function.
2023-02-01 08:34:40 +01:00
Rémi Verschelde
d9ade633b3
Merge pull request #71936 from akien-mga/remove-some-unused-signals
...
Remove some unused signals
2023-02-01 07:53:52 +01:00
Rémi Verschelde
e8240031e7
Merge pull request #71479 from raulsntos/virtual-return-type
...
Use enum instead of int in virtual methods return type
2023-02-01 07:45:28 +01:00
Rémi Verschelde
a5be03e59a
Merge pull request #72476 from TokageItLab/graph-signal
...
Fix `scroll_offset_changed` signal doesn't fired when panning `GraphEdit`
2023-02-01 07:43:05 +01:00
Rémi Verschelde
64f0dad2dc
Merge pull request #70446 from akien-mga/meshoptimizer-4a287848f
...
meshoptimizer: Sync with upstream commit 4a287848f
2023-02-01 07:40:23 +01:00
Rémi Verschelde
ab4d8df163
Merge pull request #72485 from BastiaanOlij/add_eye_matrix_access
...
Expose EYE_OFFSET to gdshader code
2023-02-01 07:33:18 +01:00
Rémi Verschelde
df68909da4
Merge pull request #72459 from KoBeWi/debinds
...
Add unbinds to `scn`
2023-02-01 07:31:17 +01:00
Rémi Verschelde
3eb1ac9fd2
Merge pull request #72075 from Maran23/extents-to-size
...
Replace Extents with Size in VoxelGI, ReflectionProbe, FogVolume, Decal and GPUParticles*3D
2023-02-01 07:30:09 +01:00
Rémi Verschelde
a350b42e4b
Merge pull request #72473 from aXu-AP/animatablebody3d-editor-move-fix
...
Fix AnimatableBody3D not being movable in editor
2023-02-01 07:28:47 +01:00
Rémi Verschelde
cf9df3b5d4
meshoptimizer: Sync with upstream commit 4a287848f
...
4a287848fd
2023-01-31 22:27:49 -08:00
Rémi Verschelde
51414fc987
Merge pull request #66906 from Sauermann/fix-prohibit-inconsistent-size-state
...
Prohibit inconsistent size state for SubViewport
2023-02-01 07:26:00 +01:00
Rémi Verschelde
d8e71dc51a
Merge pull request #72450 from TokageItLab/optional-restart
...
Make restart in NodeStateMachine / NodeTransition optional
2023-02-01 07:24:05 +01:00
Rémi Verschelde
67ab9d85d4
Merge pull request #71543 from smix8/navigation_agent_debug_4.x
...
Add NavigationAgent Path Debug Visualization
2023-02-01 07:23:24 +01:00
kobewi
7780b40a3a
Add unbinds to scn
2023-02-01 03:03:55 +01:00
Bastiaan Olij
8c77aea9ab
Expose EYE_OFFSET to gdshader code
2023-02-01 12:39:13 +11:00
Silc Renew
8f21f637e2
Fix scroll_offset_changed signal doesn't fired when panning GraphEdit
2023-02-01 07:11:35 +09:00
Markus Sauermann
decbda68d7
Prohibit inconsistent size state for SubViewport
...
Prohibit size changes of SubViewports with parent SubViewportContainers that have stretch mode enabled.
2023-01-31 22:53:43 +01:00
aXu-AP
fab6065e35
Fix AnimatableBody3D not being movable in editor
2023-01-31 23:41:40 +02:00
Marcus Brummer
a54cb5b07b
Always show caret when moving in LineEdit
2023-01-31 20:56:06 +01:00
Yuri Rubinsky
0810ecaafd
Merge pull request #72436 from Chaosus/vs_switch_improvement
2023-01-31 22:55:42 +03:00
Marius Hanl
a59819630d
Replace Extents with Size in VoxelGI, ReflectionProbe, FogVolume, Decal and GPUParticles*3D
...
- Extents are replaced by Size (Size is Extents * 2)
- The UI text displays 'Size'
- Snapping is adjusted to work with Size
- _set and _get handle extents for compatibility
Co-authored-by: ator-dev <dominic.codedeveloper@gmail.com>
2023-01-31 20:04:11 +01:00
Silc Renew
4525181c2d
Make restart in NodeStateMachine / NodeTransition optional
2023-02-01 03:57:11 +09:00
Raul Santos
9e9eac4676
Use enum instead of int in virtual methods return type
2023-01-31 19:06:49 +01:00
Rémi Verschelde
935a6ef46b
Merge pull request #72425 from smix8/default_physics_space_on_demand_only_4.x
...
Create default World physics spaces on demand only
2023-01-31 18:56:35 +01:00
Rémi Verschelde
14a4408e02
Merge pull request #65698 from KoBeWi/cameraman
...
Rework how current Camera2D is determined
2023-01-31 18:56:20 +01:00
Rémi Verschelde
b342dcdf04
Remove some unused signals
...
Part of #37604 .
2023-01-31 18:54:04 +01:00
smix8
0ab764e84b
Add NavigationAgent Path Debug Visualization
...
Adds path debug visuals for NavigationAgent2D, NavigationAgent3D and NavigationServer.
2023-01-31 18:27:35 +01:00
smix8
026549db2e
Create default World physics spaces on demand only
...
Changes that the default physics spaces of World resources are only created on first use.
2023-01-31 18:26:52 +01:00
Rémi Verschelde
2b710bc336
Fix MSVC shadow local warning
2023-01-31 18:06:21 +01:00
Rémi Verschelde
1c42e141d0
Merge pull request #59310 from Sauermann/proposal-event-transform
...
Calculate window input event transform only on window change
2023-01-31 15:57:07 +01:00
Rémi Verschelde
92a6586fb6
Merge pull request #72396 from TokageItLab/bs1dconsist
...
Consistent with NodeBlendSpace1D option NodeBlendSpace2D
2023-01-31 15:55:53 +01:00
Rémi Verschelde
4cfdd25384
Merge pull request #67507 from Sauermann/fix-toplevel-root-control-node
...
Fix event propagation to child after set_as_toplevel
2023-01-31 15:55:46 +01:00
Rémi Verschelde
7665497261
Merge pull request #72449 from lyuma/override_pose_cleanup
...
BoneAttachment3D: Remove duplicate override_pose
2023-01-31 13:19:43 +01:00
SaracenOne
eff3828896
Force update AnimationTree player cache when AnimationPlayer changes.
2023-01-31 11:32:05 +00:00
Lyuma
0020d2aeb6
BoneAttachment3D: Remove duplicate override_pose
...
Also removes unused override_mode property since we removed the local pose override feature in #71137 .
Fixes #72407
2023-01-31 03:31:47 -08:00
Rémi Verschelde
5bcf016f11
Merge pull request #62737 from kidrigger/gdext_videodecoder
...
Updates VideoDecoder plugin API to GDExt.
2023-01-31 11:04:56 +01:00
Rémi Verschelde
99a44f8469
Merge pull request #69248 from vonagam/fixing-typed-arrays
...
GDScript: Fix typed arrays
2023-01-31 11:04:21 +01:00
Dmitrii Maganov
5909f9f075
GDScript: Fix issues with typed arrays
2023-01-31 11:54:41 +02:00
Rémi Verschelde
d14d6033a5
Merge pull request #72441 from bruvzg/lbl3d_aaa
...
[Sprite3D/Label3D] Expose alpha antialiasing properties.
2023-01-31 10:54:13 +01:00
Rémi Verschelde
5a5e262f5b
Merge pull request #72437 from lyuma/lightmap_custom_uv
...
Implement custom uvs for Static Lightmap imported gltf
2023-01-31 10:53:52 +01:00
Rémi Verschelde
c8446754dd
Merge pull request #72357 from aaronfranke/area-gravity-unit-dist
...
Replace Area gravity point distance scale with unit distance
2023-01-31 10:53:16 +01:00
bruvzg
b4fe514aa3
[Sprite3D/Label3D] Expose alpha antialiasing properties.
2023-01-31 10:46:38 +02:00
Yuri Rubinsky
bcecb4fe37
Use mix for vector types in switch node in the visual shader
2023-01-31 09:45:27 +03:00
Lyuma
03692c715e
Implement custom uvs for Static Lightmap imported gltf
2023-01-30 22:37:38 -08:00
anish bhobe
42a9c33fad
Updates VideoDecoder plugin API to GDExtension.
...
Adds VideoStream and relevant resource loaders to migrate
external GDNative plugins to GDExtension.
Adds a VideoStreamLoader as a specialization of ResourceFormatLoader
as ClassDB::is_parent_class is inaccessible from GDExtension currently.
Using Object* instead of Ref<T> in order to avoid the refcount bug
(godotengine/godot-cpp#652 )
Also another bug is in ResourceLoader in use on the extension side that
requires fixing.
2023-01-30 18:39:29 -08:00
Rémi Verschelde
186447d4c5
Merge pull request #72208 from bruvzg/rtl_fix_thr_crash
...
[RichTextLabel] Fix thread unsafe `set_physics_process_internal` usage. Use `WorkerThreadPool` instead of creating new threads.
2023-01-30 20:27:31 +01:00
Rémi Verschelde
73c1fa9826
Merge pull request #72383 from MewPurPur/correct-tween-errors
...
Fix error messages for {}Tweener.new()
2023-01-30 20:27:06 +01:00
bruvzg
0cc1f4240a
[RichTextLabel] Fix thread unsafe `set_physics_process_internal` usage. Use `WorkerThreadPool` instead of creating new threads.
2023-01-30 20:47:45 +02:00
Silc Renew
a0c4f849e0
Consistent with NodeBlendSpace1D option NodeBlendSpace2D
...
Co-authored-by: Skrapion <rick@firefang.com>
2023-01-31 02:14:55 +09:00
VolTer
5313bc90f6
Fix error messages of {}Tweener.new()
2023-01-30 17:58:20 +01:00
Rémi Verschelde
551f5191e5
Merge pull request #72388 from TokageItLab/transition-reset-each
...
Allow the Reset option of NodeTransition to be set for each Input
2023-01-30 17:35:00 +01:00
Silc Renew
2dd3abd0c5
Allow the Reset option of NodeTransition to be set for each Input
2023-01-31 00:40:45 +09:00
Silc Renew
f8d529a232
Allow seek() without assigned animation in AnimationPlayer
2023-01-30 23:54:20 +09:00
Rémi Verschelde
6bdc4ea88c
Merge pull request #72344 from smix8/default_navmap_on_demand_only_4.x
...
Create default World navigation maps on demand only
2023-01-30 13:35:48 +01:00
Rémi Verschelde
bde3310f02
Merge pull request #71995 from Faless/net/4.x_tls_verify
...
[NET] Refactor TLS configuration.
2023-01-30 13:28:31 +01:00
Rémi Verschelde
6c19a619ad
Merge pull request #72365 from groud/warn_ysort_tilemap
...
Warn when a TileMap layer is Y-sorted but not the TileMap node itself.
2023-01-30 13:28:22 +01:00
Gilles Roudière
62c874732d
Warn when a TileMap layer is Y-sorted but not the TileMap node itself.
2023-01-30 10:34:35 +01:00
Rémi Verschelde
38f8411ed8
Merge pull request #71964 from bruvzg/mat_key
...
Fix unsafe murmur3 hash use for the default material keys, expose alpha hash transparency mode for default materials and Label3D and Sprite3D.
2023-01-30 10:03:49 +01:00
Rémi Verschelde
62b0bfd343
Merge pull request #71657 from m4gr3d/increase_scroll_bar_size_for_touchscreen_main
...
Update the size of the scrollbar for the editor on touchscreen devices
2023-01-30 10:03:40 +01:00
Rémi Verschelde
3a1638391b
Merge pull request #72326 from TokageItLab/unlimit-transition
...
Remove the max input limit & cleanup `AnimationNodeTransition` API
2023-01-30 10:03:22 +01:00
Rémi Verschelde
2e0d9efb72
Merge pull request #72115 from AThousandShips/clip_children_fix
...
Hide `clip_children` for some non-drawn CanvasItems
2023-01-30 10:02:54 +01:00
Rémi Verschelde
080c795054
Merge pull request #66266 from Calinou/editor-description-fix-tooltip-update
...
Fix Editor Description tooltip not changing until scene is reopened
2023-01-30 10:01:48 +01:00
Ninni Pipping
bbf203bc32
Hide clip_children for non-drawn CanvasItems
2023-01-30 08:22:06 +01:00
Aaron Franke
79215131b5
Replace Area gravity point distance scale with unit distance
2023-01-29 22:12:00 -06:00
smix8
1bc2c7cb12
Create default World navigation maps on demand only
...
Changes that the default navigation maps of World resources are only created on first use.
2023-01-30 02:51:14 +01:00
Hugo Locurcio
9f026d5274
Fix Editor Description tooltip not changing until scene is reopened
...
You still need to select another node to see the tooltip updated first,
but you no longer need to save and reopen the scene to view the updated
tooltip.
2023-01-30 00:18:13 +01:00
Silc Renew
d27005f80e
Remove the max input limit & cleanup AnimationNodeTransition API
2023-01-30 03:52:55 +09:00
Danil Alexeev
5195f723b9
Improve stroke drawing on 2D collision shapes
2023-01-29 19:07:09 +03:00
Rémi Verschelde
915bdd4b4d
Merge pull request #71896 from poohcom1/fix/autocomplete-substring-filter
...
Fix autocomplete filter not including substrings
2023-01-29 14:10:53 +01:00
Rémi Verschelde
0d36281dff
Merge pull request #72178 from DarkMessiah/fix_graph_edit_minimap_connection
...
Fix connections drawing in GraphEdit minimap
2023-01-29 02:24:54 +01:00
Silc Renew
fa198c482e
Fix AnimatedSprite play() don't redraw immediately
2023-01-29 08:00:42 +09:00
MinusKube
0f512a68dd
Fix get_parent_anchorable_rect() not returning the correct size in some cases
2023-01-28 20:09:24 +01:00
Stanislav Labzyuk
068f4d88f6
Fix connections drawing in GraphEdit minimap
2023-01-28 18:55:14 +01:00
Rémi Verschelde
3a25148b9b
Merge pull request #72228 from DarkKilauea/nav-agent-callable
...
Use Callable for Navigation Agent callbacks
2023-01-28 15:58:49 +01:00
Rémi Verschelde
e5752fdfd3
Merge pull request #72233 from TokageItLab/audio-blending
...
Implement blending audio feature to AnimationTree
2023-01-28 15:58:24 +01:00
Rémi Verschelde
04f7374775
Merge pull request #72157 from Kabiirk/GPUParticles2D-collision-UI-Fix
...
Fixing Inspector Property UI for GPUParticle2D collision_base_size [w.r.t Issue#71942]
2023-01-28 15:54:29 +01:00
Silc Renew
75330887d7
Implement blending audio feature to AnimationTree
2023-01-28 20:08:29 +09:00
Fabio Alessandrelli
adba870534
[NET] Refactor TLS configuration.
...
Use a TLSOptions configuration object which is created via static
functions.
- "TLSOptions.client": uses the standard CA and common name verification.
- "TLSOptions.client_unsafe": uses optional CA verification (i.e. if specified)
- "TLSOptions.server": is the standard server configuration (chain + key)
This will allow us to expand the TLS configuration options to include
e.g. mutual authentication without bloating the classes that uses
StreamPeerTLS and PacketPeerDTLS as underlying peers.
2023-01-28 11:08:02 +01:00
Fredia Huya-Kouadio
63c88df3f7
Add a theme usability setting which updates the touch area of UI elements (e.g: scrollbar) for the editor on touchscreen devices
2023-01-28 00:21:05 -08:00
Josh Jones
22f9ef19e1
Use Callable for Navigation Agent callbacks
2023-01-27 23:14:36 -08:00
Yuri Rubinsky
2afa175195
Merge pull request #72174 from bitsawer/shader_include_fixes
...
Close undefined
Fix undefined
2023-01-28 09:54:41 +03:00
MinusKube
ba472bd29c
Use correct prefix for TextMesh width property
2023-01-28 04:09:10 +01:00
MinusKube
d59c221404
Mark dirty flags when shaped texts are invalidated
2023-01-28 03:31:55 +01:00
Rémi Verschelde
a43db5afa4
Merge pull request #72186 from groud/improve_tileset_3to4_conversion
...
Improve TileSet 3to4 conversion, avoiding some data loss
2023-01-27 19:26:46 +01:00
Rémi Verschelde
aae96945fa
Merge pull request #71470 from YeldhamDev/window_fixes
...
Fix some small bugs in the `Window` node
2023-01-27 19:26:31 +01:00
Gilles Roudière
9a593fa1aa
Improve TileSet 3to4 conversion, avoiding some data loss
2023-01-27 18:44:45 +01:00
Marius Hanl
bcf3c81726
ItemList: Check if the index is out bounds before accessing the internal items
...
The following keys may lead to the exception described above under certain conditions:
- ui_page_up
- ui_page_down
- ui_left
- ui_right
2023-01-27 18:34:18 +01:00
Rémi Verschelde
1bf7b84fbf
Merge pull request #62123 from holgac/bugfix-62097
...
Fix infinite loop in animation compress
2023-01-27 15:42:05 +01:00
Rémi Verschelde
8a1369192e
Merge pull request #72173 from groud/warn_autotile_conversion
...
Warn that autotiles from 3.x cannot be converted automatically to 4.x
2023-01-27 15:41:52 +01:00
Rémi Verschelde
f43fbb593e
Merge pull request #72148 from smix8/tileset_navigationlayers_bitmask_helpers_4.x
...
Add TileSet helper functions to set/get navigation layer bitmask values
2023-01-27 15:40:59 +01:00
Rémi Verschelde
525db733c8
Merge pull request #72129 from groud/unclamp_texture_origin
...
Rename texture_offset and unclamp it
2023-01-27 15:40:52 +01:00
bitsawer
0acaccebaf
Fix several shader preprocessor include issues
2023-01-27 14:37:55 +02:00
Gilles Roudière
0d06ebff2f
Warn that autotiles from 3.x cannot be converted automatically to 4.x
2023-01-27 13:34:57 +01:00
Rémi Verschelde
9d555f5c68
Merge pull request #62499 from fire/gltf-binary-img-compression
...
Handle gltf binary images
2023-01-27 11:35:55 +01:00
smix8
1809915bce
Add TileSet helper functions to set/get navigation layer values
...
Adds helper functions to TileSet to set / get navigation layers bitmask values.
2023-01-27 11:23:34 +01:00
Gilles Roudière
d7f3bd50bd
Rename texture_offset and unclamp it
2023-01-27 11:04:45 +01:00
K. S. Ernest (iFire) Lee
39922d7167
Handle gltf binary
...
[ Ignore and Warn | Extract Textures (default) | Optimize Loading Embedded as Basisu ]
Enable compressed mip maps from Basis Universal for faster compressions.
Increase the quality of Basis to avoid corruption.
To keep compatibility use the first mip of the previous internal Godot format.
Because texture names may have invalid filename characters, adds String::validate_filename to sanitize filenames for import pipeline use.
2023-01-27 02:02:02 -08:00
Rémi Verschelde
3e1925fd00
Merge pull request #58334 from Sauermann/fix-to-gui-or-not-to-gui
...
Fix SubViewportContainer processing Events before other Control-Nodes
2023-01-27 10:39:49 +01:00
Rémi Verschelde
22e1575021
Merge pull request #72167 from dalexeev/line-text-edit-context-menu
...
Fix `LineEdit` and `TextEdit` context menus not customizable
2023-01-27 10:32:34 +01:00
Rémi Verschelde
91c0ed5e33
Merge pull request #71907 from TokageItLab/change-animated-sprite-api
...
Make `AnimatedSprite`'s playback API consistent with `AnimationPlayer`
2023-01-27 10:32:23 +01:00
Rémi Verschelde
af1ef4c94f
Merge pull request #72149 from MinusKube/rich_text_visible_chars_bug
...
Fix char offset calculation when processing RichTextLabel line caches
2023-01-27 10:30:15 +01:00
Silc Renew
d33fdfcdad
Fix AnimationTree MethodTrack discards all process
2023-01-27 17:44:25 +09:00
Danil Alexeev
af8bf6f1d0
Fix `LineEdit` and `TextEdit` context menus not customizable
2023-01-27 11:14:54 +03:00
Kabiir
21ef712863
Fixing Inspector Property UI for GPUParticle2D collision_base_size[Issue#71942]
2023-01-27 11:55:03 +05:30
MinusKube
03df4e3fce
Fix char offset calculation when processing RichTextLabel line caches
2023-01-27 01:54:47 +01:00
Rémi Verschelde
d1e5903c67
Merge pull request #71427 from Calinou/spinbox-custom-arrow-step-add-property-hint
...
Add a property hint for SpinBox's `custom_arrow_step` property
2023-01-27 00:22:23 +01:00
kobewi
b5fda06f20
Don't change region_rect when setting texture
2023-01-26 23:02:26 +01:00
Rémi Verschelde
5d18a0e829
Merge pull request #72124 from YuriSizov/gui-stylebox-texture-is-just-stylebox
...
Remove size restrictions from `StyleBoxTexture`
2023-01-26 22:59:41 +01:00
Rémi Verschelde
91ad92657e
Merge pull request #69689 from smix8/navagent_rename_location_4.x
...
Rename Navigation uses of 'location' to 'position'
2023-01-26 22:57:03 +01:00
Rémi Verschelde
7cf21f296b
Merge pull request #68034 from Klowner/surfacetool-generate-normals
...
Make SurfaceTool.generate_normals() behave consistently with smoothing groups
2023-01-26 22:52:19 +01:00
Rémi Verschelde
b2164ee75b
Merge pull request #72109 from Chaosus/shader_derivative
...
Add derivative functions with precision to shaders
2023-01-26 22:51:54 +01:00
Mark Riedesel
da893c14cf
Make SurfaceTool.generate_normals() behave in a consistent manner in regard to smoothing groups, imply group 0 is flat
2023-01-26 12:32:31 -06:00
Yuri Rubinsky
8c8c333bf2
Add derivative functions with precision to shaders
2023-01-26 20:53:46 +03:00
smix8
bf1571979c
Rename Navigation uses of 'location' to 'position'
...
Contrary to the entire rest of the engine NavigationAgent's and NavigationLinks decided to deal with locations instead of positions.
2023-01-26 18:19:03 +01:00
Yuri Sizov
9b7124b49c
Remove size restrictions from StyleBoxTexture
2023-01-26 17:11:37 +01:00
Markus Sauermann
b15a3ea3a4
Added assertion check
2023-01-26 16:10:32 +01:00
Rémi Verschelde
44c0bfc94d
Merge pull request #71682 from TokageItLab/gdvirtual-anim-node
...
Make `AnimationTree` / `AnimationPlayer` processes adopt to GDVIRTUAL
2023-01-26 16:01:17 +01:00
Rémi Verschelde
058c61b5b3
Merge pull request #68007 from Sauermann/fix-3d-capture
...
Fix event-content and mouse-signals with 3D-capture-on-drag
2023-01-26 16:00:26 +01:00
Rémi Verschelde
13e20fed99
Merge pull request #68627 from Sauermann/fix-tooltip-position
...
Fix position of Tooltips
2023-01-26 16:00:14 +01:00
Rémi Verschelde
296dea77fe
Merge pull request #66692 from Sauermann/fix-window-final-transform
...
Include the Window-transform into Viewport::get_final_transform
2023-01-26 15:59:53 +01:00
Rémi Verschelde
f8d80b406d
Merge pull request #66688 from Sauermann/fix-control-get-global-rect-coordinates
...
Fix Control rect coordinate system inconsistency
2023-01-26 15:59:35 +01:00
Markus Sauermann
83fa14a5a9
Include the Window-transform into Viewport::get_final_transform
2023-01-26 15:30:44 +01:00
Silc Renew
9ef2fb3cd4
Make AnimTree/Player processes adopt to GDVIRTUAL
2023-01-26 23:22:57 +09:00