Commit graph

6870 commits

Author SHA1 Message Date
Daylily-Zeleen
1bccf5c9a3 Add include/exclude to FindInFiles for filtering files. 2025-05-03 23:31:52 +08: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
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
Rémi Verschelde
694d034d5b
Rename editor "File" MenuOption enums for clarity 2025-04-30 16:32:11 +02:00
Thaddeus Crews
b2829f3256
Merge pull request #105897 from akien-mga/mingw-remove-undef-hacks
Remove WinAPI `#undef` hacks needed for mingw-std-threads
2025-04-30 09:18:42 -05: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
bc21c322c6
Merge pull request #105880 from KoBeWi/deadline
Remove inline from constexpr variables
2025-04-29 11:24:13 -05:00
Rémi Verschelde
c019b76523
Remove WinAPI #undef hacks needed for mingw-std-threads
Instead, we rename the conflicting symbols.
2025-04-29 14:24:03 +02:00
Thaddeus Crews
3e70fd7c83
Merge pull request #105883 from kitbdev/fix-empty-script-editor-members-overview
Fix empty Script Editor members overview visible
2025-04-28 18:45:56 -05: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
kit
9b6f5cb953 Fix empty Script Editor members overview visible 2025-04-28 16:22:00 -04: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
kobewi
5125a273dc Remove inline from constexpr variables 2025-04-28 21:09:43 +02:00
Thaddeus Crews
c87f23ce7d
Merge pull request #89324 from KoBeWi/pandora's_can_of_worms
Allow exporting variables of type Variant
2025-04-28 10:01:33 -05:00
Lazy-Rabbit-2001
1410bca5ce Allow Sprite2D being dragged to change their region_rect 2025-04-28 22:43:41 +08:00
Lukas Tenbrink
bfdb0f0ecf Fix various sanitizer issues. 2025-04-28 15:23:35 +02:00
Haoyu Qiu
3578aa6acc Fix item translation and icon in the Anchors Preset dropdown
- Some items were not translated.
- Item icons did not react to light/dark theme switch.
2025-04-28 19:50:24 +08:00
Gilles Roudière
52aee9c325 Fix rotated/flipped tiles rendering origin 2025-04-28 13:34:39 +02:00
Thaddeus Crews
f8a8d6cf04
Merge pull request #105700 from dementive/config-file-get-improvement
Improve ConfigFile get_sections and get_section_keys by returning Vector<String>
2025-04-27 19:21:31 -05:00
Thaddeus Crews
74fc4dae15
Merge pull request #95585 from HolonProduction/remove-cache
ScriptEditor: Remove obsolete completion cache
2025-04-27 19:21:30 -05:00
Thaddeus Crews
796b9caa09
Merge pull request #105552 from adamwych/expose-get-node-list
Expose `AnimationNode(StateMachine/BlendTree).get_node_list()`
2025-04-27 19:21:26 -05:00
Thaddeus Crews
1a2a1b07df
Merge pull request #105799 from Repiteo/scons/enum-conversion-warnings
SCons: Add enum conversion warning
2025-04-27 19:21:23 -05:00
Thaddeus Crews
7c35e3999d
Merge pull request #105797 from bruvzg/scroll_crash
Fix `AnimationNodeBlendTree` crash on `Open Editor` button press.
2025-04-27 19:21:23 -05:00
Thaddeus Crews
3947cbe3b2
Merge pull request #104386 from Repiteo/core/cpp-math
Core: Replace C math headers with C++ equivalents
2025-04-27 19:21:22 -05:00
Thaddeus Crews
69f0eb5de5
Merge pull request #103841 from GustJc/embed_add_hotkeys
Add Embed Game Window shortcut hotkeys support for `suspend/pause` and `next frame` buttons
2025-04-27 19:21:16 -05:00
Thaddeus Crews
2f1b10824b
Merge pull request #98847 from KoBeWi/illusion_wave
Add "Close Tabs Below" option to script editor context menu
2025-04-27 19:21:14 -05:00
Thaddeus Crews
9b35aaf2e2
Merge pull request #105613 from ryevdokimov/fix-editor-camera-transform
Fix incorrect transform when editor camera is moved externally
2025-04-27 19:21:12 -05:00
Thaddeus Crews
b09b873adc
Merge pull request #91264 from ckaiser/script-editor-help-tooltip
Fix help overview tooltip flicker
2025-04-27 19:21:09 -05:00
HolonProduction
56bad11517 ScriptEditor: Remove obsolete completion cache 2025-04-26 22:59:10 +02:00
kobewi
92103366a5 Add "Close Tabs Below" option to script editor context menu
Co-authored-by: PrecisionRender <austin08dean@gmail.com>
2025-04-26 20:00:17 +02:00
Pāvels Nadtočajevs
7cf7e6aa95
Fix AnimationNodeBlendTree crash on Open Editor button press. 2025-04-26 20:10:44 +03:00
Thaddeus Crews
dc9c34f0c6
SCons: Add enum conversion warning 2025-04-26 12:06:20 -05:00
Gustavo Jaruga Cruz
bf18021462 Add Embed Game Window hotkeys support and pause/next frame shortcuts 2025-04-25 02:36:00 -03:00
dementive
b8e44a0000 Improve ConfigFile get_sections and get_section_keys by returning Vector<String> 2025-04-24 20:10:31 -04:00
Pāvels Nadtočajevs
5b49fd4207
Selectively apply FOCUS_ACCESSIBILITY to the Labels instead of setting it by default. 2025-04-23 12:47:31 +03:00
Thaddeus Crews
179630278f
Merge pull request #105658 from aaronp64/blend_space_2d_sort
Sort animation nodes in `AnimationNodeBlendSpace2DEditor` popup menu
2025-04-22 18:25:52 -05:00
Adam Wychowaniec
d193af78c5
Expose AnimationNode(StateMachine/BlendTree).get_node_list() 2025-04-22 21:08:26 +02:00
aaronp64
8584737525 Sort animation nodes in AnimationNodeBlendSpace2DEditor popup menu
Updated AnimationNodeBlendSpace2DEditor::_blend_space_gui_input to sort animation nodes for menu when adding new points, to match ordering in AnimationNodeBlendSpace1DEditor and AnimationNodeStateMachineEditor.  Old code had the sort call before adding the node names, so it wasn't reflected in the menu.
2025-04-22 12:17:27 -04:00
Thaddeus Crews
c484fc9e60
Merge pull request #105568 from BlueCube3310/lightprobe-gizmo-opti
Improve and optimize lightmap probe gizmo creation
2025-04-21 08:24:23 -05:00
Robert Yevdokimov
81df850492 Fix incorrect transform when editor camera is moved externally 2025-04-21 15:45:57 +04:00
BlueCube3310
fbadaa26ff Improve and optimize lightmap probe gizmo creation 2025-04-19 17:52:21 +02:00
Thaddeus Crews
c77174b346
Merge pull request #105310 from BlueCube3310/tex-preview-unify
TextureEditorPlugin: Add borders to 3D and Layered editors
2025-04-18 12:21:27 -05:00
Thaddeus Crews
ad40939b6f
Core: Replace C math headers with C++ equivalents
- Minor restructuring to ensure `math_funcs.h` is the central point for math functions
2025-04-16 15:49:02 -05:00
Thaddeus Crews
00bd421089
Merge pull request #105222 from kitbdev/fix-mouse-filter-recursive-and-rename
Fix and rename mouse filter recursive behavior and focus mode recursive behavior
2025-04-16 10:45:12 -05:00
square
b278cc4837
Fix division by zero when scaling 2025-04-16 02:30:25 +02:00
BlueCube3310
b0626fefa1 TextureEditorPlugin: Add borders to 3D and Layered editors 2025-04-12 18:58:29 +02:00
Thaddeus Crews
7b9c5122fa
Merge pull request #105183 from lodetrick/shader-ui-shuffle
Make shader editor menu position consistent with script editor
2025-04-11 09:51:14 -05:00
Thaddeus Crews
717df3ee88
Merge pull request #105249 from Repiteo/core/math-defs-namespace
Core: Use `Math` namespace for constants
2025-04-11 09:51:04 -05:00
Thaddeus Crews
83ab8b94e5
Merge pull request #87756 from ryevdokimov/alt-transform
Allow all tool modes to select
2025-04-10 16:53:43 -05:00
Thaddeus Crews
94282d88f9
Core: Use Math namespace for constants 2025-04-10 16:29:30 -05:00