Commit Graph

6204 Commits

Author SHA1 Message Date
Rémi Verschelde 72e434bad4
Merge pull request #94497 from Chaosus/vs_rotation_by_axis
Few fixes for `VisualShaderNodeRotationByAxis`
2024-07-18 15:38:24 +02:00
Rémi Verschelde 6b5825a0cb
Merge pull request #94494 from ckaiser/better-curve-preview
Improve Curve preview colors for consistency
2024-07-18 10:45:53 +02:00
Rémi Verschelde 43902f43d5
Merge pull request #94237 from BlueCube3310/lightmap-atlas-loop-fix-always
Lightmapper: Prevent infinite loop while blitting lightmaps into an atlas
2024-07-18 10:45:33 +02:00
Yuri Rubinsky cf70cb57ee Few fixes for `VisualShaderNodeRotationByAxis` 2024-07-18 11:10:36 +03:00
Christian Kaiser 5f4f088552 Improve Curve preview colors for consistency 2024-07-18 02:05:00 -03:00
RedMser f9258ff928 Fix typos 2024-07-17 18:53:03 +02:00
Rémi Verschelde da4f6e439c
Merge pull request #94474 from dalexeev/editor-fix-jump-to-error-column
Editor: Consider tabs when calculating column for jump to error
2024-07-17 18:33:48 +02:00
Danil Alexeev 063a362755
Editor: Consider tabs when calculating column for jump to error 2024-07-17 18:20:50 +03:00
Rémi Verschelde c4806ed2a9
Merge pull request #94356 from KoBeWi/metas_everywhere
Make sure that selected tile source is remembered
2024-07-17 15:45:04 +02:00
Rémi Verschelde a4312eebaa
Merge pull request #94468 from m4gr3d/restart_editor_when_updating_touchscreen_settings
[Android Editor] Resolve issues with the editor touchscreen settings
2024-07-17 12:24:14 +02:00
Fredia Huya-Kouadio 8f7dc86223 Enable `restart_if_changed` for the touchscreen editor settings
The alternative was to regenerate the theme which caused the Android Editor to freeze while the regeneration was ongoing.
2024-07-17 02:30:30 -07:00
Mikael Hermansson 08ef14a037 Fix animation library copy-paste not preserving resource reference 2024-07-16 11:34:44 +02:00
Silc Lizard (Tokage) Renew 98dbd869c5 Handle internal seek on AnimationPlayer to process discrete correctly 2024-07-16 14:49:25 +09:00
Mikael Hermansson c9e0532bc2 Fix "selectable nodes at position clicked" feature in 3D editor 2024-07-15 13:14:57 +02:00
kobewi a0824735a0 Make sure that selected tile source is remembered 2024-07-14 19:07:17 +02:00
kobewi 0b513b9f65 Allow box selecting over CanvasItems when Shift is held 2024-07-13 18:21:17 +02:00
BlueCube3310 60a255a0d0 Lightmapper: Prevent infinite loop when blitting lightmaps into an atlas 2024-07-13 13:10:04 +02:00
Silc Lizard (Tokage) Renew 7cdeac94d1 Fix StateMachine process when transition to end & optimize StringName 2024-07-13 17:32:31 +09:00
Silc Lizard (Tokage) Renew b326a35747 Reset position to 0 after animation selected on AnimationPlayerEditor 2024-07-13 14:27:01 +09:00
Yuri Rubinsky d375b99acf Add `SwitchVector4D` shortcut to visual shader members 2024-07-12 18:44:48 +03:00
Anni Ryynänen 4a27fb7e83
Fix edited node being removed before editor plugin handles focus loss
`CanvasItemEditor::_select_click_on_item` was causing
`EditorNode::_plugin_over_edit` to be called before focus exit had time
to propagate to `SpriteFramesEditor::_animation_speed_changed`.
2024-07-10 16:32:56 +03:00
kit ad8f065f4a Fix request_save_previous_state signal type 2024-07-07 19:12:30 -04:00
Rémi Verschelde 0996c8438f
Merge pull request #93980 from TokageItLab/fix-sync-track-editor-position-with-player-editor
Fix broken sync between animation TrackEditor and PlayerEditor
2024-07-07 12:38:37 +02:00
Rémi Verschelde e05ac797ae
Merge pull request #93977 from ericrallen/feature/consistent-aesthetic-spelling
Style: Change esthetic -> aesthetic
2024-07-07 12:38:34 +02:00
kobewi 5636518358 Allow live reloading of built-in scripts 2024-07-06 23:43:37 +02:00
Eric allen e03fb3043f fix: change esthetic -> aesthetic 2024-07-05 16:03:01 -04:00
Silc Lizard (Tokage) Renew fae712d968 Fix broken sync between animation TrackEditor and PlayerEditor 2024-07-06 04:45:15 +09:00
Gilles Roudière 8ebaf4437a Fix crash in the TileMapLayer editor when using editable children 2024-07-05 17:08:18 +02:00
Rémi Verschelde c9ca3aa9ab
Merge pull request #93971 from KoBeWi/casually_crashing_in_background
Fix crash in tile physics editor
2024-07-05 15:07:54 +02:00
Rémi Verschelde f1749c691f
Merge pull request #93968 from bruvzg/font_prev_update
[Editor] Update font preview directly instead of invalidating property list.
2024-07-05 15:07:50 +02:00
Rémi Verschelde 1704af01b1
Merge pull request #93959 from kitbdev/fix-drop-on-selection
Fix dropping on selection in script editor
2024-07-05 15:07:44 +02:00
Rémi Verschelde 47c471e8ef
Merge pull request #93957 from bruvzg/font_var_def
[Editor] Fix default font variation values handling in the property inspector.
2024-07-05 15:07:41 +02:00
kobewi 267b5bca23 Fix crash in tile physics editor 2024-07-05 14:00:30 +02:00
bruvzg 847aadee02
[Editor] Update font preview directly instead of invalidating property list. 2024-07-05 12:48:39 +03:00
kit fc16465d17 Fix dropping on selection in script editor 2024-07-04 19:42:38 -04:00
Rémi Verschelde 5c84398c15
Merge pull request #93903 from Geometror/vs-fix-frame-edscale
Fix some VisualShader features for high DPI displays/custom UI scales
2024-07-04 23:27:03 +02:00
bruvzg 6e0414a6c9
[Editor] Fix default font variation values handling in the property inspector. 2024-07-05 00:18:10 +03:00
Hendrik Brucker b871794591 Fix `GraphFrame` autoshrink with high DPI displays/custom UI scales 2024-07-04 19:08:06 +02:00
kobewi 681769e2c9 Fix undoredo handling in some dialogs 2024-07-04 14:17:47 +02:00
Rémi Verschelde 6a13fdcae3
Merge pull request #93846 from jsjtxietian/null-frames
Fix sprite frame editor crash with null `frames` pointer
2024-07-03 08:50:29 +02:00
jsjtxietian 7cecdc0dab Fix sprite frame editor crash with null `frames` pounter 2024-07-03 10:58:25 +08:00
Zi Ye 72a01816a4 Make viewport grid visible on all three planes in ortho camera view 2024-07-02 13:07:31 -05:00
Matt Enad 9d343ced58 Add customizable 3D navigation settings
This commit adds 3 new editor settings for orbit, pan, and zoom mouse buttons, and 6 new shortcuts which act as modifiers for the navigation controls. These new shortcuts replace the old orbit, pan, and zoom modifier settings.

