Commit Graph

15604 Commits

Author SHA1 Message Date
tetrapod00
eb5a9c3b33 Visual Shader: Add vector operations to Remap node 2024-09-22 11:25:36 -07:00
Rémi Verschelde
2daea4bb0b
Merge pull request #97269 from timothyqiu/underline-unicode-identifier
Fix script editor not underlining Unicode identifiers when Ctrl-hovered
2024-09-21 11:51:02 +02:00
Rémi Verschelde
d39f53439f
Merge pull request #96982 from dsnopek/external-texture
Add external texture support (GLES3)
2024-09-21 11:50:35 +02:00
Rémi Verschelde
b271a88a9e
Merge pull request #96871 from KoBeWi/borrow_container
Add `SCROLL_MODE_RESERVE` to ScrollContainer
2024-09-21 11:50:31 +02:00
Haoyu Qiu
208797d54e Fix script editor not underlining Unicode identifiers when Ctrl-hovered 2024-09-21 14:10:05 +08:00
David Snopek
1a6f8512bc Add external texture support (GLES3)
Co-authored-by: Fredia Huya-Kouadio <fhuyakou@gmail.com>
Co-authored-by: Mauricio Narvaez <nvz@meta.com>
2024-09-20 10:48:32 -05:00
A Thousand Ships
203d3be200
[Core] Add way to check if a signal has any connections
Added to `Object` and `Signal`
2024-09-20 16:39:09 +02:00
Rémi Verschelde
77f779d326
Merge pull request #97167 from MewPurPur/reveal-undoredo
Expose `has_undo()` and `has_redo()` of LineEdit
2024-09-20 16:26:32 +02:00
Rémi Verschelde
efc7c628b0
Merge pull request #97224 from timothyqiu/transition-names
Update `AnimationTree` parameter list when updating `AnimationNodeTransition` input names
2024-09-20 16:07:09 +02:00
Rémi Verschelde
25c4caa5d7
Merge pull request #97209 from kitbdev/fix-tab-container-ensure-visible-offset
Fix TabContainer tab offset moving when not needed
2024-09-20 16:06:59 +02:00
Rémi Verschelde
7ce8e4fd6b
Merge pull request #97159 from noidexe/Expose-viewport-get-audio-listener
Expose Viewport methods to get current 2D/3D audio listener
2024-09-20 16:06:39 +02:00
Rémi Verschelde
d2a5153c66
Merge pull request #96677 from Wierdox/fix_audio_stream_player_3d_still_processing_when_out_of_range
Fix AudioStreamPlayer3D still processing when out of range
2024-09-20 16:06:28 +02:00
Rémi Verschelde
7e62565f1e
Merge pull request #95787 from timothyqiu/domestic
Add translation domain
2024-09-20 16:06:23 +02:00
Thaddeus Crews
b37fc1014a
Style: Apply new clang-format changes 2024-09-20 08:09:48 -05:00
Haoyu Qiu
f169616cc6 Update AnimationTree parameter list when updating AnimationNodeTransition input names 2024-09-20 16:21:03 +08:00
Wierdox
a3158d89bb Fix AudioStreamPlayer3D still processing when out of range 2024-09-19 22:16:59 -07:00
kit
3d6814e5d2 Fix TabContainer tab offset moving when not needed 2024-09-19 19:26:35 -04:00
Lisandro Lorea
bdcee836ad Expose Viewport::get_audio_listener_2d and Viewport::get_audio_listener_3d to scripting
Document exposed methods

Apply suggestions from code review

Co-authored-by: Micky <66727710+Mickeon@users.noreply.github.com>

Document default behavior when no audio listeners are active
2024-09-19 18:43:33 -03:00
Haoyu Qiu
14321b8ed5 Set auto translate mode for drag previews
- Controls
  - `LineEdit`, `TextEdit`: Always disabled since it's dragging user input.
  - `TabBar`: Use the same auto translate mode as the node.
  - `RichTextLabel`: Always disable since auto translation is done
    differently from other controls (selection text you get
    programmatically is always after auto translation).
- Editor
  - Disable drag preview auto translation if the text is user input,
    filename, or class name.
  - Also disabled unexpected auto translation for audio bus effect names.
