1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00
Commit Graph

101 Commits

Author SHA1 Message Date
Thaddeus Crews
d9078d887f Merge pull request #109049 from ryevdokimov/deprecate-script-add-root-node
Relocate `add_root_node` method to `EditorInterface` from `EditorScript` and deprecate old method
2025-10-01 13:12:45 -05:00
Thaddeus Crews
9ef1ec5870 Merge pull request #103608 from gr8alpaca/expose_node_3d_snapping
Expose 3D editor snap settings to EditorInterface
2025-09-19 13:07:18 -05:00
robert yevdokimov
11a4961081 Relocate add_root_node method to EditorInterface from EditorScript and deprecate old method 2025-08-05 17:23:57 +04:00
Rémi Verschelde
45533589e4 Revert "Rework scene preview thumbnails"
This reverts commit 08343189dc.

While the feature is great, a number of issues have been found with the
implementation, and we need more time to resolve them.

So we roll this back for 4.5, to rework the feature for a later Godot
release.
2025-06-21 00:05:57 +02:00
kobewi
13f642d959 Replace XML codeblock spaces with tabs 2025-06-06 14:35:38 +02:00
Rémi Verschelde
ea76c48bd0 Merge pull request #102313 from daniel080400/generate_scene_thumbnails
Rework scene preview thumbnails
2025-06-05 13:10:28 +02:00
daniel080400
08343189dc Rework scene preview thumbnails 2025-05-31 16:57:51 +08:00
KaiN
8cdb1768a4 Add EditorInterface::close_scene()
Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>
2025-05-28 21:53:32 +02:00
Micky
e935fb1ee2 Fix miscellaneous oddities around the class reference (part 4) 2025-04-10 17:56:58 +02:00
Thaddeus Crews
1fbcefeb63 Merge pull request #104376 from ProgrammerOnCoffee/update-workspace-list
Add `Game` workspace to documentation and autocomplete
2025-03-19 17:46:02 -05:00
ProgrammerOnCoffee
abe1b4b799 Update workspace list in various files 2025-03-19 13:01:33 -04:00
gr8alpaca
4d80777ce7 Expose 3D editor snap settings to EditorInterface 2025-03-12 10:02:40 -04:00
Cyclone
144d95d96c EditorInterface: Add get_open_scene_roots to retrieve all opened scenes root nodes 2025-03-05 11:57:40 +01:00
Lazy-Rabbit-2001
a550eef9f3 Improve script class display in Create dialog 2025-01-03 00:19:25 +01:00
Lazy-Rabbit-2001
0d182cf9c2 Marked EditorInterface.popup_create_dialog() as experimental in the doc 2024-12-22 15:50:19 +08:00
Robert Yevdokimov
7f09804154 Add inherit parameter to open_scene_from_path 2024-12-12 10:24:58 -05:00
Lazy-Rabbit-2001
9c34ad1791 Add popup_create_dialog() for EditorInterface to create custom create dialog 2024-12-12 18:13:31 +08:00
Jayden Sipe
722d932466 Expose toast notification methods 2024-11-11 19:39:33 -05:00
yds
9db8b0e333 Make the method selector dialog available via EditorInterface 2024-11-11 08:36:02 -03:00
yds
35b3999efc Make the "Quick Open" dialog available via EditorInterface 2024-10-04 11:36:17 -03:00
Chris Cranford
9122be6474 Pass current value to EditorInterface node/property popups 2024-09-03 00:54:55 -04:00
kobewi
ad7a2d19a6 Expose EditorUndoRedoManager's clear_history() 2024-08-29 19:23:39 +02:00
Micky
4ce5856384 Remove empty [b]Example:[/b] lines from the class reference 2024-08-19 01:00:52 +02:00
Rémi Verschelde
163c00eb4d Merge pull request #81655 from nlupugla/editor-interface-can-popup-dialogs
Expose `SceneTreeDialog` and `PropertySelector` via `EditorInterface`
2024-02-08 10:53:13 +01:00
Rémi Verschelde
68957d2944 Merge pull request #87445 from KoBeWi/expand_the_Control_empire
Clarify sizing of main screen plugins
2024-01-29 13:17:05 +01:00
kobewi
c228e31a96 Clarify sizing of main screen plugins 2024-01-28 19:49:33 +01:00
Hugo Locurcio
04a930d9a6 Disable multi-window buttons instead of hiding them when support is unavailable
This is more explicit as for why this functionality isn't available
depending on editor settings and current platform.