The `navigation_scheme` setting now acts as a preset which changes the new options added above, and the new settings are what drives 3D navigation instead. A new struct is used for ordering the navigation logic so that actions with fewer shortcuts are checked first. When the editor starts, the preset detection will run to automatically update user settings from old Godot versions. When the setting is changed, the hint values for the mouse buttons are dynamically updated to show the user the corresponding shortcut values.

The new doc fields have been generated and the description for the new settings are filled out. The `navigation_scheme` entry now has more consistent styling and added control descriptions that were missing before.
2024-07-02 12:37:57 -04:00
kobewi af28d58215 Fix RMB erasing of tiles 2024-07-02 08:45:05 +02:00
Rémi Verschelde 13ea24c5bb
Merge pull request #93671 from KoBeWi/burn_the_box
Prevent selecting when a CanvasItem is selected
2024-07-01 18:28:47 +02:00
patwork 31629744f8 Fix division by zero in aspect ratio calculation 2024-06-30 02:18:57 +02:00
kobewi 1d69358471 Prevent selecting when a CanvasItem is selected 2024-06-29 19:56:48 +02:00
Rémi Verschelde 4ab8fb8093
Merge pull request #93747 from KoBeWi/layer_of_bugs
Fix some TileMapLayer editing problems
2024-06-29 19:54:30 +02:00
Rémi Verschelde a19955e82d
Merge pull request #93736 from passivestar/info-panel-margins
Make the frame time and info boxes use same margins
2024-06-29 19:54:17 +02:00
Rémi Verschelde 8d4c593c54
Merge pull request #93720 from MewPurPur/remove-overbright
Fix unnecessary overbright modulates used in a few editors
2024-06-29 19:54:10 +02:00
kobewi 92b0375785 Fix some TileMapLayer editing problems 2024-06-29 18:18:54 +02:00
passivestar 4201c7d75f Make the frame time and info boxes have same margins 2024-06-29 16:34:08 +04:00
Rémi Verschelde 3cce275589
Merge pull request #93527 from matheusmdx/fix-snapping-lines-with-anchors
Fix snapping lines don't disappearing after drag anchors
2024-06-29 13:04:00 +02:00
Rémi Verschelde 3fbb6044d0
Merge pull request #93047 from groud/fix_polygon_editor_grid
Fix tile polygon editor grid and missing update
2024-06-29 13:03:56 +02:00
MewPurPur 0fa27fd001 Fix unnecessary overbright modulates used in a few editors 2024-06-28 23:54:11 +03:00
Rémi Verschelde 811ce36c60
Merge pull request #93675 from Calinou/3d-editor-align-transform-with-view-add-alternative-shortcut
Add alternative shortcut for Align Transform to View in the 3D editor
2024-06-28 15:55:14 +02:00
Rémi Verschelde d4b7ede882
Merge pull request #92303 from Hilderin/fix-synchronization-global-class-name
Fix synchronization of global class name
2024-06-28 14:42:37 +02:00
Rémi Verschelde 04d75dcfc2
Merge pull request #93609 from passivestar/tileset-prop-popup-bg
Fix TileSet property painter popup showing clear color
2024-06-28 11:35:02 +02:00
Robert Yevdokimov c9e9bd4a68 Add ability to Hide Editor Transform Gizmo 2024-06-27 21:01:15 -04:00
Hugo Locurcio 6932630c02
Add alternative shortcut for Align Transform to View in the 3D editor
The new shortcut is Ctrl + Alt + Numpad 0 and is the one listed
in the 3D viewport's Perspective menu (since PopupMenu accelerators
display the first shortcut only). This shortcut matches Blender
and avoids conflicts with the GeForce Experience overlay, which
defaults to Ctrl + Alt + M.

