Commit graph

17021 commits

Author SHA1 Message Date
kobewi
34b485d62b Remove empty constructors and destructors from scene/ 2025-05-06 14:46:54 +02:00
Thaddeus Crews
5bc01f2994
Merge pull request #105080 from beicause/basisu-ktx2-settings
BasisU: Use KTX2 format and add import options to configure encoder
2025-05-05 11:24:20 -05:00
Thaddeus Crews
d6ca5cf690
Merge pull request #106087 from lodetrick/svg-type-hint
Add Dictionary Type Hint to SVGTexture
2025-05-05 11:24:19 -05:00
Thaddeus Crews
5aca298548
Merge pull request #106051 from dalexeev/move-alt-codes-from-char-range
Move `alt_code_oem437` and `alt_code_cp1252` to separate header file
2025-05-05 11:24:14 -05:00
Thaddeus Crews
13dbf3fd9c
Merge pull request #105641 from KoBeWi/item_tree
Change FileDialog's Tree to ItemList
2025-05-05 11:24:11 -05:00
Thaddeus Crews
c20ac6c01e
Merge pull request #106000 from funkysandwich/one_char_pr
Fix AudioStreamPlayer3D's `layer_mask` property using the wrong property hint (+ misc related fixes)
2025-05-05 11:24:09 -05:00
funkysandwich
721b1a3d64 Fix AudioStreamPlayer3D's layer_mask property using the wrong property hint
Also remove unnecessary physics layer property hints from some bool properties on raycast and shapecast nodes
2025-05-05 10:58:46 -05:00
Logan Detrick
ef9daf0f93 Add type hint to SVGTexture dictionary 2025-05-05 02:09:34 -07:00
Danil Alexeev
413cb795cd
Move alt_code_oem437 and alt_code_cp1252 to separate header file 2025-05-03 11:52:49 +03:00
kobewi
7fe61c7e84 Change FileDialog's Tree to ItemList 2025-05-03 01:34:35 +02:00
LuoZhihao
237597b01f BasisU: Use KTX2 format and add import options to configure encoder 2025-05-03 01:45:38 +08:00
Thaddeus Crews
1cf573f44d
Merge pull request #105887 from Repiteo/core/modernize-headers
Core: Modernize C headers with C++ equivalents
2025-05-02 09:25:29 -05:00
Thaddeus Crews
f45e6d7462
Merge pull request #88925 from Aziroshin/linear-curve-zero-vector-bug
[Curve3D] Fix middle point forward vector when control1=end and…
2025-05-02 09:25:28 -05:00
Thaddeus Crews
da462c093a
Merge pull request #105147 from Lazy-Rabbit-2001/sprite_stretching
Allow `Sprite2D` being dragged to change their `region_rect`
2025-05-02 09:25:27 -05:00
Thaddeus Crews
8fe55020c9
Merge pull request #106001 from kitbdev/dont-force-control-rect-pixel-snap
Allow Control Rect tool to not snap to pixel
2025-05-02 09:25:26 -05:00
Thaddeus Crews
01fc9aee6c
Core: Modernize C headers with C++ equivalents 2025-05-02 08:23:01 -05:00
kit
e6cb7affdc Allow Control Rect tool to not snap to pixel 2025-05-01 19:47:17 -04:00
Aaron Franke
a404b668a1
Change Node set_name to use StringName 2025-05-01 15:15:19 -07:00
Thaddeus Crews
730adf4801
Merge pull request #105973 from lawnjelly/fti_fix_3d_exit_tree
FTI - Fix `SceneTreeFTI` behaviour on exit tree
2025-05-01 14:27:21 -05:00
Aziroshin
1a91570ce9 [Curve3D] Fix middle point forward vector when control1=end and control2=begin; issue #88923
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2025-05-01 20:54:59 +02:00
hamid
82e23da12e Add drag zoom feature with CTRL+MiddleMouseButton
This change introduces a DragType enum to scene/gui/view_panner.cpp of
dragging, which includes:

- DRAG_TYPE_NONE: Not dragging
- DRAG_TYPE_PAN: Panning (dragging using MMB)
- DRAG_TYPE_ZOOM: Zooming (dragging using CTRL+MMB)

The goal of this change is the third option, which was already available
in 3D viewport but not in 2D. This feature should work in other editors
as well such as Animation Track Editor and Visual Shader Editor and so
on.
2025-05-01 15:15:44 +03:30
lawnjelly
ba4ab2dda3 FTI - Fix SceneTreeFTI behaviour on exit tree 2025-05-01 07:52:16 +01:00
Pāvels Nadtočajevs
c6e1bc6170
Fix oversampling for embedded windows using content scale. 2025-04-30 17:35:22 +03:00
Thaddeus Crews
2428db2dd1
Merge pull request #105915 from lawnjelly/fti_hotwheels4
FTI - Add custom interpolation for wheels
2025-04-30 09:18:45 -05:00
Thaddeus Crews
f4f1471b57
Merge pull request #105910 from lawnjelly/global_get_fast4
Add `GLOBAL_GET` cached macros.
2025-04-30 09:18:44 -05:00
Thaddeus Crews
afad1129dd
Merge pull request #90436 from dsmtE/dev/region_texture_mapping
Expose built-in region information
2025-04-30 09:18:41 -05:00
lawnjelly
f8f350a32a Add GLOBAL_GET cached macros.
GLOBAL_GET is an expensive operation which should not be used each frame / tick.
This PR adds macros which do a cheaper revision check, and only call the expensive GLOBAL_GET when project settings have changed.

