Commit Graph

6272 Commits

Author SHA1 Message Date
Rémi Verschelde
3fbd33af85
Merge pull request #97229 from aryan-11825114/ctrl-x-visual-shader
Add `GraphEdit.cut_nodes_request` signal
2024-09-29 00:46:59 +02:00
Hugo Locurcio
0807d60d68
Check RenderingDevice availability to display LightmapGI configuration warnings
We can now check whether RenderingDevice can be created (which is
not guaranteed when using the Compatibility rendering method),
so the warning can be displayed only when relevant.

This also disables the Bake Lightmaps button with a tooltip if baking
is not available.
2024-09-28 23:56:47 +02:00
Saracen
ee01fcc713 Fix positioning of popup menu in AnimationLibrary editor. 2024-09-28 01:03:23 +01:00
Danil Alexeev
85dfd89653 Add @export_tool_button annotation for easily creating inspector buttons
Co-authored-by: jordi <creptthrust@gmail.com>
Co-authored-by: K. S. Ernest (iFire) Lee <ernest.lee@chibifire.com>
Co-authored-by: Mack <86566939+Macksaur@users.noreply.github.com>
2024-09-27 22:24:15 +01:00
kobewi
66d2b0fc6a Fix closing Theme Editor not actually closing it 2024-09-27 17:08:20 +02:00
Haoyu Qiu
6516ca6b11 Parse fragment from URL 2024-09-27 19:42:30 +08:00
aryan-11825114
b4460c6ba3 Add cut_nodes_request signal to GraphEdit 2024-09-27 08:47:11 +05:30
Rémi Verschelde
991e6c92ab
Merge pull request #96923 from Repiteo/style/warning-admonition
Style: Add `WARNING:` as new comment admonition
2024-09-26 12:45:38 +02:00
Thaddeus Crews
32c83a228d
Style: Add WARNING: as new comment admonition 2024-09-25 09:44:42 -05:00
Thaddeus Crews
9f9ee0c813
SCons: Add unobtrusive type hints in SCons files 2024-09-25 09:34:35 -05:00
Rémi Verschelde
4254946de9
Merge pull request #97323 from timothyqiu/drop-unicode-identifier
Some checks are pending
🔗 GHA / 📊 Static checks (push) Waiting to run
🔗 GHA / 🤖 Android (push) Blocked by required conditions
🔗 GHA / 🍏 iOS (push) Blocked by required conditions
🔗 GHA / 🐧 Linux (push) Blocked by required conditions
🔗 GHA / 🍎 macOS (push) Blocked by required conditions
🔗 GHA / 🏁 Windows (push) Blocked by required conditions
🔗 GHA / 🌐 Web (push) Blocked by required conditions
🔗 GHA / 🪲 Godot CPP (push) Blocked by required conditions
Fix script editor wrongly replaces and quotes non-ASCII letters
2024-09-23 16:14:08 +02:00
tetrapod00
eb5a9c3b33 Visual Shader: Add vector operations to Remap node 2024-09-22 11:25:36 -07:00
Haoyu Qiu
a751c05b15 Fix script editor wrongly replaces and quotes non-ASCII letters 2024-09-23 00:05:16 +08:00
kobewi
866c50a926 Add submenu support to EditorContextMenuPlugin 2024-09-21 20:16:45 +02:00
shahriarlabib000
4e916f1fd9 fix popup scale 2024-09-21 01:49:55 +06:00
Rémi Verschelde
621cadcf65
Merge pull request #97168 from Hilderin/fix-reloading-scripts-already-in-use
Some checks are pending
🔗 GHA / 📊 Static checks (push) Waiting to run
🔗 GHA / 🤖 Android (push) Blocked by required conditions
🔗 GHA / 🍏 iOS (push) Blocked by required conditions
🔗 GHA / 🐧 Linux (push) Blocked by required conditions
🔗 GHA / 🍎 macOS (push) Blocked by required conditions
🔗 GHA / 🏁 Windows (push) Blocked by required conditions
🔗 GHA / 🌐 Web (push) Blocked by required conditions
🔗 GHA / 🪲 Godot CPP (push) Blocked by required conditions
Fix reloading scripts already in use
2024-09-20 21:35:08 +02:00
Hilderin
9638220473 Fix reloading scripts already in use 2024-09-20 12:12:24 -04:00
Thaddeus Crews
b37fc1014a
Style: Apply new clang-format changes 2024-09-20 08:09:48 -05:00
Rémi Verschelde
d788205826
Merge pull request #97173 from timothyqiu/drag-preview-translation
Set auto translate mode for drag previews
2024-09-19 17:13:50 +02:00
Rémi Verschelde
71a7e37a43
Merge pull request #96766 from ryevdokimov/hide-white-circle-outline
Hide white circle outline during instant transformations
2024-09-19 17:13:20 +02: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
Haoyu Qiu
8a7713eb2d Fix inconsistency in FileSystem naming in shader editor menu 2024-09-18 10:59:31 +08:00
detomon
4e1ae8b768 Fix inconsistency in 3D editor navigation
- Fix typo in orbit/zoom shortcut name
- Fix zoom when using trackpad
2024-09-17 11:40:02 +02:00
Rémi Verschelde
4ee5630a4b
Merge pull request #96909 from aXu-AP/script-list-default-width
Make script list default wider, minimum narrower
2024-09-17 09:17:46 +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
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
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
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
6b67d440ce
Merge pull request #96731 from aXu-AP/uv-editor-no-texture
Allow opening of polygon editor without texture
2024-09-16 13:34:54 +02:00
Rémi Verschelde
55ab2f7174
Merge pull request #96404 from larspet/path2d-selection
Fix Path2D editor not updating gizmos on selection in scene tree
2024-09-16 13:34:42 +02:00
Rémi Verschelde
4d35402c1c
Merge pull request #96400 from Maran23/inputmap-usage-for-filter-and-corresponding-refactor
Use InputMap actions consistently across all LineEdit's that filter an underlying Tree or ItemList.
2024-09-16 13:34:38 +02:00
Rémi Verschelde
d5d6c730bf
Merge pull request #96934 from smix8/planemesh_gizmo
Fix `MeshInstance3D` gizmo redraw performance for `PlaneMesh` with larger subdiv value
2024-09-13 11:22:08 +02:00
Rémi Verschelde
9a5d0be90f
Merge pull request #96466 from object71/fix-polygon-editor-losing-toolbar-96238
Fix polygon node losing its UV toolbar
2024-09-13 11:21:44 +02:00
smix8
b8de7b72c6 Fix gizmo redraw performance for PlaneMesh with larger subdiv value
Fixes gizmo redraw performance for PlaneMesh with larger subdiv value.
2024-09-12 22:31:56 +02:00
A Thousand Ships
dd6443193c
[Editor] Expose more editor settings to documentation
Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>
2024-09-12 15:34:49 +02:00
aXu-AP
610d98f3ea Make script list default wider, minimum narrower
Give more space to the script lists by default, but makes minimum smaller than it was. Unifies script editor and shader editor to use same values.
2024-09-12 14:51:22 +03:00
Rémi Verschelde
f5bf9b60bd
Merge pull request #92916 from Naros/expose-update-docs-from-script
Expose `update_docs_from_script` method
2024-09-12 09:17:35 +02:00
Rémi Verschelde
8613f346e8
Merge pull request #96844 from kleonc/tile_map_layer_fix_undoing_overlapping_move_tiles
Fix undoing "Move tiles" `TileMapLayer` action when drag/drop areas overlap
2024-09-11 12:35:24 +02:00
Rémi Verschelde
a4e77d94bc
Merge pull request #96539 from KoBeWi/feat_context_menu_plugin4.x_2-electric_boogaloo
Add EditorContextMenuPluginManager and refactor menu plugins
2024-09-11 12:34:53 +02:00
Rémi Verschelde
b6906b9677
Merge pull request #96389 from kitbdev/extract-main-screen
Extract EditorMainScreen from EditorNode
2024-09-11 12:34:46 +02:00
kleonc
ab504b3139 Fix undoing "Move tiles" TileMapLayer action when drag/drop areas overlap 2024-09-11 10:45:23 +02:00
BlueCube3310
0e948fa7e0 Add image previews for 3D and layered textures 2024-09-10 11:35:39 +02:00
Rémi Verschelde
1a51637732
Merge pull request #96681 from Giganzo/lock-group-double-buttons
Fix 2D editor view showing both lock/unlock, group/ungroup buttons when starting a saved project with empty scene
2024-09-10 09:51:30 +02:00
Adam Scott
9d735b0904
Fix issue where editable children of 3D nodes would be selected 2024-09-09 14:39:09 -04:00
Robert Yevdokimov
92b3e5fe8a Hide white circle outline during instant transformations 2024-09-09 11:37:37 -07:00
kit
5e1c9d68aa Extract editor main screen 2024-09-09 11:06:18 -04:00
Rémi Verschelde
c26545c5c0
Merge pull request #96702 from Harsche/fix_rotation_pivot_tool_tooltip
Change rotation pivot tooltip description to be more precise
2024-09-08 23:22:16 +02:00
Rémi Verschelde
4d42b2235e
Merge pull request #96651 from KoBeWi/path_sweeping
Cleanup Path3D editor
2024-09-08 23:22:05 +02:00
Rémi Verschelde
82688e9e2e
Merge pull request #96094 from SaracenOne/add_3d_skeleton_to_advanced_importer
Add 3D Skeleton Preview to Advanced Importer
2024-09-08 23:21:28 +02:00
aXu-AP
ec8374643e Allow opening of polygon editor without texture
There's no reason to deny access to polygon editor when there's no texture set.
2024-09-08 23:24:13 +03:00
Harsche
7d8e8e7854 Fix tooltip description to be more precise 2024-09-08 00:48:04 -03:00
kobewi
a49dbdcbef Cleanup Path3D editor 2024-09-07 00:12:45 +02:00
kobewi
19975b1548 Add Create Curve button to Path2D editor 2024-09-06 15:28:55 +02:00
Giganzo
96aa2f285c Fix double lock/group buttons when starting editor with empty scene 2024-09-05 21:42:12 +02:00
Rémi Verschelde
80b1cbbb63
Merge pull request #96582 from Giganzo/add-sun-and-env-with-shift
Fix shift clicking on Add Sun/Environment to Scene buttons
2024-09-05 17:44:33 +02:00
Rémi Verschelde
721852b325
Merge pull request #96579 from Hilderin/fix-selection-stuck-after-saving-scene
Fix selection stuck after saving scene
2024-09-05 17:44:30 +02:00
Rémi Verschelde
f5aac22b10
Merge pull request #96530 from ev13bird/issue-96527
Fix instant transformations not being committed when used in succession
2024-09-05 17:44:15 +02:00
A Thousand Ships
62d98c6f02
[Editor] Fix handle ID being passed for 3D Gizmo plugins 2024-09-05 16:09:58 +02:00
ev13bird
060a1a0899 Fix instant transformations not being committed when used in succession
Also:
- Fix holding down keys repeatedly committing instant transformations, and disallow starting instant during non-instant
- Fix echoed inputs starting new instant transformations after clicking to confirm, and disallow left mouse release committing instant transformations
2024-09-05 21:34:31 +10:00
Giganzo
1b6af3acd3 Fix shift clicking on Add Sun/Environment to Scene buttons 2024-09-05 12:06:29 +02:00
Hilderin
613d4d10cb Fix selection stuck after saving scene 2024-09-04 19:12:30 -04:00
Rémi Verschelde
0c707d4fd3
Merge pull request #96543 from Giganzo/visualshader-frame-title
Fix frame title popup position in the VisualShader editor
2024-09-04 17:12:09 +02:00
Arsh Panesar
e905be8249
Fix AnimationPlayer crash when it's made the scene root
When an AnimationPlayer is made root of a scene,
the track links may become broken and clicking on
them will crash.