Ctrl + Alt + M is still defined as an alternative default,
so that existing workflows are not impacted.
2024-06-27 20:34:28 +02:00
passivestar 1a1d8a58ca Center the label in overview of script editor 2024-06-27 16:01:35 +04:00
passivestar a9ef6cd418 Improve viewport rotation gizmo drawing 2024-06-26 23:33:24 +04:00
Rémi Verschelde b0c7f45a72
Merge pull request #85228 from KoBeWi/don't_save_scene_when_saving_script_while_saving_scene
Don't insert newline while saving
2024-06-26 14:51:06 +02:00
Rémi Verschelde 869e33252d
Merge pull request #84164 from KoBeWi/slowcast_2d
Fix slow raycast editing
2024-06-26 14:51:03 +02:00
kobewi 57e046541d Add a way to force history for undoredo 2024-06-26 13:24:34 +02:00
kobewi b70368b78a Don't insert newline while saving 2024-06-26 13:19:25 +02:00
Hilderin 39369db029 Fix synchronization of global class name 2024-06-25 18:33:07 -04:00
passivestar 44e2991365 Fix TileSet property painter popup showing clear color 2024-06-26 01:37:44 +04:00
Rémi Verschelde 5d089e1a8e
Merge pull request #93518 from bruvzg/imp_fix
[Editor] Fix importers add-ons after 93238
2024-06-25 10:02:05 +02:00
Rémi Verschelde f597f24a07
Merge pull request #93521 from nblackburn/popupmenu-pot-gen
Include "PopupMenu" labels in POT gen
2024-06-25 09:19:53 +02:00
matheusmdx f746632369 Fix snapping lines don't disappearing after drag anchors 2024-06-23 21:05:33 -03:00
Nathaniel Blackburn 648d5a8525
include popupmenu labels in pot gen 2024-06-23 20:59:17 +01:00
bruvzg 2fdf24375d
[Editor] Fix importers add-ons after 93238 2024-06-23 21:12:00 +03:00
kobewi 230a4cb63f Store TileMapLayer selection in scene's history 2024-06-22 18:42:48 +02:00
Rémi Verschelde 4a9dc72d16
Merge pull request #93361 from passivestar/viewport-buttons-styles
Add missing style overrides for viewport overlay buttons
2024-06-21 10:14:21 +02:00
passivestar 83078715ca Add missing style overrides for viewport overlay buttons 2024-06-20 22:28:45 +04:00
Cory Petkovsek 1780f28407 Fix crash when drawing a selection box on an empty scene with certain plugins 2024-06-21 00:18:34 +07:00
Rémi Verschelde acb9a4e6ad
Merge pull request #93385 from Chaosus/vs_fix_updating
Fix visual shader not being updated when switching tabs
2024-06-20 16:18:59 +02:00
Yuri Rubinsky 3bbbedc144 Fix visual shader not being updated when switching tabs 2024-06-20 13:37:16 +03:00
Manny-OnGit 8a44cf0342 fixed issue #93043, ruler tool prevents new nodes from being added with right click. 2024-06-19 10:51:46 -07:00
Rémi Verschelde 4949e96b0b
Merge pull request #91845 from ryevdokimov/disable-freelook-when-drag-and-drop
Disable viewports inputs when dragging and dropping into the viewport
2024-06-19 10:53:17 +02:00
Rémi Verschelde a50b535988
Merge pull request #93110 from Hilderin/fix-signal-panel-after-connection
Fix Can't reopen signals panel immediately after connecting a signal
2024-06-19 10:10:14 +02:00
A Thousand Ships fbb879debd
[Scene] Add `SceneStringNames::text/value_changed` 2024-06-19 09:44:38 +02:00
A Thousand Ships ca18a06ecb
[Scene] Add `SceneStringNames::confirmed` 2024-06-19 09:40:54 +02:00
A Thousand Ships d9e2fc74c7
[Scene] Add `SceneStringNames::item_selected` 2024-06-19 09:39:05 +02:00
Hilderin 64ba2cf3a9 Fix Can't reopen signals panel immediately after connecting a signal #92996 2024-06-18 18:24:40 -04:00
A Thousand Ships d519715d94
[Scene] Add `SceneStringNames::font(_size/_color)` 2024-06-18 17:24:27 +02:00
Rémi Verschelde 76a8fa6fed
Merge pull request #93292 from rune-scape/singleton-cleanup
Fix missing cleanup and null checks for various singletons
2024-06-18 14:09:01 +02:00
Rémi Verschelde 2a470143ef
Merge pull request #93255 from jsjtxietian/atlas-default
Prevent generating preview for zero sized texture
2024-06-18 14:08:48 +02:00
rune-scape 6adcb1373a fix missing cleanup and null checks for various singletons 2024-06-18 01:05:30 -07:00
jsjtxietian 3027b49943 Prevent generating preview for zero sized texture 2024-06-18 16:04:10 +08:00
Rémi Verschelde e2fc6d38cb
Merge pull request #92926 from alula/patch-2
Make texture filtering in TileAtlasView consistent
2024-06-17 17:27:12 +02:00
alula e591bb0288
Make texture filtering in TileAtlasView consistent
Co-authored-by: Gilles Roudière <gilles.roudiere@gmail.com>
2024-06-17 16:56:32 +02:00
Rémi Verschelde 170af05c80
Merge pull request #93219 from Chaosus/vs_fix_varyings
Fix bugs in visual shader varyings
2024-06-17 13:30:20 +02:00
Rémi Verschelde bb8fe430fe
Merge pull request #90098 from viksl/fix-instant-rotation-and-return-wrapping
Allow wrapping for begin rotate transformation to bring it in line with Blender.
2024-06-17 10:57:57 +02:00
Yuri Rubinsky 537316098f Fix bugs in visual shader varyings 2024-06-16 16:58:46 +03:00
Yuri Rubinsky a7d5e2f0d9 Add missing TTR's for EditorProgress 2024-06-14 10:52:38 +03:00
Rémi Verschelde 680e489189
Merge pull request #93087 from KoBeWi/path_to_less_bugs
Allow cancelling actions in Path2D editor
2024-06-13 17:19:30 +02:00
lawnjelly e71b3a75e4 Optimize Editor `_init_grid()`
Use static `LocalVectors` instead of `Vectors` for temporaries.
2024-06-13 11:51:32 +01:00
Hilderin 4575ccbad9 Fix Crash when trying to undo SpriteFrames animation rename #93079 2024-06-12 21:42:49 -04:00
kobewi 85a8c3e71a Allow cancelling actions in Path2D editor 2024-06-12 15:22:50 +02:00
Gilles Roudière 10c2ce15da Fix tile polygon editor grid and missing update 2024-06-11 19:35:03 +02:00
Rémi Verschelde 1e0015ac64
Merge pull request #92994 from smix8/navmesh_2d_clear
Fix NavigationRegion2D editor plugin clear button not updating debug visuals
2024-06-11 16:59:38 +02:00
Rémi Verschelde 430812980c
Merge pull request #86721 from Naros/gde-debugger-tooling
Improve GDExtension Tools Integration with Editor Debug Tooling
2024-06-11 10:48:34 +02:00
Yuri Rubinsky c2d0f3bafb Allow drag & drop Mesh to create MeshEmitter in visual shaders 2024-06-11 11:27:24 +03:00
Chris Cranford 8577340501 Expose several EngineDebugger methods and signals as plugin callbacks 2024-06-10 19:46:23 -04:00
smix8 14bed692bf Fix NavigationRegion2D clear button not updating debug visuals
Fixes that NavigationRegion2D editor plugin clear button did not update the debug visuals.
2024-06-10 19:36:21 +02:00
Rémi Verschelde 3d170c56d6
Merge pull request #92861 from TokageItLab/fix-animation-player-just-after-started
Fix seeking Animation immediate after playback for Discrete track
2024-06-10 16:11:55 +02:00
Chris Cranford beef0f687c Expose `update_docs_from_script` method 2024-06-08 16:45:49 -04:00
Silc Lizard (Tokage) Renew bea47d877b Fix seeking Animation immediate after playback for Discrete track 2024-06-08 22:09:37 +09:00
Silc Lizard (Tokage) Renew 4f6fb8ee81 Fix Shader for SkeletonGizmo to follow renderer's reversed-z change
Co-authored-by: Lyuma <xn.lyuma@gmail.com>
2024-06-05 05:44:24 +09:00
Rémi Verschelde 92ea322802
Merge pull request #86947 from TheSofox/tile-set-paint-button-tooltip
Made tooltip on `TileSet` Paint Button give more information when disabled
2024-06-04 16:51:14 +02:00
A Thousand Ships 0f72b15bc2
Fix some incorrect uses of `String` over `StringName`
These were accepting `SNAME` assignments
2024-06-03 13:42:31 +02:00
smix8 3fae26277a Add confirm dialog for render mesh to navigation mesh conversion
Adds confirm dialog for render mesh to navigation mesh conversion that lists all the requirement for the pathfinding.
2024-06-02 19:09:54 +02:00
bruvzg 5168647530
Use current mouse button state instead of saved values. 2024-05-31 15:50:14 +03:00
Rémi Verschelde 9c87e8c7b4
Merge pull request #91953 from AThousandShips/use_normal_sname
Use `CoreStringNames::normal` in more places
2024-05-31 14:16:05 +02:00
A Thousand Ships cade5b88d9
Use `CoreStringNames::normal` in more places 2024-05-30 22:57:54 +02:00
A Thousand Ships 926afccbd8
[Scene] Add `SceneStringNames::panel` 2024-05-30 22:54:50 +02:00
A Thousand Ships 755a0efbb6
[Scene] Add `SceneStringNames::id_pressed` 2024-05-30 22:54:04 +02:00
kobewi a345160ab3 Fix wrong usage of parameters_base_path StringName 2024-05-30 12:03:43 +02:00
Rémi Verschelde 32def9f98e
Merge pull request #92392 from KoBeWi/this_makes_editor_200%_faster
Optimize usage of position icon in 2D editor
2024-05-30 11:48:06 +02:00
Rémi Verschelde aa147b74ea
Merge pull request #90664 from KoBeWi/shadowdropped_resource
Prevent crash when dropping Resource that can't load
2024-05-30 11:47:38 +02:00
Rémi Verschelde 838eb5a0fd
Merge pull request #87099 from bitwise-aiden/ba-add-trim-newlines
Implement `trim_final_newlines` setting and functionality
2024-05-30 11:47:28 +02:00
Rémi Verschelde a8cc65f54f
Merge pull request #92495 from matheusmdx/fix-animation-player-error
Fix error after create a new animation in an empty AnimationPlayer
2024-05-29 22:14:03 +02:00
Rémi Verschelde 6c7ca019d7
Merge pull request #92473 from passivestar/animation-disabled-controls
Fix animation player controls being enabled when no player is selected
2024-05-29 11:20:08 +02:00
Rémi Verschelde 4d906f46b3
Merge pull request #90660 from adamscott/rename-file-updated-dialog
Improve UX when saving newer files on disk
2024-05-29 11:19:41 +02:00
passivestar 2eaeee59d4 Fix animation player controls being enabled when no player is selected 2024-05-29 13:02:31 +04:00
matheusmdx 18cdb3c0d7 Fix error after create a new animation in an empty AnimationPlayer 2024-05-28 19:14:00 -03:00
Rémi Verschelde 1446722d23
Merge pull request #92442 from pkowal1982/sprite_frames
Select text in SpriteFramesEditor spin boxes on focus
2024-05-28 17:48:45 +02:00
Rémi Verschelde b8f3c5e2ab
Merge pull request #92427 from AThousandShips/bind_go_away
Replace `.bind(...).call_deferred()` with `.call_deferred(...)`
2024-05-28 15:50:01 +02:00
Rémi Verschelde f87be863ca
Merge pull request #92322 from groud/implement_custom_data_label
Display custom data name instead of indices in TileData inspector
2024-05-28 15:49:12 +02:00
Rémi Verschelde 25b17bd245
Merge pull request #92188 from SaracenOne/ownerless_node_select
Disallow selection of ownerless nodes
2024-05-28 15:48:54 +02:00
Rémi Verschelde f7b9cdcef2
Merge pull request #90849 from AThousandShips/tile_edit_fix
[Editor] Fix crash when editing TileMap
2024-05-28 15:48:30 +02:00
Rémi Verschelde f9dc62b265
Merge pull request #89806 from timothyqiu/smart-undo
Disable shader editor's undo/redo menu items when they do nothing
2024-05-28 15:48:20 +02:00
Saracen 596026a1ee Disallows selection of ownerless nodes:
Attempts to select first node owned by the edited scene instead.
2024-05-28 11:13:40 +01:00
Paweł 18243c5b7a Select text in SpriteFramesEditor spin boxes on focus 2024-05-27 21:50:15 +02:00
A Thousand Ships f9901761be
[Editor] Fix crash when editing TileMap 2024-05-27 15:22:37 +02:00
A Thousand Ships 4ed62665a2
Replace `.bind(...).call_deferred()` with `.call_deferred(...)` 2024-05-27 13:29:57 +02:00
kobewi d927d41f89 Optimize usage of position icon in 2D editor 2024-05-26 20:08:59 +02:00
Gilles Roudière 85eac45513 Display custom data name instead of indices in TileData inspector 2024-05-25 17:21:31 +02:00
Hugo Locurcio 60084dcc2c
Prevent label width from flickering rapidly in editor frametime panel
This also improves the background display by drawing a single background
for all 3 labels. This avoids visible corners between each label.
2024-05-23 20:50:25 +02:00
Hugo Locurcio 57f52092c3
Add Ctrl + R keyboard shortcut to restart particle emission in the editor
Restarting particle animation frequently is often done in the VFX
tweaking process.

