Remove unused includes in editor with clangd-tidy
Also includes the few changes flagged in `main`.
This commit is contained in:
@@ -42,14 +42,11 @@
|
||||
#include "editor/settings/editor_settings.h"
|
||||
#include "editor/themes/editor_scale.h"
|
||||
#include "scene/animation/animation_blend_tree.h"
|
||||
#include "scene/animation/animation_player.h"
|
||||
#include "scene/gui/button.h"
|
||||
#include "scene/gui/check_box.h"
|
||||
#include "scene/gui/grid_container.h"
|
||||
#include "scene/gui/line_edit.h"
|
||||
#include "scene/gui/menu_button.h"
|
||||
#include "scene/gui/option_button.h"
|
||||
#include "scene/gui/panel.h"
|
||||
#include "scene/gui/panel_container.h"
|
||||
#include "scene/gui/rich_text_label.h"
|
||||
#include "scene/gui/separator.h"
|
||||
|
||||
@@ -30,6 +30,7 @@
|
||||
|
||||
#include "animation_library_editor.h"
|
||||
|
||||
#include "core/io/config_file.h"
|
||||
#include "core/io/resource_loader.h"
|
||||
#include "core/object/callable_mp.h"
|
||||
#include "core/object/class_db.h"
|
||||
|
||||
@@ -30,7 +30,6 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "core/io/config_file.h"
|
||||
#include "core/templates/vector.h"
|
||||
#include "editor/plugins/editor_plugin.h"
|
||||
#include "scene/animation/animation_mixer.h"
|
||||
|
||||
@@ -36,9 +36,7 @@
|
||||
#include "editor/plugins/editor_plugin.h"
|
||||
#include "scene/animation/animation_player.h"
|
||||
#include "scene/gui/dialogs.h"
|
||||
#include "scene/gui/slider.h"
|
||||
#include "scene/gui/spin_box.h"
|
||||
#include "scene/gui/texture_button.h"
|
||||
#include "scene/gui/tree.h"
|
||||
#include "scene/resources/material.h"
|
||||
|
||||
|
||||
@@ -45,6 +45,7 @@
|
||||
#include "scene/animation/animation_blend_tree.h"
|
||||
#include "scene/gui/button.h"
|
||||
#include "scene/gui/margin_container.h"
|
||||
#include "scene/gui/panel_container.h"
|
||||
#include "scene/gui/rich_text_label.h"
|
||||
#include "scene/gui/scroll_container.h"
|
||||
#include "scene/gui/separator.h"
|
||||
|
||||
@@ -33,10 +33,11 @@
|
||||
#include "editor/docks/editor_dock.h"
|
||||
#include "editor/plugins/editor_plugin.h"
|
||||
#include "scene/animation/animation_tree.h"
|
||||
#include "scene/gui/graph_edit.h"
|
||||
#include "scene/gui/box_container.h"
|
||||
|
||||
class Button;
|
||||
class EditorFileDialog;
|
||||
class PanelContainer;
|
||||
class ScrollContainer;
|
||||
class RichTextLabel;
|
||||
|
||||
|
||||
@@ -36,7 +36,6 @@
|
||||
#include "editor/debugger/editor_debugger_node.h"
|
||||
#include "editor/debugger/script_editor_debugger.h"
|
||||
#include "editor/export/editor_export.h"
|
||||
#include "editor/export/editor_export_platform.h"
|
||||
#include "editor/run/editor_run_bar.h"
|
||||
#include "editor/script/script_editor_plugin.h"
|
||||
|
||||
|
||||
@@ -39,7 +39,6 @@
|
||||
#include "editor/editor_node.h"
|
||||
#include "editor/run/run_instances_dialog.h"
|
||||
#include "editor/script/script_editor_plugin.h"
|
||||
#include "editor/settings/editor_command_palette.h"
|
||||
#include "editor/settings/editor_settings.h"
|
||||
#include "scene/gui/popup_menu.h"
|
||||
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
|
||||
#include "core/io/image.h"
|
||||
#include "core/object/callable_mp.h"
|
||||
#include "core/object/class_db.h"
|
||||
#include "core/object/class_db.h" // IWYU pragma: keep. `ADD_SIGNAL` macro.
|
||||
#include "core/string/translation_server.h"
|
||||
#include "editor/editor_string_names.h"
|
||||
#include "editor/run/editor_run_bar.h"
|
||||
@@ -40,6 +40,7 @@
|
||||
#include "editor/themes/editor_scale.h"
|
||||
#include "scene/gui/check_box.h"
|
||||
#include "scene/gui/flow_container.h"
|
||||
#include "scene/gui/label.h"
|
||||
#include "scene/resources/image_texture.h"
|
||||
|
||||
void EditorProfiler::_make_metric_ptrs(Metric &m) {
|
||||
|
||||
@@ -33,7 +33,6 @@
|
||||
#include "scene/gui/box_container.h"
|
||||
#include "scene/gui/button.h"
|
||||
#include "scene/gui/check_button.h"
|
||||
#include "scene/gui/label.h"
|
||||
#include "scene/gui/option_button.h"
|
||||
#include "scene/gui/spin_box.h"
|
||||
#include "scene/gui/split_container.h"
|
||||
|
||||
@@ -32,13 +32,14 @@
|
||||
|
||||
#include "core/io/image.h"
|
||||
#include "core/object/callable_mp.h"
|
||||
#include "core/object/class_db.h"
|
||||
#include "core/object/class_db.h" // IWYU pragma: keep. `ADD_SIGNAL` macro.
|
||||
#include "core/string/translation_server.h"
|
||||
#include "editor/editor_string_names.h"
|
||||
#include "editor/run/editor_run_bar.h"
|
||||
#include "editor/settings/editor_settings.h"
|
||||
#include "editor/themes/editor_scale.h"
|
||||
#include "scene/gui/flow_container.h"
|
||||
#include "scene/gui/label.h"
|
||||
#include "scene/resources/image_texture.h"
|
||||
|
||||
void EditorVisualProfiler::set_hardware_info(const String &p_cpu_name, const String &p_gpu_name) {
|
||||
|
||||
@@ -33,7 +33,6 @@
|
||||
#include "scene/gui/box_container.h"
|
||||
#include "scene/gui/button.h"
|
||||
#include "scene/gui/check_box.h"
|
||||
#include "scene/gui/label.h"
|
||||
#include "scene/gui/option_button.h"
|
||||
#include "scene/gui/spin_box.h"
|
||||
#include "scene/gui/split_container.h"
|
||||
|
||||
@@ -46,9 +46,6 @@
|
||||
#include "scene/resources/theme.h"
|
||||
#include "scene/theme/theme_db.h"
|
||||
|
||||
// Used for a hack preserving Mono properties on non-Mono builds.
|
||||
#include "modules/modules_enabled.gen.h" // For mono.
|
||||
|
||||
static String _get_indent(const String &p_text) {
|
||||
String indent;
|
||||
bool has_text = false;
|
||||
|
||||
@@ -36,7 +36,6 @@
|
||||
#include "scene/gui/dialogs.h"
|
||||
#include "scene/gui/popup.h"
|
||||
#include "scene/gui/rich_text_label.h"
|
||||
#include "scene/gui/split_container.h"
|
||||
#include "scene/gui/text_edit.h"
|
||||
#include "scene/main/timer.h"
|
||||
|
||||
|
||||
@@ -41,7 +41,6 @@
|
||||
#include "editor/settings/editor_settings.h"
|
||||
#include "editor/themes/editor_scale.h"
|
||||
#include "editor/themes/editor_theme_manager.h"
|
||||
#include "scene/gui/line_edit.h"
|
||||
#include "scene/gui/margin_container.h"
|
||||
#include "servers/display/display_server.h"
|
||||
|
||||
|
||||
@@ -31,7 +31,6 @@
|
||||
#include "editor_dock.h"
|
||||
|
||||
#include "core/input/shortcut.h"
|
||||
#include "core/io/config_file.h"
|
||||
#include "core/object/callable_mp.h"
|
||||
#include "core/object/class_db.h"
|
||||
#include "editor/docks/dock_tab_container.h"
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
#include "editor_dock_manager.h"
|
||||
|
||||
#include "core/object/callable_mp.h"
|
||||
#include "core/object/class_db.h"
|
||||
#include "core/object/class_db.h" // IWYU pragma: keep. `ADD_SIGNAL` macro.
|
||||
#include "editor/docks/dock_tab_container.h"
|
||||
#include "editor/docks/editor_dock.h"
|
||||
#include "editor/editor_node.h"
|
||||
@@ -42,6 +42,7 @@
|
||||
#include "scene/gui/box_container.h"
|
||||
#include "scene/gui/button.h"
|
||||
#include "scene/gui/label.h"
|
||||
#include "scene/gui/popup_menu.h"
|
||||
#include "scene/gui/split_container.h"
|
||||
#include "scene/gui/tab_container.h"
|
||||
#include "scene/main/window.h"
|
||||
|
||||
@@ -36,7 +36,6 @@
|
||||
#include "editor/editor_string_names.h"
|
||||
#include "editor/editor_undo_redo_manager.h"
|
||||
#include "editor/settings/editor_command_palette.h"
|
||||
#include "editor/settings/editor_settings.h"
|
||||
#include "scene/gui/check_box.h"
|
||||
#include "scene/gui/item_list.h"
|
||||
|
||||
|
||||
@@ -31,11 +31,13 @@
|
||||
#include "import_dock.h"
|
||||
|
||||
#include "core/config/project_settings.h"
|
||||
#include "core/io/resource_importer.h"
|
||||
#include "core/object/callable_mp.h"
|
||||
#include "core/object/class_db.h"
|
||||
#include "editor/editor_node.h"
|
||||
#include "editor/editor_string_names.h"
|
||||
#include "editor/editor_undo_redo_manager.h"
|
||||
#include "editor/file_system/editor_file_system.h"
|
||||
#include "editor/inspector/editor_resource_preview.h"
|
||||
#include "editor/settings/editor_command_palette.h"
|
||||
#include "editor/settings/editor_settings.h"
|
||||
|
||||
@@ -31,9 +31,7 @@
|
||||
#pragma once
|
||||
|
||||
#include "core/io/config_file.h"
|
||||
#include "core/io/resource_importer.h"
|
||||
#include "editor/docks/editor_dock.h"
|
||||
#include "editor/file_system/editor_file_system.h"
|
||||
#include "editor/inspector/editor_inspector.h"
|
||||
#include "scene/gui/box_container.h"
|
||||
#include "scene/gui/dialogs.h"
|
||||
|
||||
@@ -34,7 +34,6 @@
|
||||
#include "editor/editor_data.h"
|
||||
#include "editor/gui/create_dialog.h"
|
||||
#include "editor/inspector/editor_inspector.h"
|
||||
#include "scene/gui/box_container.h"
|
||||
#include "scene/gui/button.h"
|
||||
#include "scene/gui/dialogs.h"
|
||||
#include "scene/gui/line_edit.h"
|
||||
|
||||
@@ -46,7 +46,6 @@
|
||||
#include "editor/settings/editor_command_palette.h"
|
||||
#include "editor/settings/editor_settings.h"
|
||||
#include "editor/themes/editor_scale.h"
|
||||
#include "modules/regex/regex.h"
|
||||
#include "scene/gui/box_container.h"
|
||||
#include "scene/gui/flow_container.h"
|
||||
#include "scene/gui/separator.h"
|
||||
|
||||
@@ -30,10 +30,9 @@
|
||||
|
||||
#include "editor_export.h"
|
||||
|
||||
#include "core/config/project_settings.h"
|
||||
#include "core/io/config_file.h"
|
||||
#include "core/object/callable_mp.h"
|
||||
#include "core/object/class_db.h"
|
||||
#include "core/object/class_db.h" // IWYU pragma: keep. `ADD_SIGNAL` macro.
|
||||
#include "editor/settings/editor_settings.h"
|
||||
#include "scene/main/timer.h"
|
||||
|
||||
|
||||
@@ -41,11 +41,12 @@
|
||||
#include "core/io/image.h"
|
||||
#include "core/io/image_loader.h"
|
||||
#include "core/io/resource_uid.h"
|
||||
#include "core/io/zip_io.h"
|
||||
#include "core/math/random_pcg.h"
|
||||
#include "core/object/class_db.h"
|
||||
#include "core/os/os.h"
|
||||
#include "core/os/shared_object.h"
|
||||
#include "core/string/translation_server.h"
|
||||
#include "core/string/translation.h"
|
||||
#include "core/version.h"
|
||||
#include "editor/editor_node.h"
|
||||
#include "editor/editor_string_names.h"
|
||||
|
||||
@@ -30,13 +30,13 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "core/io/zip_io.h"
|
||||
#include "core/os/process_id.h"
|
||||
#include "editor/export/editor_export_preset.h"
|
||||
|
||||
class DirAccess;
|
||||
class EditorExportPlugin;
|
||||
class EditorFileSystemDirectory;
|
||||
class FileAccess;
|
||||
class Image;
|
||||
class Node;
|
||||
class RichTextLabel;
|
||||
@@ -44,6 +44,8 @@ class Texture2D;
|
||||
struct EditorProgress;
|
||||
struct SharedObject;
|
||||
|
||||
typedef void *zipFile;
|
||||
|
||||
const String ENV_SCRIPT_ENCRYPTION_KEY = "GODOT_SCRIPT_ENCRYPTION_KEY";
|
||||
|
||||
class EditorExportPlatform : public RefCounted {
|
||||
|
||||
@@ -30,27 +30,31 @@
|
||||
|
||||
#include "editor_export_platform_apple_embedded.h"
|
||||
|
||||
#include "core/io/json.h"
|
||||
#include "core/io/file_access.h"
|
||||
#include "core/io/plist.h"
|
||||
#include "core/object/callable_mp.h"
|
||||
#include "core/io/zip_io.h"
|
||||
#include "core/os/os.h"
|
||||
#include "core/os/process_id.h"
|
||||
#include "core/string/translation_server.h"
|
||||
#include "editor/editor_node.h"
|
||||
#include "editor/editor_string_names.h"
|
||||
#include "editor/export/editor_export.h"
|
||||
#include "editor/export/lipo.h"
|
||||
#include "editor/export/macho.h"
|
||||
#include "editor/file_system/editor_paths.h"
|
||||
#include "editor/import/resource_importer_texture_settings.h"
|
||||
#include "editor/script/script_editor_plugin.h"
|
||||
#include "editor/themes/editor_scale.h"
|
||||
#include "main/main.h"
|
||||
#include "servers/display/display_server.h"
|
||||
|
||||
#include "modules/modules_enabled.gen.h" // For mono.
|
||||
#include "modules/modules_enabled.gen.h" // IWYU pragma: keep. For mono.
|
||||
#include "modules/svg/image_loader_svg.h"
|
||||
|
||||
#ifdef MACOS_ENABLED
|
||||
#include "core/io/json.h"
|
||||
#include "core/object/callable_mp.h"
|
||||
#include "core/os/process_id.h"
|
||||
#include "editor/file_system/editor_paths.h"
|
||||
#include "editor/script/script_editor_plugin.h"
|
||||
#include "editor/settings/editor_settings.h"
|
||||
#endif
|
||||
|
||||
void EditorExportPlatformAppleEmbedded::get_preset_features(const Ref<EditorExportPreset> &p_preset, List<String> *r_features) const {
|
||||
// Vulkan and OpenGL ES 3.0 both mandate ETC2 support.
|
||||
r_features->push_back("etc2");
|
||||
|
||||
@@ -34,19 +34,15 @@
|
||||
|
||||
#include "core/config/project_settings.h"
|
||||
#include "core/io/dir_access.h"
|
||||
#include "core/io/file_access.h"
|
||||
#include "core/io/image_loader.h"
|
||||
#include "core/io/marshalls.h"
|
||||
#include "core/io/resource_saver.h"
|
||||
#include "core/io/zip_io.h"
|
||||
#include "core/templates/safe_refcount.h"
|
||||
#include "editor/export/editor_export_platform.h"
|
||||
#include "editor/settings/editor_settings.h"
|
||||
#include "main/splash.gen.h"
|
||||
#include "scene/resources/image_texture.h"
|
||||
|
||||
#include <sys/stat.h>
|
||||
|
||||
#ifdef MACOS_ENABLED
|
||||
#include <functional>
|
||||
#endif
|
||||
|
||||
// Optional environment variables for defining confidential information. If any
|
||||
// of these is set, they will override the values set in the credentials file.
|
||||
|
||||
@@ -32,9 +32,10 @@
|
||||
|
||||
#include "core/config/project_settings.h"
|
||||
#include "core/io/dir_access.h"
|
||||
#include "core/io/file_access.h"
|
||||
#include "core/os/os.h"
|
||||
#include "core/os/shared_object.h"
|
||||
#include "scene/resources/image_texture.h"
|
||||
#include "scene/resources/image_texture.h" // IWYU pragma: keep. Misdetection of `logo`.
|
||||
|
||||
void EditorExportPlatformPC::get_preset_features(const Ref<EditorExportPreset> &p_preset, List<String> *r_features) const {
|
||||
if (p_preset->get("texture_format/s3tc_bptc")) {
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
#pragma once
|
||||
|
||||
#include "core/extension/gdextension_library_loader.h"
|
||||
#include "editor/export/editor_export.h"
|
||||
#include "editor/export/editor_export_plugin.h"
|
||||
|
||||
class GDExtensionExportPlugin : public EditorExportPlugin {
|
||||
GDSOFTCLASS(GDExtensionExportPlugin, EditorExportPlugin);
|
||||
|
||||
@@ -33,8 +33,10 @@
|
||||
#include "core/config/project_settings.h"
|
||||
#include "core/io/dir_access.h"
|
||||
#include "core/io/file_access.h"
|
||||
#include "core/io/zip_io.h"
|
||||
#include "core/os/os.h"
|
||||
#include "core/os/time.h"
|
||||
#include "core/string/ustring.h"
|
||||
|
||||
String ProjectZIPPacker::get_project_zip_safe_name() {
|
||||
// Name the downloaded ZIP file to contain the project name and download date for easier organization.
|
||||
|
||||
@@ -30,8 +30,9 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "core/io/zip_io.h"
|
||||
#include "core/variant/variant.h"
|
||||
class String;
|
||||
|
||||
typedef void *zipFile;
|
||||
|
||||
class ProjectZIPPacker {
|
||||
static void _zip_file(const String &p_path, const String &p_base_path, zipFile p_zip);
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
#include "core/io/file_access.h"
|
||||
#include "core/io/resource_loader.h"
|
||||
#include "core/object/callable_mp.h"
|
||||
#include "core/object/class_db.h"
|
||||
#include "core/object/class_db.h" // IWYU pragma: keep. `ADD_SIGNAL` macro.
|
||||
#include "core/os/os.h"
|
||||
#include "editor/editor_node.h"
|
||||
#include "editor/editor_string_names.h"
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
#include "editor_dir_dialog.h"
|
||||
|
||||
#include "core/object/callable_mp.h"
|
||||
#include "core/object/class_db.h"
|
||||
#include "core/object/class_db.h" // IWYU pragma: keep. `ADD_SIGNAL` macro.
|
||||
#include "editor/docks/filesystem_dock.h"
|
||||
#include "editor/file_system/editor_file_system.h"
|
||||
#include "editor/gui/directory_create_dialog.h"
|
||||
|
||||
@@ -31,13 +31,14 @@
|
||||
#include "editor_file_dialog.h"
|
||||
|
||||
#include "core/config/project_settings.h"
|
||||
#include "core/object/class_db.h"
|
||||
#include "core/os/os.h"
|
||||
#include "editor/docks/filesystem_dock.h"
|
||||
#include "editor/editor_string_names.h"
|
||||
#include "editor/file_system/dependency_editor.h"
|
||||
#include "editor/settings/editor_settings.h"
|
||||
#include "editor/themes/editor_scale.h"
|
||||
|
||||
#ifndef DISABLE_DEPRECATED
|
||||
#include "core/object/class_db.h"
|
||||
#endif
|
||||
|
||||
void EditorFileDialog::_item_menu_id_pressed(int p_option) {
|
||||
// Use dependency dialog to delete the entry in the editor, but only for project files.
|
||||
|
||||
@@ -34,6 +34,7 @@
|
||||
#include "editor/editor_data.h"
|
||||
#include "editor/editor_node.h"
|
||||
#include "editor/editor_string_names.h"
|
||||
#include "scene/gui/box_container.h"
|
||||
#include "scene/gui/margin_container.h"
|
||||
|
||||
Size2 EditorObjectSelector::get_minimum_size() const {
|
||||
|
||||
@@ -30,7 +30,6 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "scene/gui/box_container.h"
|
||||
#include "scene/gui/button.h"
|
||||
#include "scene/gui/label.h"
|
||||
#include "scene/gui/popup_menu.h"
|
||||
|
||||
@@ -38,7 +38,6 @@
|
||||
#include "editor/docks/filesystem_dock.h"
|
||||
#include "editor/editor_node.h"
|
||||
#include "editor/editor_string_names.h"
|
||||
#include "editor/editor_undo_redo_manager.h"
|
||||
#include "editor/file_system/editor_file_system.h"
|
||||
#include "editor/file_system/editor_paths.h"
|
||||
#include "editor/gui/editor_toaster.h"
|
||||
|
||||
@@ -32,6 +32,7 @@
|
||||
|
||||
#include "core/object/callable_mp.h"
|
||||
#include "scene/main/scene_tree.h"
|
||||
#include "scene/main/window.h"
|
||||
#include "servers/display/display_server.h"
|
||||
|
||||
void EditorTitleBar::gui_input(const Ref<InputEvent> &p_event) {
|
||||
|
||||
@@ -31,7 +31,6 @@
|
||||
#pragma once
|
||||
|
||||
#include "scene/gui/box_container.h"
|
||||
#include "scene/main/window.h"
|
||||
|
||||
class EditorTitleBar : public HBoxContainer {
|
||||
GDCLASS(EditorTitleBar, HBoxContainer);
|
||||
|
||||
@@ -32,7 +32,6 @@
|
||||
|
||||
#include "core/input/input.h"
|
||||
#include "core/object/callable_mp.h"
|
||||
#include "editor/editor_string_names.h"
|
||||
#include "editor/settings/editor_settings.h"
|
||||
#include "scene/gui/box_container.h"
|
||||
#include "scene/gui/button.h"
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
#include "window_wrapper.h"
|
||||
|
||||
#include "core/object/callable_mp.h"
|
||||
#include "core/object/class_db.h"
|
||||
#include "core/object/class_db.h" // IWYU pragma: keep. `ADD_SIGNAL` macro.
|
||||
#include "editor/editor_node.h"
|
||||
#include "editor/editor_string_names.h"
|
||||
#include "editor/gui/progress_dialog.h"
|
||||
|
||||
@@ -31,11 +31,12 @@
|
||||
#pragma once
|
||||
|
||||
#include "core/math/rect2.h"
|
||||
#include "scene/gui/button.h"
|
||||
#include "scene/gui/margin_container.h"
|
||||
#include "scene/gui/menu_button.h"
|
||||
|
||||
class Window;
|
||||
class HBoxContainer;
|
||||
class Popup;
|
||||
class Window;
|
||||
|
||||
class WindowWrapper : public MarginContainer {
|
||||
GDCLASS(WindowWrapper, MarginContainer);
|
||||
|
||||
@@ -39,7 +39,6 @@
|
||||
#include "editor/editor_node.h"
|
||||
#include "editor/editor_string_names.h"
|
||||
#include "editor/file_system/editor_file_system.h"
|
||||
#include "editor/gui/editor_file_dialog.h"
|
||||
#include "editor/inspector/editor_inspector.h"
|
||||
#include "editor/settings/editor_settings.h"
|
||||
#include "editor/themes/editor_scale.h"
|
||||
|
||||
@@ -32,6 +32,8 @@
|
||||
|
||||
#include "core/io/config_file.h"
|
||||
#include "core/io/resource_saver.h"
|
||||
#include "scene/resources/font.h"
|
||||
#include "servers/text/text_server.h"
|
||||
|
||||
String ResourceImporterBMFont::get_importer_name() const {
|
||||
return "font_data_bmfont";
|
||||
|
||||
@@ -31,8 +31,6 @@
|
||||
#pragma once
|
||||
|
||||
#include "core/io/resource_importer.h"
|
||||
#include "scene/resources/font.h"
|
||||
#include "servers/text/text_server.h"
|
||||
|
||||
class ResourceImporterBMFont : public ResourceImporter {
|
||||
GDCLASS(ResourceImporterBMFont, ResourceImporter);
|
||||
|
||||
@@ -30,7 +30,6 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "core/io/image.h"
|
||||
#include "core/io/resource_importer.h"
|
||||
|
||||
class ResourceImporterImage : public ResourceImporter {
|
||||
|
||||
@@ -32,6 +32,8 @@
|
||||
|
||||
#include "core/io/image_loader.h"
|
||||
#include "core/io/resource_saver.h"
|
||||
#include "scene/resources/font.h"
|
||||
#include "servers/text/text_server.h"
|
||||
|
||||
String ResourceImporterImageFont::get_importer_name() const {
|
||||
return "font_data_image";
|
||||
|
||||
@@ -31,8 +31,6 @@
|
||||
#pragma once
|
||||
|
||||
#include "core/io/resource_importer.h"
|
||||
#include "scene/resources/font.h"
|
||||
#include "servers/text/text_server.h"
|
||||
|
||||
class ResourceImporterImageFont : public ResourceImporter {
|
||||
GDCLASS(ResourceImporterImageFont, ResourceImporter);
|
||||
|
||||
@@ -33,9 +33,7 @@
|
||||
#include "core/config/project_settings.h"
|
||||
#include "core/io/config_file.h"
|
||||
#include "core/io/image_loader.h"
|
||||
#include "core/version.h"
|
||||
#include "editor/file_system/editor_file_system.h"
|
||||
#include "editor/gui/editor_toaster.h"
|
||||
#include "editor/import/resource_importer_texture_settings.h"
|
||||
#include "editor/settings/editor_settings.h"
|
||||
#include "editor/themes/editor_scale.h"
|
||||
|
||||
@@ -31,6 +31,7 @@
|
||||
#include "resource_importer_wav.h"
|
||||
|
||||
#include "core/io/resource_saver.h"
|
||||
#include "scene/resources/audio_stream_wav.h"
|
||||
|
||||
String ResourceImporterWAV::get_importer_name() const {
|
||||
return "wav";
|
||||
|
||||
@@ -31,7 +31,6 @@
|
||||
#pragma once
|
||||
|
||||
#include "core/io/resource_importer.h"
|
||||
#include "scene/resources/audio_stream_wav.h"
|
||||
|
||||
class ResourceImporterWAV : public ResourceImporter {
|
||||
GDCLASS(ResourceImporterWAV, ResourceImporter);
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
#include "core/object/callable_mp.h"
|
||||
#include "core/object/class_db.h"
|
||||
#include "core/os/keyboard.h"
|
||||
#include "core/variant/typed_dictionary.h"
|
||||
#include "core/variant/typed_dictionary.h" // IWYU pragma: keep. For EditorDebuggerRemoteObjects.
|
||||
#include "editor/debugger/editor_debugger_inspector.h"
|
||||
#include "editor/debugger/editor_debugger_node.h"
|
||||
#include "editor/doc/doc_tools.h"
|
||||
|
||||
@@ -36,7 +36,6 @@
|
||||
#include "core/io/resource_saver.h"
|
||||
#include "core/object/callable_mp.h"
|
||||
#include "core/object/class_db.h"
|
||||
#include "core/os/main_loop.h"
|
||||
#include "core/os/os.h"
|
||||
#include "core/variant/variant_utility.h"
|
||||
#include "editor/editor_node.h"
|
||||
|
||||
@@ -39,7 +39,6 @@
|
||||
#include "editor/editor_node.h"
|
||||
#include "editor/editor_string_names.h"
|
||||
#include "editor/themes/editor_scale.h"
|
||||
#include "scene/gui/margin_container.h"
|
||||
#include "scene/gui/separator.h"
|
||||
#include "scene/gui/texture_rect.h"
|
||||
#include "scene/gui/tree.h"
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
|
||||
#include "editor_resource_conversion_plugin.h"
|
||||
|
||||
#include "core/object/class_db.h"
|
||||
#include "core/object/class_db.h" // IWYU pragma: keep. `GDVIRTUAL_BIND` macro.
|
||||
|
||||
void EditorResourceConversionPlugin::_bind_methods() {
|
||||
GDVIRTUAL_BIND(_converts_to);
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
#include "core/io/config_file.h"
|
||||
#include "core/io/dir_access.h"
|
||||
#include "core/object/callable_mp.h"
|
||||
#include "core/object/class_db.h"
|
||||
#include "core/object/class_db.h" // IWYU pragma: keep. `ADD_SIGNAL` macro.
|
||||
#include "core/object/script_language.h"
|
||||
#include "editor/editor_node.h"
|
||||
#include "editor/file_system/editor_file_system.h"
|
||||
|
||||
@@ -30,7 +30,6 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "scene/gui/check_box.h"
|
||||
#include "scene/gui/dialogs.h"
|
||||
#include "scene/gui/line_edit.h"
|
||||
#include "scene/gui/option_button.h"
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
|
||||
#include "core/io/json.h"
|
||||
#include "core/object/callable_mp.h"
|
||||
#include "core/object/class_db.h"
|
||||
#include "core/object/class_db.h" // IWYU pragma: keep. `ADD_SIGNAL` macro.
|
||||
#include "core/os/os.h"
|
||||
#include "core/version.h"
|
||||
#include "editor/editor_string_names.h"
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
#include "core/io/dir_access.h"
|
||||
#include "core/io/zip_io.h"
|
||||
#include "core/object/callable_mp.h"
|
||||
#include "core/object/class_db.h"
|
||||
#include "core/object/class_db.h" // IWYU pragma: keep. `ADD_SIGNAL` macro.
|
||||
#include "core/os/os.h"
|
||||
#include "core/version.h"
|
||||
#include "editor/editor_node.h"
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
#include "core/input/input.h"
|
||||
#include "core/io/dir_access.h"
|
||||
#include "core/object/callable_mp.h"
|
||||
#include "core/object/class_db.h"
|
||||
#include "core/object/class_db.h" // IWYU pragma: keep. `ADD_SIGNAL` macro.
|
||||
#include "core/os/os.h"
|
||||
#include "core/os/time.h"
|
||||
#include "core/version.h"
|
||||
|
||||
@@ -31,8 +31,7 @@
|
||||
#include "quick_settings_dialog.h"
|
||||
|
||||
#include "core/object/callable_mp.h"
|
||||
#include "core/object/class_db.h"
|
||||
#include "core/string/translation_server.h"
|
||||
#include "core/object/class_db.h" // IWYU pragma: keep. `ADD_SIGNAL` macro.
|
||||
#include "editor/doc/editor_help.h"
|
||||
#include "editor/editor_string_names.h"
|
||||
#include "editor/inspector/editor_properties.h"
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
#include "core/config/project_settings.h"
|
||||
#include "core/io/dir_access.h"
|
||||
#include "core/object/callable_mp.h"
|
||||
#include "core/object/class_db.h"
|
||||
#include "core/object/class_db.h" // IWYU pragma: keep. `ADD_SIGNAL` macro.
|
||||
#include "editor/editor_node.h"
|
||||
#include "editor/file_system/editor_file_system.h"
|
||||
#include "editor/scene/editor_scene_tabs.h"
|
||||
|
||||
@@ -33,11 +33,13 @@
|
||||
#include "core/config/engine.h"
|
||||
#include "core/config/project_settings.h"
|
||||
#include "core/object/callable_mp.h"
|
||||
#include "core/object/class_db.h"
|
||||
#include "core/object/class_db.h" // IWYU pragma: keep. `ADD_SIGNAL` macro.
|
||||
#include "editor/debugger/editor_debugger_node.h"
|
||||
#include "editor/debugger/script_editor_debugger.h"
|
||||
#include "editor/editor_node.h"
|
||||
#include "editor/editor_string_names.h"
|
||||
#include "editor/export/editor_export_platform.h"
|
||||
#include "editor/export/editor_export_preset.h"
|
||||
#include "editor/gui/editor_bottom_panel.h"
|
||||
#include "editor/gui/editor_quick_open_dialog.h"
|
||||
#include "editor/gui/editor_toaster.h"
|
||||
|
||||
@@ -31,16 +31,16 @@
|
||||
#pragma once
|
||||
|
||||
#include "core/os/process_id.h"
|
||||
#include "editor/export/editor_export.h"
|
||||
#include "editor/run/editor_run.h"
|
||||
#include "scene/gui/margin_container.h"
|
||||
|
||||
class AcceptDialog;
|
||||
class Button;
|
||||
class EditorExportPreset;
|
||||
class EditorRunNative;
|
||||
class HBoxContainer;
|
||||
class MenuButton;
|
||||
class PanelContainer;
|
||||
class HBoxContainer;
|
||||
class AcceptDialog;
|
||||
|
||||
class EditorRunBar : public MarginContainer {
|
||||
GDCLASS(EditorRunBar, MarginContainer);
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
#include "editor_run_native.h"
|
||||
|
||||
#include "core/object/callable_mp.h"
|
||||
#include "core/object/class_db.h"
|
||||
#include "core/object/class_db.h" // IWYU pragma: keep. `ADD_SIGNAL` macro.
|
||||
#include "editor/editor_node.h"
|
||||
#include "editor/export/editor_export.h"
|
||||
#include "editor/export/editor_export_platform.h"
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
#include "core/config/project_settings.h"
|
||||
#include "core/input/input.h"
|
||||
#include "core/object/callable_mp.h"
|
||||
#include "core/object/class_db.h"
|
||||
#include "core/object/class_db.h" // IWYU pragma: keep. `ADD_SIGNAL` macro.
|
||||
#include "core/os/os.h"
|
||||
#include "editor/editor_string_names.h"
|
||||
#include "scene/main/timer.h"
|
||||
@@ -445,8 +445,7 @@ Window *EmbeddedProcess::_get_current_modal_window() {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
EmbeddedProcess::EmbeddedProcess() :
|
||||
EmbeddedProcessBase() {
|
||||
EmbeddedProcess::EmbeddedProcess() {
|
||||
timer_embedding = memnew(Timer);
|
||||
timer_embedding->set_wait_time(0.1);
|
||||
timer_embedding->set_one_shot(true);
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
#include "core/config/project_settings.h"
|
||||
#include "core/debugger/debugger_marshalls.h"
|
||||
#include "core/object/callable_mp.h"
|
||||
#include "core/object/class_db.h"
|
||||
#include "core/object/class_db.h" // IWYU pragma: keep. `ADD_SIGNAL` macro.
|
||||
#include "core/os/process_id.h"
|
||||
#include "core/string/translation_server.h"
|
||||
#include "editor/debugger/editor_debugger_node.h"
|
||||
|
||||
@@ -36,9 +36,7 @@
|
||||
#include "editor/editor_node.h"
|
||||
#include "editor/editor_undo_redo_manager.h"
|
||||
#include "editor/scene/canvas_item_editor_plugin.h"
|
||||
#include "editor/themes/editor_scale.h"
|
||||
#include "scene/2d/camera_2d.h"
|
||||
#include "scene/gui/label.h"
|
||||
#include "scene/gui/menu_button.h"
|
||||
|
||||
void Camera2DEditor::edit(Camera2D *p_camera) {
|
||||
|
||||
@@ -41,7 +41,6 @@
|
||||
#include "scene/2d/gpu_particles_2d.h"
|
||||
#include "scene/gui/box_container.h"
|
||||
#include "scene/gui/check_box.h"
|
||||
#include "scene/gui/margin_container.h"
|
||||
#include "scene/gui/option_button.h"
|
||||
#include "scene/gui/popup_menu.h"
|
||||
#include "scene/gui/spin_box.h"
|
||||
|
||||
@@ -37,7 +37,6 @@
|
||||
#include "editor/editor_undo_redo_manager.h"
|
||||
#include "editor/scene/canvas_item_editor_plugin.h"
|
||||
#include "editor/settings/editor_settings.h"
|
||||
#include "editor/themes/editor_scale.h"
|
||||
#include "scene/gui/dialogs.h"
|
||||
#include "scene/gui/menu_button.h"
|
||||
#include "scene/resources/mesh.h"
|
||||
|
||||
@@ -30,7 +30,6 @@
|
||||
|
||||
#include "scene_paint_2d_editor_plugin.h"
|
||||
|
||||
#include "core/config/project_settings.h"
|
||||
#include "core/object/callable_mp.h"
|
||||
#include "core/object/class_db.h"
|
||||
#include "editor/docks/filesystem_dock.h"
|
||||
@@ -39,22 +38,12 @@
|
||||
#include "editor/editor_main_screen.h"
|
||||
#include "editor/editor_node.h"
|
||||
#include "editor/editor_undo_redo_manager.h"
|
||||
#include "editor/gui/editor_file_dialog.h"
|
||||
#include "editor/scene/canvas_item_editor_plugin.h"
|
||||
#include "editor/settings/editor_settings.h"
|
||||
#include "editor/themes/editor_scale.h"
|
||||
#include "scene/2d/tile_map_layer.h"
|
||||
#include "scene/gui/box_container.h"
|
||||
#include "scene/gui/check_box.h"
|
||||
#include "scene/gui/dialogs.h"
|
||||
#include "scene/gui/item_list.h"
|
||||
#include "scene/gui/label.h"
|
||||
#include "scene/gui/menu_button.h"
|
||||
#include "scene/gui/separator.h"
|
||||
#include "scene/gui/spin_box.h"
|
||||
#include "scene/gui/split_container.h"
|
||||
#include "scene/gui/subviewport_container.h"
|
||||
#include "scene/gui/texture_rect.h"
|
||||
#include "scene/gui/tree.h"
|
||||
|
||||
void ScenePaint2DEditor::_can_handle(bool p_is_node_2d, bool p_edit) {
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
#include "tile_atlas_view.h"
|
||||
|
||||
#include "core/object/callable_mp.h"
|
||||
#include "core/object/class_db.h"
|
||||
#include "core/object/class_db.h" // IWYU pragma: keep. `ADD_SIGNAL` macro.
|
||||
#include "editor/settings/editor_settings.h"
|
||||
#include "editor/themes/editor_scale.h"
|
||||
#include "scene/2d/tile_map_layer.h"
|
||||
|
||||
@@ -41,12 +41,10 @@
|
||||
#include "editor/editor_string_names.h"
|
||||
#include "editor/inspector/multi_node_edit.h"
|
||||
#include "editor/scene/canvas_item_editor_plugin.h"
|
||||
#include "editor/settings/editor_command_palette.h"
|
||||
#include "editor/settings/editor_settings.h"
|
||||
#include "editor/themes/editor_scale.h"
|
||||
#include "scene/2d/tile_map.h"
|
||||
#include "scene/2d/tile_map_layer.h"
|
||||
#include "scene/gui/button.h"
|
||||
#include "scene/gui/control.h"
|
||||
#include "scene/main/scene_tree.h"
|
||||
#include "scene/resources/2d/tile_set.h"
|
||||
|
||||
@@ -42,6 +42,7 @@
|
||||
#include "scene/gui/aspect_ratio_container.h"
|
||||
#include "scene/gui/separator.h"
|
||||
#include "scene/gui/texture_rect.h"
|
||||
#include "scene/resources/texture.h"
|
||||
|
||||
#include "modules/regex/regex.h"
|
||||
|
||||
|
||||
@@ -39,7 +39,6 @@
|
||||
#include "scene/gui/dialogs.h"
|
||||
#include "scene/gui/texture_button.h"
|
||||
#include "scene/resources/bone_map.h"
|
||||
#include "scene/resources/texture.h"
|
||||
|
||||
class AspectRatioContainer;
|
||||
|
||||
|
||||
@@ -31,6 +31,8 @@
|
||||
#include "chain_ik_3d_gizmo_plugin.h"
|
||||
|
||||
#include "editor/settings/editor_settings.h"
|
||||
#include "scene/3d/iterate_ik_3d.h"
|
||||
#include "scene/resources/surface_tool.h"
|
||||
|
||||
ChainIK3DGizmoPlugin::SelectionMaterials ChainIK3DGizmoPlugin::selection_materials;
|
||||
|
||||
|
||||
@@ -30,11 +30,10 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "editor/plugins/editor_plugin.h"
|
||||
#include "editor/scene/3d/node_3d_editor_plugin.h"
|
||||
#include "scene/3d/iterate_ik_3d.h"
|
||||
#include "editor/scene/3d/node_3d_editor_gizmos.h"
|
||||
|
||||
#include "scene/resources/surface_tool.h"
|
||||
class ChainIK3D;
|
||||
class SurfaceTool;
|
||||
|
||||
class ChainIK3DGizmoPlugin : public EditorNode3DGizmoPlugin {
|
||||
GDCLASS(ChainIK3DGizmoPlugin, EditorNode3DGizmoPlugin);
|
||||
|
||||
@@ -30,10 +30,6 @@
|
||||
|
||||
#include "particles_3d_emission_shape_gizmo_plugin.h"
|
||||
|
||||
#include "editor/editor_node.h"
|
||||
#include "editor/editor_string_names.h"
|
||||
#include "editor/editor_undo_redo_manager.h"
|
||||
#include "editor/scene/3d/node_3d_editor_plugin.h"
|
||||
#include "editor/settings/editor_settings.h"
|
||||
#include "scene/3d/cpu_particles_3d.h"
|
||||
#include "scene/3d/gpu_particles_3d.h"
|
||||
|
||||
@@ -31,9 +31,12 @@
|
||||
#include "spring_bone_3d_gizmo_plugin.h"
|
||||
|
||||
#include "editor/settings/editor_settings.h"
|
||||
#include "scene/3d/spring_bone_collision_3d.h"
|
||||
#include "scene/3d/spring_bone_collision_capsule_3d.h"
|
||||
#include "scene/3d/spring_bone_collision_plane_3d.h"
|
||||
#include "scene/3d/spring_bone_collision_sphere_3d.h"
|
||||
#include "scene/3d/spring_bone_simulator_3d.h"
|
||||
#include "scene/resources/surface_tool.h"
|
||||
|
||||
// SpringBoneSimulator3D
|
||||
|
||||
|
||||
@@ -30,11 +30,11 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "editor/plugins/editor_plugin.h"
|
||||
#include "editor/scene/3d/node_3d_editor_plugin.h"
|
||||
#include "scene/3d/spring_bone_collision_3d.h"
|
||||
#include "scene/3d/spring_bone_simulator_3d.h"
|
||||
#include "scene/resources/surface_tool.h"
|
||||
#include "editor/scene/3d/node_3d_editor_gizmos.h"
|
||||
|
||||
class SpringBoneCollision3D;
|
||||
class SpringBoneSimulator3D;
|
||||
class SurfaceTool;
|
||||
|
||||
class SpringBoneSimulator3DGizmoPlugin : public EditorNode3DGizmoPlugin {
|
||||
GDCLASS(SpringBoneSimulator3DGizmoPlugin, EditorNode3DGizmoPlugin);
|
||||
|
||||
@@ -31,6 +31,8 @@
|
||||
#include "two_bone_ik_3d_gizmo_plugin.h"
|
||||
|
||||
#include "editor/settings/editor_settings.h"
|
||||
#include "scene/3d/two_bone_ik_3d.h"
|
||||
#include "scene/resources/surface_tool.h"
|
||||
|
||||
TwoBoneIK3DGizmoPlugin::SelectionMaterials TwoBoneIK3DGizmoPlugin::selection_materials;
|
||||
|
||||
|
||||
@@ -30,11 +30,10 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "editor/plugins/editor_plugin.h"
|
||||
#include "editor/scene/3d/node_3d_editor_plugin.h"
|
||||
#include "scene/3d/two_bone_ik_3d.h"
|
||||
#include "editor/scene/3d/node_3d_editor_gizmos.h"
|
||||
|
||||
#include "scene/resources/surface_tool.h"
|
||||
class TwoBoneIK3D;
|
||||
class SurfaceTool;
|
||||
|
||||
class TwoBoneIK3DGizmoPlugin : public EditorNode3DGizmoPlugin {
|
||||
GDCLASS(TwoBoneIK3DGizmoPlugin, EditorNode3DGizmoPlugin);
|
||||
|
||||
@@ -30,11 +30,13 @@
|
||||
|
||||
#include "gpu_particles_collision_sdf_editor_plugin.h"
|
||||
|
||||
#include "core/io/resource_loader.h"
|
||||
#include "core/object/callable_mp.h"
|
||||
#include "editor/editor_interface.h"
|
||||
#include "editor/editor_node.h"
|
||||
#include "editor/editor_string_names.h"
|
||||
#include "editor/gui/editor_file_dialog.h"
|
||||
#include "scene/3d/gpu_particles_collision_3d.h"
|
||||
#include "scene/main/scene_tree.h"
|
||||
|
||||
void GPUParticlesCollisionSDF3DEditorPlugin::_bake() {
|
||||
|
||||
@@ -31,11 +31,10 @@
|
||||
#pragma once
|
||||
|
||||
#include "editor/plugins/editor_plugin.h"
|
||||
#include "scene/3d/gpu_particles_collision_3d.h"
|
||||
#include "scene/resources/material.h"
|
||||
|
||||
struct EditorProgress;
|
||||
class EditorFileDialog;
|
||||
class GPUParticlesCollisionSDF3D;
|
||||
class HBoxContainer;
|
||||
|
||||
class GPUParticlesCollisionSDF3DEditorPlugin : public EditorPlugin {
|
||||
|
||||
@@ -30,12 +30,14 @@
|
||||
|
||||
#include "lightmap_gi_editor_plugin.h"
|
||||
|
||||
#include "core/io/resource_loader.h"
|
||||
#include "core/object/callable_mp.h"
|
||||
#include "core/object/class_db.h"
|
||||
#include "core/os/os.h"
|
||||
#include "editor/editor_node.h"
|
||||
#include "editor/editor_string_names.h"
|
||||
#include "editor/gui/editor_file_dialog.h"
|
||||
#include "scene/3d/lightmap_gi.h"
|
||||
#include "scene/main/scene_tree.h"
|
||||
#include "servers/display/display_server.h"
|
||||
#include "servers/rendering/rendering_server.h"
|
||||
|
||||
@@ -31,11 +31,10 @@
|
||||
#pragma once
|
||||
|
||||
#include "editor/plugins/editor_plugin.h"
|
||||
#include "scene/3d/lightmap_gi.h"
|
||||
#include "scene/resources/material.h"
|
||||
|
||||
struct EditorProgress;
|
||||
class EditorFileDialog;
|
||||
class LightmapGI;
|
||||
|
||||
class LightmapGIEditorPlugin : public EditorPlugin {
|
||||
GDCLASS(LightmapGIEditorPlugin, EditorPlugin);
|
||||
|
||||
@@ -35,6 +35,7 @@
|
||||
#include "editor/editor_node.h"
|
||||
#include "editor/editor_string_names.h"
|
||||
#include "editor/gui/editor_file_dialog.h"
|
||||
#include "scene/3d/occluder_instance_3d.h"
|
||||
#include "scene/main/scene_tree.h"
|
||||
|
||||
void OccluderInstance3DEditorPlugin::_bake_select_file(const String &p_file) {
|
||||
|
||||
@@ -31,10 +31,9 @@
|
||||
#pragma once
|
||||
|
||||
#include "editor/plugins/editor_plugin.h"
|
||||
#include "scene/3d/occluder_instance_3d.h"
|
||||
#include "scene/resources/material.h"
|
||||
|
||||
class EditorFileDialog;
|
||||
class OccluderInstance3D;
|
||||
|
||||
class OccluderInstance3DEditorPlugin : public EditorPlugin {
|
||||
GDCLASS(OccluderInstance3DEditorPlugin, EditorPlugin);
|
||||
|
||||
@@ -42,7 +42,11 @@
|
||||
#include "editor/scene/canvas_item_editor_plugin.h"
|
||||
#include "editor/settings/editor_settings.h"
|
||||
#include "scene/3d/camera_3d.h"
|
||||
#include "scene/3d/mesh_instance_3d.h"
|
||||
#include "scene/main/scene_tree.h"
|
||||
#include "scene/resources/immediate_mesh.h"
|
||||
#include "scene/resources/material.h"
|
||||
#include "scene/resources/mesh.h"
|
||||
|
||||
void Polygon3DEditor::_notification(int p_what) {
|
||||
switch (p_what) {
|
||||
|
||||
@@ -31,13 +31,14 @@
|
||||
#pragma once
|
||||
|
||||
#include "editor/plugins/editor_plugin.h"
|
||||
#include "scene/3d/mesh_instance_3d.h"
|
||||
#include "scene/3d/physics/collision_polygon_3d.h"
|
||||
#include "scene/gui/box_container.h"
|
||||
#include "scene/resources/immediate_mesh.h"
|
||||
|
||||
class ArrayMesh;
|
||||
class CanvasItemEditor;
|
||||
class ImmediateMesh;
|
||||
class MenuButton;
|
||||
class MeshInstance3D;
|
||||
class StandardMaterial3D;
|
||||
|
||||
class Polygon3DEditor : public HBoxContainer {
|
||||
GDCLASS(Polygon3DEditor, HBoxContainer);
|
||||
|
||||
@@ -67,6 +67,7 @@
|
||||
#include "scene/gui/separator.h"
|
||||
#include "scene/gui/split_container.h"
|
||||
#include "scene/gui/subviewport_container.h"
|
||||
#include "scene/gui/texture_button.h"
|
||||
#include "scene/gui/view_panner.h"
|
||||
#include "scene/main/canvas_layer.h"
|
||||
#include "scene/main/scene_tree.h"
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
#include "core/config/project_settings.h"
|
||||
#include "core/io/resource_loader.h"
|
||||
#include "core/object/callable_mp.h"
|
||||
#include "core/object/class_db.h"
|
||||
#include "core/object/class_db.h" // IWYU pragma: keep. `ADD_SIGNAL` macro.
|
||||
#include "core/os/os.h"
|
||||
#include "editor/docks/inspector_dock.h"
|
||||
#include "editor/editor_main_screen.h"
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
#include "control_editor_plugin.h"
|
||||
|
||||
#include "core/object/callable_mp.h"
|
||||
#include "core/object/class_db.h"
|
||||
#include "core/object/class_db.h" // IWYU pragma: keep. `ADD_SIGNAL` macro.
|
||||
#include "editor/editor_node.h"
|
||||
#include "editor/editor_undo_redo_manager.h"
|
||||
#include "editor/scene/canvas_item_editor_plugin.h"
|
||||
|
||||
@@ -31,7 +31,6 @@
|
||||
#include "font_config_plugin.h"
|
||||
|
||||
#include "core/object/callable_mp.h"
|
||||
#include "core/object/class_db.h"
|
||||
#include "core/os/os.h"
|
||||
#include "core/string/translation_server.h"
|
||||
#include "editor/import/dynamic_font_import_settings.h"
|
||||
@@ -949,8 +948,6 @@ void FontPreview::_notification(int p_what) {
|
||||
}
|
||||
}
|
||||
|
||||
void FontPreview::_bind_methods() {}
|
||||
|
||||
Size2 FontPreview::get_minimum_size() const {
|
||||
return Vector2(64, 64) * EDSCALE;
|
||||
}
|
||||
|
||||
@@ -128,8 +128,6 @@ class EditorPropertyOTVariation : public EditorProperty {
|
||||
EditorPaginator *paginator = nullptr;
|
||||
|
||||
protected:
|
||||
static void _bind_methods() {}
|
||||
|
||||
void _edit_pressed();
|
||||
void _page_changed(int p_page);
|
||||
void _property_changed(const String &p_property, const Variant &p_value, const String &p_name = "", bool p_changing = false);
|
||||
@@ -206,7 +204,6 @@ class FontPreview : public Control {
|
||||
|
||||
protected:
|
||||
void _notification(int p_what);
|
||||
static void _bind_methods();
|
||||
|
||||
Ref<Font> prev_font;
|
||||
|
||||
@@ -240,7 +237,6 @@ protected:
|
||||
virtual void _add_element() override;
|
||||
|
||||
void _add_font(int p_option);
|
||||
static void _bind_methods() {}
|
||||
|
||||
public:
|
||||
EditorPropertyFontNamesArray();
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
|
||||
#include "core/config/project_settings.h"
|
||||
#include "core/object/callable_mp.h"
|
||||
#include "core/object/class_db.h"
|
||||
#include "core/object/class_db.h" // IWYU pragma: keep. `ADD_SIGNAL` macro.
|
||||
#include "editor/editor_node.h"
|
||||
#include "editor/editor_string_names.h"
|
||||
#include "editor/themes/editor_scale.h"
|
||||
|
||||
@@ -31,12 +31,12 @@
|
||||
#include "color_channel_selector.h"
|
||||
|
||||
#include "core/object/callable_mp.h"
|
||||
#include "core/object/class_db.h"
|
||||
#include "core/object/class_db.h" // IWYU pragma: keep. `ADD_SIGNAL` macro.
|
||||
#include "editor/themes/editor_scale.h"
|
||||
#include "scene/gui/box_container.h"
|
||||
#include "scene/gui/button.h"
|
||||
#include "scene/gui/panel_container.h"
|
||||
#include "scene/resources/style_box_flat.h"
|
||||
#include "scene/resources/style_box.h"
|
||||
|
||||
ColorChannelSelector::ColorChannelSelector() {
|
||||
toggle_button = memnew(Button);
|
||||
|
||||
@@ -47,7 +47,6 @@
|
||||
#include "scene/resources/image_texture.h"
|
||||
#include "scene/resources/material.h"
|
||||
#include "scene/resources/portable_compressed_texture.h"
|
||||
#include "scene/resources/style_box_flat.h"
|
||||
#include "scene/resources/texture_rd.h"
|
||||
#include "servers/rendering/rendering_device.h"
|
||||
|
||||
|
||||
@@ -33,10 +33,7 @@
|
||||
#include "core/object/class_db.h"
|
||||
#include "editor/editor_interface.h"
|
||||
#include "editor/editor_node.h"
|
||||
#include "editor/editor_undo_redo_manager.h"
|
||||
#include "editor/scene/editor_scene_tabs.h"
|
||||
#include "scene/main/node.h"
|
||||
#include "scene/resources/packed_scene.h"
|
||||
|
||||
#ifndef DISABLE_DEPRECATED
|
||||
void EditorScript::add_root_node(Node *p_node) {
|
||||
|
||||
@@ -34,7 +34,6 @@
|
||||
#include "scene/gui/check_box.h"
|
||||
#include "scene/gui/dialogs.h"
|
||||
#include "scene/gui/option_button.h"
|
||||
#include "scene/gui/panel_container.h"
|
||||
|
||||
class CreateDialog;
|
||||
class EditorFileDialog;
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user