Co-authored-by: Lukas Tenbrink <lukas.tenbrink@gmail.com>
2025-04-30 15:08:50 +01:00
lawnjelly
a2b340a548 FTI - Add custom interpolation for wheels 2025-04-30 12:17:25 +01:00
Haoyu Qiu
daaf4119de
Improve ColorPicker 2025-04-30 11:50:35 +02:00
dsmtE
4e68f277c6 add REGION_RECT
fix formatting

fix shader compile (region_rect after draw_data)

fix formatting

fix formatting

Review fix (move region_rect in main + remove useless visual shader options)

fix formatting

fix alphabetic order (+ remove useless action for spatial shaders)

typo + remove TYPE_LIGHT option for  region_rect
2025-04-30 11:07:22 +02:00
Thaddeus Crews
b1b873add3
Merge pull request #104731 from Delsin-Yu/stackable-text-effect
[GUI] Implement Stackable Text Outline on `Label`
2025-04-29 11:24:13 -05:00
Thaddeus Crews
bc21c322c6
Merge pull request #105880 from KoBeWi/deadline
Remove inline from constexpr variables
2025-04-29 11:24:13 -05:00
Thaddeus Crews
e37e6e620a
Merge pull request #105911 from Repiteo/editor/range-nonfinite
Editor: Allow non-finite values in `Range`
2025-04-29 11:24:12 -05:00
Thaddeus Crews
70ff5770c9
Merge pull request #83757 from HauntedBees/master
Add `Node.get_orphan_node_ids`, edit `Node.print_orphan_nodes`
2025-04-29 11:24:08 -05:00
Thaddeus Crews
316af6aa36
Editor: Allow non-finite values in Range
Co-Authored-By: Aaron Franke <arnfranke@yahoo.com>
2025-04-29 11:08:46 -05:00
Haunted Bees
0ccdcb4a16 added list_orphan_nodes, edited print_orphan_nodes
print_orphan_nodes now prints the script file attached to the node.
list_orphan_nodes was created to return the same data as print_orphan_nodes in a dictionary format for users who wish to process this data differently than the print_orphan_nodes behavior.
2025-04-28 20:33:01 -07:00
Hugo Locurcio
5bf4a35bf7
Fix class reference discrepancy when using --doctool with TextServerFallback
This is noticeable if you use an editor build compiled with the
`module_text_server_adv_enabled=no module_text_server_fb_enabled=yes`
SCons options.
2025-04-29 02:40:32 +02:00
Thaddeus Crews
1d1805483f
Merge pull request #105815 from timothyqiu/anchors-presets
Fix item translation and icon in the Anchors Preset dropdown
2025-04-28 18:45:55 -05:00
Thaddeus Crews
fc1ffeb5e0
Merge pull request #105870 from bruvzg/te_margin_round
[TextEdit] Fix margin rounding at sub 100% scale.
2025-04-28 14:10:52 -05:00
Thaddeus Crews
627547cb7d
Merge pull request #105861 from groud/fix_flipped_tile_rendering
Fix rotated/flipped tiles rendering origin
2025-04-28 14:10:48 -05:00
Thaddeus Crews
ccd8816dd9
Merge pull request #105860 from timothyqiu/group-complete
Fix group name completion for `get_node_count_in_group`
2025-04-28 14:10:47 -05:00
kobewi
5125a273dc Remove inline from constexpr variables 2025-04-28 21:09:43 +02:00
Thaddeus Crews
67c96c89cc
Merge pull request #105855 from bruvzg/color_ac_typo
Fix ColorPicker preset button format string typo.
2025-04-28 10:01:36 -05:00
Thaddeus Crews
c0935eba0d
Merge pull request #105846 from KoBeWi/you_call_it_title_but_it's_just_a_text
Rename FoldableContainer's `text` to `title`
2025-04-28 10:01:36 -05:00
Thaddeus Crews
b7d4426fff
Merge pull request #104269 from lawnjelly/fti_scene_tree4
Physics Interpolation - Move 3D FTI to `SceneTree`
2025-04-28 10:01:34 -05:00
Thaddeus Crews
6065073a69
Merge pull request #105857 from bruvzg/te_rtl_ac
[TextEdit] Fix caret cut of in RTL layout, account for wrapped line indents in accessibility updates.
2025-04-28 10:01:29 -05:00
Thaddeus Crews
b29311042a
Merge pull request #105858 from bruvzg/sc_rtl
[ScrollContainer] Fix focus rect draw position in RTL layout.
2025-04-28 10:01:28 -05:00
Thaddeus Crews
0bae1116af
Merge pull request #105473 from rbaker87/camera2d_smoothing_fix
Fix process callback state getting overwritten by calls to `set_process_smoothing_speed`
2025-04-28 10:01:26 -05:00
Lazy-Rabbit-2001
1410bca5ce Allow Sprite2D being dragged to change their region_rect 2025-04-28 22:43:41 +08:00
Pāvels Nadtočajevs
1794098b47
[TextEdit] Fix margin rounding at sub 100% scale. 2025-04-28 17:22:58 +03:00