2024-09-19 19:21:29 +08:00
MewPurPur
f7a7ecc10a Expose has_undo() and has_redo() of LineEdit 2024-09-19 13:18:04 +03:00
Rémi Verschelde
a80e57c663
Merge pull request #97004 from Giganzo/file_dialog_size
Fix FileDialog default size
2024-09-18 17:41:03 +02:00
Rémi Verschelde
2f91184d8a
Merge pull request #97132 from WhalesState/tab-container-minimum-size
Fix `TabContainer` minimum size
2024-09-18 11:15:53 +02:00
Rémi Verschelde
2a8d30aa9f
Merge pull request #97029 from Hilderin/fix-viewport-texture-must-be-set-to-use-it
Fix Viewport Texture must be set to use it
2024-09-18 11:15:39 +02:00
Rémi Verschelde
1d3e9b3688
Merge pull request #96829 from dsnopek/x11-focus-bugs-take-twenty-seven-million-and-four
Fix project manager stealing focus on i3
2024-09-18 11:15:30 +02:00
Mounir Tohami
2ff61e0252 Fix TabContainer minimum size 2024-09-18 01:41:54 +00:00
Hilderin
c11107b1fb Fix Viewport Texture must be set to use it 2024-09-17 18:18:07 -04:00
Rémi Verschelde
750ffa527c
Merge pull request #94862 from aaronfranke/unit-suspension-stiffness
Add units to VehicleWheel3D suspension stiffness and damping
2024-09-17 21:01:50 +02:00
Rémi Verschelde
cb86afdef9
Merge pull request #72680 from Koyper/split_container_improvements
Improvements to SplitContainer including a drag bar background StyleBox
2024-09-17 21:01:45 +02:00
Giganzo
a863c385f7 Fix FileDialog default size 2024-09-17 14:35:18 +02:00
Aaron Franke
e3895e0ca2
Add units to VehicleWheel3D suspension stiffness and damping 2024-09-17 03:22:50 -07:00
Rémi Verschelde
8a7555a1f3
Merge pull request #97071 from RPicster/master
Add a more detailed error message when instantiating a scene with missing export properties
2024-09-17 09:18:05 +02:00
Rémi Verschelde
b1b4d5b6d1
Merge pull request #97007 from TokageItLab/fix-sync-physical-bone
Fix syncing PhysicalBone internal poses individually
2024-09-17 09:17:54 +02:00
Rémi Verschelde
e72a70de8e
Merge pull request #87150 from demolke/bones
Add per-bone meta to Skeleton3D
2024-09-17 09:17:35 +02:00
Haoyu Qiu
c5d147b9b5 Allow configuring which translation domain Object.tr uses 2024-09-17 13:09:44 +08:00
David Snopek
b1871cdabf Fix project manager stealing focus on i3 2024-09-16 16:55:57 -05:00
demolke
0468bea899 Add per-bone meta to Skeleton3D
Individual bones are not represented as `Node`s in Godot, in order to support meta functionality for them the skeleton has to carry the information similarly to how other per-bone properties are handled.
- Also adds support for GLTF import/export
2024-09-16 16:26:15 +02:00
Raffaele Picca
1df0159b36 Added a more detailed error message when instatiating a scene with missing export properties. 2024-09-16 16:08:55 +02:00
Rémi Verschelde
ab55a40f0c
Merge pull request #97070 from KoBeWi/snaming_ur_inputs
Use `SNAME` for `ui` actions in Viewport
2024-09-16 15:25:47 +02:00
Rémi Verschelde
6311dd2e4c
Merge pull request #94684 from Musicgun47/soft-body-overhaul-ui
Fix `SoftBody3D` pinned points interaction
2024-09-16 15:25:37 +02:00
kobewi
d805f38dba Use SNAME for ui actions in Viewport 2024-09-16 14:09:26 +02:00
Joel Fortier
a58ae8e1c6 Fixed SoftBody3D handles not being clickable in 3D Editor Viewport
Fix erratic behaviour when modifying pinned_points via inspector
2024-09-16 21:30:31 +09:30
Rémi Verschelde
a90660f5e2
Merge pull request #97018 from TokageItLab/add-quart-anim-cap
Add missing "Quad" capture TransitionType enum hint
2024-09-16 13:35:51 +02:00
Rémi Verschelde
e516b059e0
Merge pull request #96996 from WhalesState/vslider
Fix `VSlider` grabber area.
2024-09-16 13:35:42 +02:00
Rémi Verschelde
391849d232
Merge pull request #96867 from L2750558108/remove-gui-key-event-accepted-shit
Remove useless `Viewport::gui.key_input_accepted`
2024-09-16 13:35:13 +02:00
Rémi Verschelde
8ebfd89359
Merge pull request #96024 from Ryan-000/expose_get_rpc_config
Expose `get_rpc_config` and `get_node_rpc_config`
2024-09-16 13:34:34 +02:00
Rémi Verschelde
ac80ba71e2
Merge pull request #93500 from anniryynanen/multi-press
Improve button behavior when multiple mouse buttons are used at the same time
2024-09-16 13:34:15 +02:00
Anni Ryynänen
2033510a65
Improve button behavior when multiple mouse buttons are used at the same time
- To emit `pressed`, buttons require that the press was initiated while hovering.
- Controls can't grab focus from a mouse click if they're not hovered.
- Hovers are updated both before and after a handled mouse button event.
2024-09-15 19:06:10 +03:00
Koyper
f7005deb1e Improvements to SplitContainer including a drag bar background StyleBox. 2024-09-14 19:35:51 -05:00
Markus Sauermann
60aaa017ff Enable Drag and Drop for SubViewports and Windows
Make Drag and Drop an application-wide operation.
This allows do drop on Controls in other Viewports/Windows.

In order to achieve this, `Viewport::_update_mouse_over` is adjusted to
remember the Control, that the mouse is over (possibly within nested
viewports). This Control is used as a basis for the Drop-operation, which
replaces the previous algorithm, which was only aware of the topmost
Viewport.

Also now all nodes in the SceneTree are notified about the Drag and Drop
operation, with the exception of SubViewports that are not children of
SubViewportContainers.
2024-09-15 01:06:02 +02:00
Silc Lizard (Tokage) Renew
8d30ccd067 Add missing "Quad" capture TransitionType enum hint 2024-09-15 06:42:04 +09:00