This shortcut is available for both GPUParticles and CPUParticles,
in 2D and 3D.
2024-05-22 18:42:04 +02:00
Rémi Verschelde 408228889f
Merge pull request #92223 from KoBeWi/do_people_really_copy_whole_shortcut_definitions_multiple_times_and_unironically_think_this_is_alright_🤔
Remove duplicate shortcut definitions
2024-05-22 09:27:00 +02:00
Rémi Verschelde e34b97312e
Merge pull request #89630 from jsjtxietian/pick-color
Make "Pick Color"'s result less precise, keep only 3 decimals
2024-05-22 09:26:37 +02:00
kobewi e065d7132a Remove duplicate shortcut definitions 2024-05-21 23:28:49 +02:00
kobewi 6559bb68e6 Remove some TileMap dependencies from TileMapLayer 2024-05-21 11:32:14 +02:00
Rémi Verschelde 9e9fb165bc
Merge pull request #92171 from KoBeWi/gridder_grid
Fix tile polygon grid not covering whole tile
2024-05-21 11:23:02 +02:00
Rémi Verschelde ee1f898b5d
Merge pull request #92004 from timothyqiu/drop-audio
Create AudioStreamPlayer when dropping AudioStream
2024-05-21 11:22:44 +02:00
kobewi e70ca3bf5a Fix tile polygon grid not covering whole tile 2024-05-20 20:16:06 +02:00
Rémi Verschelde 40b4130c93
Merge pull request #92151 from timothyqiu/frame-dup
Fix error when duplicating visual shader node inside a Frame
2024-05-20 17:07:08 +02:00
Rémi Verschelde 45f6aaeb10
Merge pull request #91887 from minionprocyk/master
Use Option+Cmd+Left/Right for script editor history navigation on macOS
2024-05-20 17:06:46 +02:00
Haoyu Qiu becc98162e Fix error when duplicating visual shader node inside a Frame 2024-05-20 15:56:16 +08:00
Haoyu Qiu e5c321448e Create AudioStreamPlayer when dropping AudioStream
- Create AudioStreamPlayer if dropped in between nodes in the Scene dock
- Create AudioStreamPlayer2D if dropped into 2D editor
- Create AudioStreamPlayer3D if dropped into 3D editor
2024-05-19 20:26:04 +08:00
Rémi Verschelde b201c7fc13
Merge pull request #91874 from Nodragem/editor-scene-drag-and-drop-default
Change default parenting behavior when drag-and-dropping to 2d and 3d editor
2024-05-17 11:13:57 +02:00
Rémi Verschelde 9eff940a64
Merge pull request #91549 from magian1127/4.0ChangeHighlightingStartKey
Resolve conflict between shader uniform tooltips `/**` and general annotation `/**/`.
2024-05-17 11:13:48 +02:00
Rémi Verschelde 096fb3ad7c
Merge pull request #90952 from Gaktan/add_online_doc_link
Add option to open online doc for selected class in script editor
2024-05-17 11:13:43 +02:00
Nodragem 8e0f0c6edb change default behaviour when drag-and-drop to 2d and 3d editor
correct formatting with clang-formatter

