1
0
mirror of https://github.com/godotengine/godot.git synced 2025-12-03 16:55:53 +00:00
Commit Graph

18498 Commits

Author SHA1 Message Date
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
Jayden Sipe
201238168c Some QOL and cleanup to EditorHelp's FindBar 2025-04-30 21:43:05 -04:00
Rémi Verschelde
694d034d5b Rename editor "File" MenuOption enums for clarity 2025-04-30 16:32:11 +02:00
Thaddeus Crews
32eafc18b4 Merge pull request #103806 from arkology/find-replace-bar-ui
`FindReplaceBar`: Fix "Replace (All)" buttons repositioning, improve "Hide" button visual feedback
2025-04-30 09:18:46 -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
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
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
PhairZ
1ec1ba6d94 Make script_class_get_icon_path() return any value when r_valid is passed. 2025-04-30 15:42:29 +03: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
eb3d0604ba Merge pull request #105876 from KoBeWi/dynamic_outline
Inline static variables (part 1)
2025-04-29 16:05:16 -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
3b4cf41ea4 Merge pull request #105368 from lodetrick/editor-typed-hint
Add inspector support for typed property hint formats
2025-04-29 11:24:11 -05:00
Thaddeus Crews
c70ceb28b7 Merge pull request #105297 from timothyqiu/editor-about-ttrc
Improve EditorAbout dialog auto-translation
2025-04-29 11:24:09 -05:00
kobewi
5af4bef46f Inline static variables (part 1) 2025-04-29 18:10:44 +02: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
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
Thaddeus Crews
48bdf3c0c4 Merge pull request #104739 from Nolkaloid/fix-code-editor-error-length
Limit error messages in CodeTextEditor to 2 lines length
2025-04-28 14:10:46 -05:00
kobewi
5125a273dc Remove inline from constexpr variables 2025-04-28 21:09:43 +02:00
Thaddeus Crews
cfa2a908b3 Merge pull request #105844 from jaydensipe/remove-old-network-editor-setting
Remove deprecated `engine_version_update_mode` editor setting
2025-04-28 10:01:35 -05: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
Thaddeus Crews
44c97f0d80 Merge pull request #105378 from bruvzg/fs_edit_popup
[FileSystemList] Fix edit popup not accounting scroll position.
2025-04-28 10:01:32 -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
Haoyu Qiu
f7a0b6b7cf Fix group name completion for get_node_count_in_group 2025-04-28 19:42:01 +08:00
Gilles Roudière
52aee9c325 Fix rotated/flipped tiles rendering origin 2025-04-28 13:34:39 +02:00
Silc Lizard (Tokage) Renew
d2cf48700e Make silhouette fixer use arc Quaternion constrructor instead look_at 2025-04-28 17:13:17 +09:00
Haoyu Qiu
c5a70dbeeb Improve EditorAbout dialog auto-translation 2025-04-28 14:01:58 +08:00
Thaddeus Crews
a26c05d7e5 Merge pull request #104169 from CreatedBySeb/fix-error-panel-hiding
Fix error panel auto-hiding
2025-04-27 19:21:32 -05: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
7e647d7626 Merge pull request #105811 from Grublady/inherited_signals
Fix Signals dock only un-doubling parent class's first signal
2025-04-27 19:21:26 -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
21ed7ce518 Merge pull request #96169 from RedMser/search-keywords-in-create-dialog
Consider search keywords in `CreateDialog`
2025-04-27 19:21:18 -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
54a0e10648 Merge pull request #105487 from Calinou/3d-editor-fix-light-theme-gizmo-icons
Fix light theme gizmo icons in the 3D editor appearing too dark
2025-04-27 19:21:12 -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
Jayden Sipe
0bba1a80d5 Remove deprecated engine_version_update_mode editor setting 2025-04-27 18:01:01 -04:00
Grublady
1ce038b24e Fix Signals dock only un-doubling parent class's first signal 2025-04-27 17:59:25 -04:00