Current master branch also breaks node links when
AnimationPlayer is made scene root, and can also
crash the engine if another node was made scene
root prior to the AnimationPlayer.

This happens because when made root, the editor
loses track of AnimPlayer's root node. By keeping
a copy of the AnimPlayer's root_node, the track
links remain functional.

Fixes #91043.
2024-09-04 10:45:07 +02:00
Giganzo
7d78d753b5 Fix Set Frame Title popup position 2024-09-04 01:52:07 +02:00
kobewi
ecc0ab8061 Add EditorContextMenuPluginManager and refactor menu plugins 2024-09-03 23:59:25 +02:00
Rémi Verschelde
13a90e938f
Merge pull request #70096 from rune-scape/stringname-dict
StringName Dictionary keys
2024-09-03 17:38:06 +02:00
Rémi Verschelde
514c564a8c
Merge pull request #96520 from Giganzo/fix-make-floating-tooltip
Mention screen selector in Make Floating button tooltip
2024-09-03 16:14:08 +02:00
Rémi Verschelde
d0a7dcd8c0
Merge pull request #96371 from KoBeWi/mentos
Improve dropping code in script editor
2024-09-03 16:14:02 +02:00
Rémi Verschelde
d15de6f264
Merge pull request #96292 from AThousandShips/null_check_ref_fix
Cleanup of raw `nullptr` checks with `Ref`
2024-09-03 16:13:55 +02:00
Rémi Verschelde
b104f21841
Merge pull request #96237 from KoBeWi/you_expected_path_to_even_less_bugs_branch_but_it_was_me,_dio
Fix Path2D splitting
2024-09-03 16:13:51 +02:00
Rémi Verschelde
79da448d5f
Merge pull request #94582 from citizenll/feat_context_menu_plugin4.x
Add support for custom items to editor right-click context menus
2024-09-03 16:13:47 +02:00
Gilles Roudière
d75c5ec7ba Implement multiple occlusion polygons within each TileSet occlusion layer 2024-09-03 15:38:51 +02:00
citizenl
6b2348adac Add support for custom items to editor right-click context menus 2024-09-03 20:14:14 +08:00
Rémi Verschelde
8eb106e318
Merge pull request #96388 from passivestar/quick-open-shortcut-conflict
[macOS] Fix Quick Open shortcut conflict
2024-09-03 11:43:45 +02:00
Rémi Verschelde
69888aabb8
Merge pull request #96179 from passivestar/mac-breakpoint-shortcuts
[macOS] Change breakpoint shortcuts to avoid conflicts
2024-09-03 11:43:31 +02:00
Rémi Verschelde
5633080147
Merge pull request #93624 from EAinsley/complete#3942
Add duplicate animation for SpriteFrames
2024-09-03 11:43:00 +02:00
Kasper Arnklit Frandsen
88a866fb5a Add separate timeline snapping control to Animation Editor 2024-09-02 15:57:50 +02:00
Hristo Iliev
dabeaa6a4b Fix polygon node losing its UV toolbar by adding a call to the show method when assinging a node.
Fixes #96238
2024-09-02 15:39:29 +03:00
Rémi Verschelde
1474bd7401
Merge pull request #96411 from larspet/uv-editor-error
Fix Polygon2D UV editor error when opening grid settings
2024-09-02 12:13:46 +02:00
Rémi Verschelde
7795849908
Merge pull request #96013 from passivestar/keyframe-navigation
Allow jumping to previous/next keyframe in animation player
2024-09-02 12:13:00 +02:00
Rémi Verschelde
2312345be8
Merge pull request #94698 from aaronp64/current_gizmos_hashset
Improve time to close scene with many 3D gizmos
2024-09-02 12:12:51 +02:00
Giganzo
edba5edcb8 Fix Make floating tooltip mention screen selector 2024-09-02 00:00:14 +02:00
Ainsley Su
57bc1d7574 Add duplicate animation
Co-authored-by: Nonunknown <nonunknown777@gmail.com>
2024-09-01 17:00:47 +02:00
passivestar
a7abbe5e9e Allow jumping to previous/next keyframe in animation player 2024-09-01 04:57:58 +04:00
Lars Pettersson
5a0a0257e1
Fix Polygon2D UV editor error when opening grid settings 2024-08-31 23:22:48 +02:00
Lars Pettersson
608d5598e8
Fix Path2D editor not updating gizmos on selection 2024-08-31 21:38:15 +02:00
Marius Hanl
74f64aaf98 Use InputMap actions consistently across all LineEdit's that filter an underlying Tree or ItemList.
- Instead of checking for Key::UP, Key::DOWN, Key::PAGEUP, Key::PAGEDOWN etc., we rather check for the action like 'ui_up' or 'ui_down'.
- Also use AcceptDialog's 'register_text_enter' functionality to consistently close a dialog when ENTER is pressed while the LineEdit has focus (instead of redirecting ENTER keys to e.g. the underlying Tree).
- Unify the LineEdit filter behavior for the SceneTreeDialog and corresponding usages
- Improve OK Button disablement (something should be selected)
2024-08-31 21:10:27 +02:00
passivestar
8befcc1113 [macOS] Fix Quick Open shortcut conflict 2024-08-31 18:08:23 +04:00
A Thousand Ships
194bdde947
Cleanup of raw nullptr checks with Ref
Using `is_valid/null` over checks with `nullptr` or `ERR_FAIL_NULL` etc.
2024-08-31 15:01:09 +02:00
kobewi
731fd1f0b9 Improve dropping code in script editor 2024-08-31 11:35:59 +02:00
Rémi Verschelde
7753900638
Merge pull request #91599 from dnllowe/realtime-animation-player-property-updates
Update AnimationPlayer in real-time when keyframe properties change
2024-08-30 23:37:42 +02:00
Rémi Verschelde
84ad611565
Merge pull request #96280 from CreatedBySeb/fix-tileset-scattering
Fix TileSet Scattering setting vanishing when changing tools
2024-08-30 09:59:43 +02:00
Rémi Verschelde
228a4e7a1d
Merge pull request #96212 from Maran23/theme-type-dialog-navigatable
Make `ThemeTypeDialog` List navigatable when the `LineEdit` has focus
2024-08-30 09:59:30 +02:00
Rémi Verschelde
b310e5e064
Merge pull request #92842 from mihe/multi-node-keying
Allow keying properties when selecting multiple nodes
2024-08-30 09:59:01 +02:00
Rémi Verschelde
66dd06837c
Merge pull request #90782 from bruvzg/export_platform_extension
Allow adding custom export platforms using scripts / GDExtension.
2024-08-30 09:58:52 +02:00
rune-scape
154049ce17 StringName Dictionary keys
also added 'is_string()' method to Variant
and refactored many String type comparisons to use it instead
2024-08-29 13:39:27 -07:00
Sébastien Dunne Fulmer
aaa157f929
Fix TileSet Scattering setting vanishing when changing tools 2024-08-29 12:17:38 +01:00
Rémi Verschelde
ad0edb8bb6
Merge pull request #96196 from SaracenOne/bone_editor_revert
Add Revert support to SkeletonEditor.
2024-08-29 10:36:34 +02:00
kobewi
7e7a4f238b Fix Path2D splitting 2024-08-28 19:29:23 +02:00
Rémi Verschelde
3bc84c2988
Merge pull request #63744 from KoBeWi/shader_spaghetti
Refactor toggling script list
2024-08-28 17:14:56 +02:00