US English
2024-05-16 10:42:13 +01:00
Rémi Verschelde 805d619382
Merge pull request #91872 from aaronp64/edit_navigation_obstacle
Allow editing `NavigationObstacle2D` shape vertices
2024-05-15 12:09:42 +02:00
Gaktan cafa64cd27 Add option to open online doc for selected native class in script editor 2024-05-14 21:44:46 +02:00
A Thousand Ships ee79386f7b
[Scene] Add SceneStringNames::pressed 2024-05-14 15:51:28 +02:00
Rémi Verschelde 3c26cddcfa
Merge pull request #91932 from dalexeev/editor-fix-tileset-categories-and-tooltips
Editor: Fix categories and tooltips in `TileSet` editor
2024-05-14 12:07:27 +02:00
Rémi Verschelde bdefe53992
Merge pull request #91909 from KoBeWi/have_fun_reviewing_this
Use Core/Scene stringnames consistently
2024-05-14 12:07:03 +02:00
Rémi Verschelde e58eb6a267
Merge pull request #91905 from groud/fix_patterns_being_needlessly_reorganized
Fix TileMap selection pattern being needlessly reorganized
2024-05-14 12:06:58 +02:00
Magian 8a92615ba0 Resolve conflict between shader uniform tooltips "/**" and general annotation "/**/". 2024-05-14 15:32:47 +08:00
Danil Alexeev 5a5b18c2fc
Editor: Fix categories and tooltips in `TileSet` editor 2024-05-14 10:23:14 +03:00
kobewi 413c11357d Use Core/Scene stringnames consistently 2024-05-13 23:41:07 +02:00
Yuri Rubinsky 56026e6c76 Fix errors on pressing autoplay in sprite frames editor 2024-05-13 22:39:05 +03:00
Rémi Verschelde 194c940e72
Merge pull request #91497 from magian1127/4.0fixShaderHighlighting
Fix shader highlighting the interruption in `color_region` caused by `disabled_branch_regions`.
2024-05-13 17:32:02 +02:00
Gilles Roudière b0cd6edceb Fix TileMap selection pattern being needlessly reorganized 2024-05-13 14:34:33 +02:00
Rémi Verschelde dcd6db8680
Merge pull request #90534 from Geometror/vs-reroute-node
[VisualShader] Add reroute node and improve port drawing
2024-05-13 12:05:25 +02:00
Hendrik Brucker 62776842df [VisualShader] Add reroute node and improve port drawing 2024-05-13 03:26:01 +02:00
Peter Procyk 82c2a74646 Use Option+Cmd+Left/Right for script editor history navigation on macOS 2024-05-12 19:55:27 -04:00
Robert Yevdokimov 824d21b441 Disable viewport inputs when dragging and dropping into the viewport 2024-05-12 10:02:39 -04:00
aaronp64 3b30c65880 Allow editing NavigationObstacle2D shape
Add _get_polygon and _set_polygon overrides for NavigationObstacle2DEditor, so AbstractPolygon2DEditor can access the vertex information.