This also exposes a `EditorInterface.is_multi_window_enabled()` method
so that editor plugins can easily query whether the editor is able and
expected to create multiple windows.
2024-01-27 19:38:39 +01:00
nlupugla
558c2763e7 EditorInterface can popup SceneTreeDialog and PropertySelector. 2024-01-19 14:16:29 -05:00
Yuri Sizov
cc0eebd9d8 Validate code tags for class and member references
This commit also adds means to manually disable warnings
in `code` tags where it's a false positive with the new
`skip-lint` attribute.

Warnings are now enabled on CI to prevent future errors.
2023-10-03 15:48:31 +02:00
Cory Petkovsek
110130bb69 Expose editor viewports 2023-10-01 22:04:17 +07:00
Yuri Sizov
8ecc0c4f47 Fix accessing editor theme items throughout the UI
This also exposes `EditorInterface::get_editor_theme`.
2023-09-15 14:51:01 +02:00
Yuri Sizov
951ea2415b Make EditorInterface accessible as a singleton
- EditorPlugin.get_editor_interface() is removed as redundant.
2023-08-09 16:01:31 +02:00
Yuri Sizov
41a7f6b380 Merge pull request #77537 from henriquelalves/feature/ei_save_all_scenes
Expose `save_all_scenes` method to EditorInterface
2023-07-26 23:43:08 +02:00
RedMser
8e0e81ced3 Allow changing feature profile via EditorInterface 2023-07-24 18:46:36 +02:00
Henrique Alves
8ef2e3d76c Add save_all_scenes method to Editor Interface
Update documentation

(squash) fix docs

(squash) Improve docs
2023-07-19 18:05:15 +03:00
Rémi Verschelde
81064cc239 Doctool: Remove version attribute from XML header
We don't use that info for anything, and it generates unnecessary diffs
every time we bump the minor version (and CI failures if we forget to
sync some files from opt-in modules (mono, text_server_fb).
2023-07-06 10:08:21 +02:00
Rémi Verschelde
346f1ab86b Bump version to 4.2-dev
Keep on waitin'
2023-07-05 22:07:03 +02:00
Pedro J. Estébanez
96c469a138 Let editor workaround a case of inconsistency in compound scenes 2023-06-13 11:05:57 +02:00
VolTer
151a4ba6a5 Overhaul the top sections of the class reference (GUI classes) 2023-05-28 14:24:54 +02:00
Yuri Sizov
17f492fb82 Expose dialog parent-and-popup logic to the API 2023-05-15 19:49:28 +02:00
Yuri Sizov
49d7041d34 Decouple EditorInterface from EditorPlugin
- Simplify some includes in the process.
- Also exposes EditorInterface.movie_maker_enabled as a property.
2023-04-17 21:59:09 +02:00
Rémi Verschelde
1c1524a651 Bump version to 4.1-dev
Can't stop, won't stop, they said, huh?
2023-03-01 01:44:37 +01:00
cespeute
4b00c2ec57 Add EditorInterface.get_selected_paths()
Exposes the selected paths in the editor filesystem dock.
Implements this proposal : https://github.com/godotengine/godot-proposals/issues/2424

Also renamed the old `get_selected_path` to `get_selected_directory` to
better match the already existing get_current_path function.
2022-11-14 22:46:27 +01:00
Rémi Verschelde
f7c611ab71 Style: Misc docs and comment style and language fixes
- Removed empty paragraphs in XML.
- Consistently use bold style for "Example:", on a new line.
- Fix usage of `[code]` when hyperlinks could be used (`[member]`, `[constant]`).
- Fix invalid usage of backticks for inline code in BBCode.
- Fix some American/British English spelling inconsistencies.
- Other minor fixes spotted along the way, including typo fixes with codespell.
- Don't specify `@GlobalScope` for `enum` and `constant`.
2022-11-02 19:01:18 +01:00
Rémi Verschelde
c29fe310f1 Fixup classref markup after #62416 2022-10-31 23:35:12 +01:00
Rémi Verschelde
778ffce1e3 Merge pull request #62416 from Calinou/movie-maker-request-attention-on-finish
Request attention on the editor window when done recording a movie
2022-10-31 23:03:21 +01:00
kobewi
1b7aee3c8d Fill random docs 2022-10-07 20:10:18 +02:00
Yuri Sizov
1459507ed2 Rename EditorInterface.get_editor_main_control to get_editor_main_screen 2022-09-07 03:01:58 +03:00
kobewi
7adc8376ed Change Array arguments to TypedArray 2022-09-01 13:13:19 +02:00
kobewi
8be27dc59e Replace Array return types with TypedArray 2022-08-22 22:42:36 +02:00