Fixes #91795
2024-05-12 08:40:43 -04:00
kobewi a262d2d881 Add shorthand for using singleton string names 2024-05-11 18:53:08 +02:00
Rémi Verschelde 768bd0e97d
Merge pull request #91793 from KoBeWi/a_theme_has_many_variations
Fallback to default theme for variation items
2024-05-11 12:38:24 +02:00
Rémi Verschelde 0ffa6e2039
Merge pull request #65258 from RedMser/expaaaaand
Toggle control expand flag directly via top bar
2024-05-11 12:38:04 +02:00
RedMser 2af78a5e86 Toggle control expand flag directly via top bar 2024-05-10 17:04:14 +02:00
kobewi d7bedcdf43 Fallback to default theme for variation items 2024-05-10 13:16:29 +02:00
Rémi Verschelde e11796384c
Merge pull request #91777 from KoBeWi/HISTORY_MISMATCH_PLEASE_INSERT_VALID_HISTORY
Fix Sprite2D editor history mismatch
2024-05-10 10:48:48 +02:00
Rémi Verschelde 84f6a3de31
Merge pull request #91732 from Naputt1/fix-2d-editor-selection
Fix 2d editor selection persisting after application loses focus.
2024-05-10 09:56:00 +02:00
kobewi ea04fc7cde Fix Sprite2D editor history mismatch 2024-05-09 22:12:55 +02:00
naputt 9e196b7d8c fix 2d editor selection 2024-05-08 19:34:17 +01:00
Hugo Locurcio e52c9cd9f1
Tweak appearance of 3D editor gizmo icons
- Use alpha scissor to resolve transparency sorting issues with gizmo
  icons relative to other transparent materials in the scene.
  This also makes gizmos visible in `screen_texture`, which means
  gizmos can now be seen through refractive materials.
  Lastly, this reduces the amount of artifacts visible around gizmo
  outlines (although they are still present at times).
- Make icons darker when not selected to be less intrusive
  (and easier to distinguish when selected).
2024-05-08 17:13:14 +02:00
Rémi Verschelde a9a1d0a162
Merge pull request #91619 from AThousandShips/find_improve
Replace `find` with `contains/has` where applicable
2024-05-08 14:35:44 +02:00
Rémi Verschelde 1d101329c9
Merge pull request #91611 from AThousandShips/string_containsn
[Core] Add case-insensitive `String::containsn`
2024-05-08 14:35:41 +02:00
Rémi Verschelde 0fcd30180f
Merge pull request #91039 from timothyqiu/dock-icons
Allow setting editor dock tabs to icon only
2024-05-08 14:35:29 +02:00
A Thousand Ships b4c6cc7d82
[Core] Add case-insensitive `String::containsn` 2024-05-08 12:48:01 +02:00
A Thousand Ships a0dbdcc3ab
Replace `find` with `contains/has` where applicable
* Replaces `find(...) != -1` with `contains` for `String`
* Replaces `find(...) == -1` with `!contains` for `String`
* Replaces `find(...) != -1` with `has` for containers
* Replaces `find(...) == -1` with `!has` for containers
2024-05-08 12:37:42 +02:00
Rémi Verschelde 0494b37a0c
Merge pull request #91226 from Calinou/editor-gpuparticles3d-simplify-gizmo
Simplify the GPUParticles3D editor gizmo to improve readability
2024-05-07 16:49:38 +02:00
Rémi Verschelde 594498e718
Merge pull request #90966 from Calinou/debug-draw-use-runtime-colors
Use same colors for editor and running project for collision/path debug
2024-05-07 16:49:31 +02:00
Rémi Verschelde ba6f840970
Merge pull request #89248 from KoBeWi/store_no_store
Don't store values when loading them
2024-05-07 16:49:26 +02:00
Rémi Verschelde 68bd282c50
Merge pull request #81906 from the-sink/dominant-script-default
Set `open_dominant_script_on_scene_change` to off by default
2024-05-07 16:49:07 +02:00
Rémi Verschelde 4b070e8031
Fix various typos with codespell
Using 2.2.7.dev217+g10c2abcf.

Had to add `colour` to the ignore list as we used it as an alias/keyword for the
documentation of color-related APIs.
Also ignore recommendations to change `thirdparty` to either `third-party` or
`third party`, which are correct but we use the former fairly consistently.
2024-05-07 10:08:42 +02:00
Rémi Verschelde 107fd30ae7
Merge pull request #91647 from jsjtxietian/fix-uint-hightlight
Make native shader source visualizer highlight uint suffix
2024-05-07 09:04:55 +02:00
Rémi Verschelde e63252b421
Merge pull request #90705 from AThousandShips/foreach_list
Reduce and prevent unnecessary random-access to `List`
2024-05-07 09:04:44 +02:00
jsjtxietian cff1111359 Make native shader source visualizer can highlight uint suffix 2024-05-07 14:18:48 +08:00
kobewi c344e593d0 Add MultiNodeEdit support to MeshInstance3D editor 2024-05-06 17:40:16 +02:00
Rémi Verschelde 1069d7b7c6
Merge pull request #88343 from Riteo/warped-mouse-float
Handle warped mouse motion as floating point
2024-05-06 15:14:46 +02:00
A Thousand Ships 955d5affa8
Reduce and prevent unnecessary random-access to `List`
Random-access access to `List` when iterating is `O(n^2)` (`O(n)` when
accessing a single element)

* Removed subscript operator, in favor of a more explicit `get`
* Added conversion from `Iterator` to `ConstIterator`
* Remade existing operations into other solutions when applicable
2024-05-04 16:08:55 +02:00
jsjtxietian b851514b10 Fix uint's suffix is not highlighted in text shader editor 2024-05-03 21:45:53 +08:00
Magian c538b30021 Fix shader highlighting the interruption in color_region caused by disabled_branch_regions. 2024-05-03 12:49:39 +08:00
Aiden Storey b4c1634b52 Implement trim_final_newlines functionality 2024-05-02 22:57:34 -04:00
A Thousand Ships 308dbb8c63
[Core] Add scalar versions of `Vector*` `min/max/clamp/snap(ped)`
Convenience for a number of cases operating on single values
2024-05-02 10:31:13 +02:00
Rémi Verschelde de00cfbc01
Merge pull request #90892 from Chaosus/vs_fix_expression_port_expand
Prevent expanding output port in visual shader expression
2024-05-01 09:54:57 +02:00
Rémi Verschelde e19b808a7a
Merge pull request #86978 from kitbdev/multicaret-overhaul
Overhaul multicaret editing and selection in TextEdit
2024-04-30 17:03:04 +02:00
Haoyu Qiu 1e20612940 Allow setting editor dock tabs to icon only 2024-04-30 09:34:14 +08:00
Rémi Verschelde 78f03f8e12
Merge pull request #91252 from timothyqiu/control-category
Only add warning label for Layout group in Control category
2024-04-29 10:10:35 +02:00
Rémi Verschelde 4b2245ffe1
Merge pull request #91238 from timothyqiu/interpolation-tooltip
Add text to icon-only interpolation OptionButton in blend space editor
2024-04-29 10:10:26 +02:00
Rémi Verschelde 13fbd42c37
Merge pull request #90975 from aaronfranke/plugin-org
Organize existing code for editor plugins
2024-04-29 10:09:45 +02:00
Rémi Verschelde 9286ac7aa5
Merge pull request #90161 from magian1127/4.0sTip
Implement tooltips for shader uniform in the inspector.
2024-04-29 10:09:35 +02:00
Rémi Verschelde c205f02165
Merge pull request #90050 from TokageItLab/add-tips-detection
Add tips detection to auto mapping in bone mapper
2024-04-29 10:09:32 +02:00
Aaron Franke 1bcbbe96c4
Organize existing code for editor plugins 2024-04-27 11:59:58 -07:00
Silc Lizard (Tokage) Renew 9c3a1c00c4 Add tips detection to bone mapper
Co-authored-by: Lyuma <xn.lyuma@gmail.com>
2024-04-28 02:24:41 +09:00
Haoyu Qiu bd716a693a Only add warning label for Layout group in Control category 2024-04-27 21:56:24 +08:00
Haoyu Qiu 8b2f95ffc1 Add text to icon-only interpolation OptionButton 2024-04-27 11:01:41 +08:00
Hugo Locurcio cb05b49c09
Simplify the GPUParticles3D editor gizmo to improve readability
- Remove handles as users should use the Generate Visibility AABB
  option whenever possible, so manual resizing isn't needed often.
  (For particles that move quickly and have Local Coords disabled,
  Extra Cull Margin can be increased in the GeometryInstance3D
  properties in the inspector.)
- Remove translucent filled part of the gizmo to be more consistent
  with GeometryInstance3D's recently introduced Custom AABB gizmo.
- Remove center marker as it can visually obstruct particles.

This paves the way for future emission shape gizmos which will
feature handles.
2024-04-26 22:29:26 +02:00
kit 773a473807 Overhaul multiple caret editing in TextEdit.
Use a multicaret edit to delay merging overlapping carets until the end.
2024-04-26 14:26:10 -04:00
kit 154f727c7a Overhaul TextEdit selection.
The caret is now a part of the selection.
2024-04-26 14:24:10 -04:00
Rémi Verschelde caca54af2c
Merge pull request #79918 from KoBeWi/what_is_this_thing
Add tooltips for tile source types
2024-04-26 15:13:01 +02:00
Rémi Verschelde 69a94c5e27
Merge pull request #77069 from KoBeWi/turning_tooltips_into_music_player_BECAUSE_WHY_NOT
Add tooltip plugin for AudioStream
2024-04-26 15:12:54 +02:00
Rémi Verschelde 7cb52a676f
Merge pull request #63515 from KoBeWi/script_jumper
Store line change in script navigation history
2024-04-26 15:12:47 +02:00
kobewi 2cac59fbfa Add tooltips for tile source types 2024-04-26 14:38:45 +02:00
Magian e3a7c751f2 Implement tooltips for shader uniform in the inspector.
using regular expressions
2024-04-26 17:48:11 +08:00
kobewi f8cd3bbc36 Add temporary pivot for rotating multiple 2D nodes 2024-04-26 11:03:47 +02:00
kobewi 3a1246c198 Store line change in script navigation history 2024-04-25 23:22:47 +02:00
Rémi Verschelde 5a14db7554
Merge pull request #86627 from ajreckof/add-static-body-creation-for-all-colision-shape-creations
Add static body creation equivalent for all collision shape sibling creations
2024-04-25 17:12:31 +02:00
ajreckof b84f66c5df Rework MeshInstance3d collision shape creation into a subMenu and add all static body options
Apply suggestions from code review

Co-Authored-By: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2024-04-25 15:34:58 +02:00
kleonc 0c8275b4f7 Fix Path3D tilt gizmo raycasting against local plane 2024-04-24 16:02:01 +02:00
Rémi Verschelde a4fbe4c01f
Merge pull request #91081 from KoBeWi/closing_faster_than_light
Further speed up closing multiple scripts
2024-04-24 09:59:56 +02:00
Rémi Verschelde 8b7917f685
Merge pull request #91073 from KoBeWi/irritating_bounds
Remove `uv_editor_bounds` editor setting
2024-04-24 09:59:44 +02:00
Rémi Verschelde 17d9c52ad9
Merge pull request #90894 from lyuma/animation_step_30
Set animation step from importers. Increase default step from 10 to 30FPS
2024-04-24 09:59:21 +02:00
Rémi Verschelde 149023335d
Merge pull request #90817 from KoBeWi/there_is_one_pattern
Reuse single erase pattern in tile editor
2024-04-24 09:59:17 +02:00
kobewi fd3ed998ce Further speed up closing multiple scripts 2024-04-23 23:33:01 +02:00
kobewi 6f7da2f5e4 Remove uv_editor_bounds editor setting 2024-04-23 19:13:22 +02:00
Rémi Verschelde fb3c3ace62
Merge pull request #90153 from rburing/clipper2_electric_boogaloo
Replace Clipper1 library by Clipper2 library
2024-04-22 12:51:46 +02:00
Hugo Locurcio b1a2394b3b
Use same colors for editor and running project for collision/path debug
This harmonizes the appearance of collision shapes and paths between
the editor and running project, in both 2D and 3D.

This means that in 3D, paths are now green and shapes are now cyan
instead of light blue.
2024-04-21 00:58:08 +02:00
Ricardo Buring 8a28f816d0 Replace Clipper1 library by Clipper2 library 2024-04-20 13:37:59 +02:00
Fredia Huya-Kouadio ede88cf59d Fix loading GDExtension dependencies on Android 2024-04-19 07:55:08 -07:00
Rémi Verschelde 1bd6fe81ea
Merge pull request #89538 from CrayolaEater/feature/custom-aabb-gizmos
Add Gizmo to display 3D custom AABB
2024-04-19 16:27:16 +02:00
Rémi Verschelde 55842a502c
Merge pull request #89058 from dalexeev/editor-help-bit-deprecated-experimental
Editor: Display deprecated/experimental messages in tooltips
2024-04-19 16:27:06 +02:00
Lyuma bb9674c1b1 Set animation step from importers. Increase default step from 10 to 30 FPS. 2024-04-19 03:02:20 -07:00
Yuri Rubinsky 56d843724e Prevent expanding output port in visual shader expression 2024-04-19 11:49:10 +03:00
Bogdan Inculet 8caa1b8783 Add Gizmo to display 3D custom AABB 2024-04-19 02:31:30 +03:00
Danil Alexeev a714cb9f65
Editor: Display deprecated/experimental messages in tooltips 2024-04-18 14:32:04 +03:00
Rémi Verschelde f6ba06a8d7
Merge pull request #90815 from KoBeWi/2_objects_1_editor
Avoid double editing when clicking AnimatedSprite
2024-04-18 12:24:53 +02:00
kobewi 6b69ae8dd0 Reuse single erase pattern in tile editor 2024-04-17 20:43:00 +02:00
kobewi e36301e418 Avoid double editing when clicking AnimatedSprite 2024-04-17 19:51:42 +02:00
Yuri Rubinsky ac77219d2b Fix incorrect behavior at expanding an output port in visual shader node 2024-04-17 13:36:40 +03:00
Rémi Verschelde 0473f291a7
Merge pull request #90709 from kleonc/tile-set-editor-atlas-with-separation-rect-drawing
Fix selection rect drawing in `TileSet` editor when create/remove tiles with separation
2024-04-17 10:58:49 +02:00