Improve includes of EditorNode (and everything else)
Also start organizing editor-specific GUI components into a dedicated folder, `editor/gui`. Also move `editor_file_server` next to the rest of debugger classes.
This commit is contained in:
parent
c151d3231f
commit
4154039832
@ -119,7 +119,7 @@ if env.editor_build:
|
|||||||
|
|
||||||
SConscript("debugger/SCsub")
|
SConscript("debugger/SCsub")
|
||||||
SConscript("export/SCsub")
|
SConscript("export/SCsub")
|
||||||
SConscript("fileserver/SCsub")
|
SConscript("gui/SCsub")
|
||||||
SConscript("icons/SCsub")
|
SConscript("icons/SCsub")
|
||||||
SConscript("import/SCsub")
|
SConscript("import/SCsub")
|
||||||
SConscript("plugins/SCsub")
|
SConscript("plugins/SCsub")
|
||||||
|
@ -37,12 +37,20 @@
|
|||||||
#include "editor/editor_scale.h"
|
#include "editor/editor_scale.h"
|
||||||
#include "editor/editor_settings.h"
|
#include "editor/editor_settings.h"
|
||||||
#include "editor/editor_undo_redo_manager.h"
|
#include "editor/editor_undo_redo_manager.h"
|
||||||
|
#include "editor/gui/editor_spin_slider.h"
|
||||||
|
#include "editor/gui/scene_tree_editor.h"
|
||||||
#include "editor/inspector_dock.h"
|
#include "editor/inspector_dock.h"
|
||||||
#include "editor/plugins/animation_player_editor_plugin.h"
|
#include "editor/plugins/animation_player_editor_plugin.h"
|
||||||
#include "scene/animation/animation_player.h"
|
#include "scene/animation/animation_player.h"
|
||||||
#include "scene/animation/tween.h"
|
#include "scene/animation/tween.h"
|
||||||
|
#include "scene/gui/check_box.h"
|
||||||
#include "scene/gui/grid_container.h"
|
#include "scene/gui/grid_container.h"
|
||||||
|
#include "scene/gui/option_button.h"
|
||||||
|
#include "scene/gui/panel_container.h"
|
||||||
#include "scene/gui/separator.h"
|
#include "scene/gui/separator.h"
|
||||||
|
#include "scene/gui/slider.h"
|
||||||
|
#include "scene/gui/spin_box.h"
|
||||||
|
#include "scene/gui/texture_rect.h"
|
||||||
#include "scene/gui/view_panner.h"
|
#include "scene/gui/view_panner.h"
|
||||||
#include "scene/main/window.h"
|
#include "scene/main/window.h"
|
||||||
#include "scene/scene_string_names.h"
|
#include "scene/scene_string_names.h"
|
||||||
|
@ -33,25 +33,24 @@
|
|||||||
|
|
||||||
#include "editor/editor_data.h"
|
#include "editor/editor_data.h"
|
||||||
#include "editor/editor_properties.h"
|
#include "editor/editor_properties.h"
|
||||||
#include "editor/editor_spin_slider.h"
|
|
||||||
#include "editor/property_selector.h"
|
#include "editor/property_selector.h"
|
||||||
|
|
||||||
#include "scene/3d/node_3d.h"
|
#include "scene/3d/node_3d.h"
|
||||||
#include "scene/gui/check_box.h"
|
|
||||||
#include "scene/gui/control.h"
|
#include "scene/gui/control.h"
|
||||||
#include "scene/gui/menu_button.h"
|
#include "scene/gui/menu_button.h"
|
||||||
#include "scene/gui/option_button.h"
|
|
||||||
#include "scene/gui/panel_container.h"
|
|
||||||
#include "scene/gui/scroll_bar.h"
|
#include "scene/gui/scroll_bar.h"
|
||||||
#include "scene/gui/slider.h"
|
#include "scene/gui/tree.h"
|
||||||
#include "scene/gui/spin_box.h"
|
|
||||||
#include "scene/gui/tab_container.h"
|
|
||||||
#include "scene/gui/texture_rect.h"
|
|
||||||
#include "scene/resources/animation.h"
|
#include "scene/resources/animation.h"
|
||||||
#include "scene_tree_editor.h"
|
|
||||||
|
|
||||||
class AnimationTrackEditor;
|
class AnimationTrackEditor;
|
||||||
class AnimationTrackEdit;
|
class AnimationTrackEdit;
|
||||||
|
class CheckBox;
|
||||||
|
class EditorSpinSlider;
|
||||||
|
class HSlider;
|
||||||
|
class OptionButton;
|
||||||
|
class PanelContainer;
|
||||||
|
class SceneTreeDialog;
|
||||||
|
class SpinBox;
|
||||||
|
class TextureRect;
|
||||||
class ViewPanner;
|
class ViewPanner;
|
||||||
|
|
||||||
class AnimationTrackKeyEdit : public Object {
|
class AnimationTrackKeyEdit : public Object {
|
||||||
|
@ -33,12 +33,21 @@
|
|||||||
#include "core/config/project_settings.h"
|
#include "core/config/project_settings.h"
|
||||||
#include "editor/doc_tools.h"
|
#include "editor/doc_tools.h"
|
||||||
#include "editor/editor_help.h"
|
#include "editor/editor_help.h"
|
||||||
|
#include "editor/editor_inspector.h"
|
||||||
#include "editor/editor_node.h"
|
#include "editor/editor_node.h"
|
||||||
#include "editor/editor_scale.h"
|
#include "editor/editor_scale.h"
|
||||||
#include "editor/editor_settings.h"
|
#include "editor/editor_settings.h"
|
||||||
#include "editor/editor_undo_redo_manager.h"
|
#include "editor/editor_undo_redo_manager.h"
|
||||||
|
#include "editor/gui/scene_tree_editor.h"
|
||||||
#include "editor/scene_tree_dock.h"
|
#include "editor/scene_tree_dock.h"
|
||||||
#include "plugins/script_editor_plugin.h"
|
#include "plugins/script_editor_plugin.h"
|
||||||
|
#include "scene/gui/button.h"
|
||||||
|
#include "scene/gui/check_box.h"
|
||||||
|
#include "scene/gui/label.h"
|
||||||
|
#include "scene/gui/line_edit.h"
|
||||||
|
#include "scene/gui/option_button.h"
|
||||||
|
#include "scene/gui/popup_menu.h"
|
||||||
|
#include "scene/gui/spin_box.h"
|
||||||
#include "scene/resources/packed_scene.h"
|
#include "scene/resources/packed_scene.h"
|
||||||
|
|
||||||
static Node *_find_first_script(Node *p_root, Node *p_node) {
|
static Node *_find_first_script(Node *p_root, Node *p_node) {
|
||||||
|
@ -31,22 +31,20 @@
|
|||||||
#ifndef CONNECTIONS_DIALOG_H
|
#ifndef CONNECTIONS_DIALOG_H
|
||||||
#define CONNECTIONS_DIALOG_H
|
#define CONNECTIONS_DIALOG_H
|
||||||
|
|
||||||
#include "editor/editor_inspector.h"
|
|
||||||
#include "editor/scene_tree_editor.h"
|
|
||||||
#include "scene/gui/button.h"
|
|
||||||
#include "scene/gui/check_box.h"
|
|
||||||
#include "scene/gui/check_button.h"
|
#include "scene/gui/check_button.h"
|
||||||
#include "scene/gui/dialogs.h"
|
#include "scene/gui/dialogs.h"
|
||||||
#include "scene/gui/label.h"
|
|
||||||
#include "scene/gui/line_edit.h"
|
|
||||||
#include "scene/gui/menu_button.h"
|
|
||||||
#include "scene/gui/option_button.h"
|
|
||||||
#include "scene/gui/popup.h"
|
|
||||||
#include "scene/gui/popup_menu.h"
|
|
||||||
#include "scene/gui/spin_box.h"
|
|
||||||
#include "scene/gui/tree.h"
|
#include "scene/gui/tree.h"
|
||||||
|
|
||||||
|
class Button;
|
||||||
|
class CheckBox;
|
||||||
class ConnectDialogBinds;
|
class ConnectDialogBinds;
|
||||||
|
class EditorInspector;
|
||||||
|
class Label;
|
||||||
|
class LineEdit;
|
||||||
|
class OptionButton;
|
||||||
|
class PopupMenu;
|
||||||
|
class SceneTreeEditor;
|
||||||
|
class SpinBox;
|
||||||
|
|
||||||
class ConnectDialog : public ConfirmationDialog {
|
class ConnectDialog : public ConfirmationDialog {
|
||||||
GDCLASS(ConnectDialog, ConfirmationDialog);
|
GDCLASS(ConnectDialog, ConfirmationDialog);
|
||||||
|
@ -30,8 +30,8 @@
|
|||||||
|
|
||||||
#include "editor_debugger_tree.h"
|
#include "editor_debugger_tree.h"
|
||||||
|
|
||||||
#include "editor/editor_file_dialog.h"
|
|
||||||
#include "editor/editor_node.h"
|
#include "editor/editor_node.h"
|
||||||
|
#include "editor/gui/editor_file_dialog.h"
|
||||||
#include "editor/scene_tree_dock.h"
|
#include "editor/scene_tree_dock.h"
|
||||||
#include "scene/debugger/scene_debugger.h"
|
#include "scene/debugger/scene_debugger.h"
|
||||||
#include "scene/gui/texture_rect.h"
|
#include "scene/gui/texture_rect.h"
|
||||||
|
@ -40,13 +40,13 @@
|
|||||||
#include "editor/debugger/editor_performance_profiler.h"
|
#include "editor/debugger/editor_performance_profiler.h"
|
||||||
#include "editor/debugger/editor_profiler.h"
|
#include "editor/debugger/editor_profiler.h"
|
||||||
#include "editor/debugger/editor_visual_profiler.h"
|
#include "editor/debugger/editor_visual_profiler.h"
|
||||||
#include "editor/editor_file_dialog.h"
|
|
||||||
#include "editor/editor_file_system.h"
|
#include "editor/editor_file_system.h"
|
||||||
#include "editor/editor_log.h"
|
#include "editor/editor_log.h"
|
||||||
#include "editor/editor_node.h"
|
#include "editor/editor_node.h"
|
||||||
#include "editor/editor_property_name_processor.h"
|
#include "editor/editor_property_name_processor.h"
|
||||||
#include "editor/editor_scale.h"
|
#include "editor/editor_scale.h"
|
||||||
#include "editor/editor_settings.h"
|
#include "editor/editor_settings.h"
|
||||||
|
#include "editor/gui/editor_file_dialog.h"
|
||||||
#include "editor/inspector_dock.h"
|
#include "editor/inspector_dock.h"
|
||||||
#include "editor/plugins/canvas_item_editor_plugin.h"
|
#include "editor/plugins/canvas_item_editor_plugin.h"
|
||||||
#include "editor/plugins/editor_debugger_plugin.h"
|
#include "editor/plugins/editor_debugger_plugin.h"
|
||||||
|
@ -33,11 +33,11 @@
|
|||||||
#include "core/config/project_settings.h"
|
#include "core/config/project_settings.h"
|
||||||
#include "core/io/file_access.h"
|
#include "core/io/file_access.h"
|
||||||
#include "core/io/resource_loader.h"
|
#include "core/io/resource_loader.h"
|
||||||
#include "editor/editor_file_dialog.h"
|
|
||||||
#include "editor/editor_file_system.h"
|
#include "editor/editor_file_system.h"
|
||||||
#include "editor/editor_node.h"
|
#include "editor/editor_node.h"
|
||||||
#include "editor/editor_scale.h"
|
#include "editor/editor_scale.h"
|
||||||
#include "editor/editor_settings.h"
|
#include "editor/editor_settings.h"
|
||||||
|
#include "editor/gui/editor_file_dialog.h"
|
||||||
#include "scene/gui/margin_container.h"
|
#include "scene/gui/margin_container.h"
|
||||||
|
|
||||||
void DependencyEditor::_searched(const String &p_path) {
|
void DependencyEditor::_searched(const String &p_path) {
|
||||||
|
@ -34,12 +34,12 @@
|
|||||||
#include "core/input/input.h"
|
#include "core/input/input.h"
|
||||||
#include "core/io/resource_saver.h"
|
#include "core/io/resource_saver.h"
|
||||||
#include "core/os/keyboard.h"
|
#include "core/os/keyboard.h"
|
||||||
#include "editor/editor_file_dialog.h"
|
|
||||||
#include "editor/editor_node.h"
|
#include "editor/editor_node.h"
|
||||||
#include "editor/editor_scale.h"
|
#include "editor/editor_scale.h"
|
||||||
#include "editor/editor_settings.h"
|
#include "editor/editor_settings.h"
|
||||||
#include "editor/editor_undo_redo_manager.h"
|
#include "editor/editor_undo_redo_manager.h"
|
||||||
#include "filesystem_dock.h"
|
#include "editor/filesystem_dock.h"
|
||||||
|
#include "editor/gui/editor_file_dialog.h"
|
||||||
#include "scene/gui/separator.h"
|
#include "scene/gui/separator.h"
|
||||||
#include "scene/resources/font.h"
|
#include "scene/resources/font.h"
|
||||||
#include "servers/audio_server.h"
|
#include "servers/audio_server.h"
|
||||||
|
@ -32,12 +32,12 @@
|
|||||||
|
|
||||||
#include "core/config/project_settings.h"
|
#include "core/config/project_settings.h"
|
||||||
#include "core/core_constants.h"
|
#include "core/core_constants.h"
|
||||||
#include "editor/editor_file_dialog.h"
|
|
||||||
#include "editor/editor_node.h"
|
#include "editor/editor_node.h"
|
||||||
#include "editor/editor_scale.h"
|
#include "editor/editor_scale.h"
|
||||||
#include "editor/editor_undo_redo_manager.h"
|
#include "editor/editor_undo_redo_manager.h"
|
||||||
#include "editor/filesystem_dock.h"
|
#include "editor/filesystem_dock.h"
|
||||||
#include "project_settings_editor.h"
|
#include "editor/gui/editor_file_dialog.h"
|
||||||
|
#include "editor/project_settings_editor.h"
|
||||||
#include "scene/main/window.h"
|
#include "scene/main/window.h"
|
||||||
#include "scene/resources/packed_scene.h"
|
#include "scene/resources/packed_scene.h"
|
||||||
|
|
||||||
|
@ -32,13 +32,13 @@
|
|||||||
|
|
||||||
#include "core/io/dir_access.h"
|
#include "core/io/dir_access.h"
|
||||||
#include "core/io/json.h"
|
#include "core/io/json.h"
|
||||||
#include "editor/editor_file_dialog.h"
|
|
||||||
#include "editor/editor_file_system.h"
|
#include "editor/editor_file_system.h"
|
||||||
#include "editor/editor_node.h"
|
#include "editor/editor_node.h"
|
||||||
#include "editor/editor_paths.h"
|
#include "editor/editor_paths.h"
|
||||||
#include "editor/editor_property_name_processor.h"
|
#include "editor/editor_property_name_processor.h"
|
||||||
#include "editor/editor_scale.h"
|
#include "editor/editor_scale.h"
|
||||||
#include "editor/editor_settings.h"
|
#include "editor/editor_settings.h"
|
||||||
|
#include "editor/gui/editor_file_dialog.h"
|
||||||
|
|
||||||
const char *EditorBuildProfile::build_option_identifiers[BUILD_OPTION_MAX] = {
|
const char *EditorBuildProfile::build_option_identifiers[BUILD_OPTION_MAX] = {
|
||||||
// This maps to SCons build options.
|
// This maps to SCons build options.
|
||||||
|
@ -32,12 +32,12 @@
|
|||||||
|
|
||||||
#include "core/io/dir_access.h"
|
#include "core/io/dir_access.h"
|
||||||
#include "core/io/json.h"
|
#include "core/io/json.h"
|
||||||
#include "editor/editor_file_dialog.h"
|
|
||||||
#include "editor/editor_node.h"
|
#include "editor/editor_node.h"
|
||||||
#include "editor/editor_paths.h"
|
#include "editor/editor_paths.h"
|
||||||
#include "editor/editor_property_name_processor.h"
|
#include "editor/editor_property_name_processor.h"
|
||||||
#include "editor/editor_scale.h"
|
#include "editor/editor_scale.h"
|
||||||
#include "editor/editor_settings.h"
|
#include "editor/editor_settings.h"
|
||||||
|
#include "editor/gui/editor_file_dialog.h"
|
||||||
|
|
||||||
const char *EditorFeatureProfile::feature_names[FEATURE_MAX] = {
|
const char *EditorFeatureProfile::feature_names[FEATURE_MAX] = {
|
||||||
TTRC("3D Editor"),
|
TTRC("3D Editor"),
|
||||||
|
@ -72,12 +72,12 @@
|
|||||||
#include "editor/editor_command_palette.h"
|
#include "editor/editor_command_palette.h"
|
||||||
#include "editor/editor_data.h"
|
#include "editor/editor_data.h"
|
||||||
#include "editor/editor_feature_profile.h"
|
#include "editor/editor_feature_profile.h"
|
||||||
#include "editor/editor_file_dialog.h"
|
|
||||||
#include "editor/editor_folding.h"
|
#include "editor/editor_folding.h"
|
||||||
#include "editor/editor_help.h"
|
#include "editor/editor_help.h"
|
||||||
#include "editor/editor_inspector.h"
|
#include "editor/editor_inspector.h"
|
||||||
#include "editor/editor_layouts_dialog.h"
|
#include "editor/editor_layouts_dialog.h"
|
||||||
#include "editor/editor_log.h"
|
#include "editor/editor_log.h"
|
||||||
|
#include "editor/editor_native_shader_source_visualizer.h"
|
||||||
#include "editor/editor_paths.h"
|
#include "editor/editor_paths.h"
|
||||||
#include "editor/editor_plugin.h"
|
#include "editor/editor_plugin.h"
|
||||||
#include "editor/editor_properties.h"
|
#include "editor/editor_properties.h"
|
||||||
@ -90,7 +90,6 @@
|
|||||||
#include "editor/editor_settings.h"
|
#include "editor/editor_settings.h"
|
||||||
#include "editor/editor_settings_dialog.h"
|
#include "editor/editor_settings_dialog.h"
|
||||||
#include "editor/editor_themes.h"
|
#include "editor/editor_themes.h"
|
||||||
#include "editor/editor_toaster.h"
|
|
||||||
#include "editor/editor_translation_parser.h"
|
#include "editor/editor_translation_parser.h"
|
||||||
#include "editor/editor_undo_redo_manager.h"
|
#include "editor/editor_undo_redo_manager.h"
|
||||||
#include "editor/export/editor_export.h"
|
#include "editor/export/editor_export.h"
|
||||||
@ -98,6 +97,9 @@
|
|||||||
#include "editor/export/project_export.h"
|
#include "editor/export/project_export.h"
|
||||||
#include "editor/fbx_importer_manager.h"
|
#include "editor/fbx_importer_manager.h"
|
||||||
#include "editor/filesystem_dock.h"
|
#include "editor/filesystem_dock.h"
|
||||||
|
#include "editor/gui/editor_file_dialog.h"
|
||||||
|
#include "editor/gui/editor_title_bar.h"
|
||||||
|
#include "editor/gui/editor_toaster.h"
|
||||||
#include "editor/history_dock.h"
|
#include "editor/history_dock.h"
|
||||||
#include "editor/import/audio_stream_import_settings.h"
|
#include "editor/import/audio_stream_import_settings.h"
|
||||||
#include "editor/import/dynamic_font_import_settings.h"
|
#include "editor/import/dynamic_font_import_settings.h"
|
||||||
|
@ -34,10 +34,8 @@
|
|||||||
#include "core/templates/safe_refcount.h"
|
#include "core/templates/safe_refcount.h"
|
||||||
#include "editor/editor_data.h"
|
#include "editor/editor_data.h"
|
||||||
#include "editor/editor_folding.h"
|
#include "editor/editor_folding.h"
|
||||||
#include "editor/editor_native_shader_source_visualizer.h"
|
|
||||||
#include "editor/editor_plugin.h"
|
#include "editor/editor_plugin.h"
|
||||||
#include "editor/editor_run.h"
|
#include "editor/editor_run.h"
|
||||||
#include "editor/editor_title_bar.h"
|
|
||||||
#include "editor/export/editor_export.h"
|
#include "editor/export/editor_export.h"
|
||||||
|
|
||||||
typedef void (*EditorNodeInitCallback)();
|
typedef void (*EditorNodeInitCallback)();
|
||||||
@ -46,62 +44,21 @@ typedef bool (*EditorBuildCallback)();
|
|||||||
|
|
||||||
class AcceptDialog;
|
class AcceptDialog;
|
||||||
class AcceptDialogAutoReparent;
|
class AcceptDialogAutoReparent;
|
||||||
class AudioStreamPreviewGenerator;
|
|
||||||
class BackgroundProgress;
|
|
||||||
class CenterContainer;
|
class CenterContainer;
|
||||||
class CheckBox;
|
class CheckBox;
|
||||||
class ColorPicker;
|
class ColorPicker;
|
||||||
class ConfirmationDialog;
|
class ConfirmationDialog;
|
||||||
class Control;
|
class Control;
|
||||||
class DependencyEditor;
|
|
||||||
class DependencyErrorDialog;
|
|
||||||
class DynamicFontImportSettings;
|
|
||||||
class EditorAbout;
|
|
||||||
class EditorCommandPalette;
|
|
||||||
class EditorExport;
|
|
||||||
class EditorExtensionManager;
|
|
||||||
class EditorFeatureProfileManager;
|
|
||||||
class EditorFileDialog;
|
|
||||||
class EditorFileServer;
|
|
||||||
class EditorFolding;
|
|
||||||
class EditorInspector;
|
|
||||||
class EditorLayoutsDialog;
|
|
||||||
class EditorLog;
|
|
||||||
class EditorPluginList;
|
|
||||||
class EditorQuickOpen;
|
|
||||||
class EditorPropertyResource;
|
|
||||||
class EditorResourcePreview;
|
|
||||||
class EditorResourceConversionPlugin;
|
|
||||||
class EditorRun;
|
|
||||||
class EditorRunNative;
|
|
||||||
class EditorSelectionHistory;
|
|
||||||
class EditorSettingsDialog;
|
|
||||||
class EditorToaster;
|
|
||||||
class EditorUndoRedoManager;
|
|
||||||
class ExportTemplateManager;
|
|
||||||
class FBXImporterManager;
|
|
||||||
class FileDialog;
|
class FileDialog;
|
||||||
class FileSystemDock;
|
class HBoxContainer;
|
||||||
class HistoryDock;
|
|
||||||
class HSplitContainer;
|
class HSplitContainer;
|
||||||
class ImportDock;
|
|
||||||
class LinkButton;
|
class LinkButton;
|
||||||
class MenuBar;
|
class MenuBar;
|
||||||
class MenuButton;
|
class MenuButton;
|
||||||
class Node2D;
|
class Node2D;
|
||||||
class NodeDock;
|
|
||||||
class OptionButton;
|
class OptionButton;
|
||||||
class OrphanResourcesDialog;
|
|
||||||
class Panel;
|
class Panel;
|
||||||
class PanelContainer;
|
class PanelContainer;
|
||||||
class PluginConfigDialog;
|
|
||||||
class ProgressDialog;
|
|
||||||
class ProjectExportDialog;
|
|
||||||
class ProjectSettingsEditor;
|
|
||||||
class RunSettingsDialog;
|
|
||||||
class SceneImportSettings;
|
|
||||||
class AudioStreamImportSettings;
|
|
||||||
class ScriptCreateDialog;
|
|
||||||
class SubViewport;
|
class SubViewport;
|
||||||
class TabBar;
|
class TabBar;
|
||||||
class TabContainer;
|
class TabContainer;
|
||||||
@ -110,7 +67,50 @@ class TextureProgressBar;
|
|||||||
class Tree;
|
class Tree;
|
||||||
class VSplitContainer;
|
class VSplitContainer;
|
||||||
class Window;
|
class Window;
|
||||||
|
|
||||||
|
class AudioStreamImportSettings;
|
||||||
|
class AudioStreamPreviewGenerator;
|
||||||
|
class BackgroundProgress;
|
||||||
|
class DependencyEditor;
|
||||||
|
class DependencyErrorDialog;
|
||||||
|
class DynamicFontImportSettings;
|
||||||
|
class EditorAbout;
|
||||||
class EditorBuildProfileManager;
|
class EditorBuildProfileManager;
|
||||||
|
class EditorCommandPalette;
|
||||||
|
class EditorExport;
|
||||||
|
class EditorExtensionManager;
|
||||||
|
class EditorFeatureProfileManager;
|
||||||
|
class EditorFileDialog;
|
||||||
|
class EditorFolding;
|
||||||
|
class EditorInspector;
|
||||||
|
class EditorLayoutsDialog;
|
||||||
|
class EditorLog;
|
||||||
|
class EditorNativeShaderSourceVisualizer;
|
||||||
|
class EditorPluginList;
|
||||||
|
class EditorQuickOpen;
|
||||||
|
class EditorPropertyResource;
|
||||||
|
class EditorResourcePreview;
|
||||||
|
class EditorResourceConversionPlugin;
|
||||||
|
class EditorRunNative;
|
||||||
|
class EditorSelectionHistory;
|
||||||
|
class EditorSettingsDialog;
|
||||||
|
class EditorTitleBar;
|
||||||
|
class EditorToaster;
|
||||||
|
class EditorUndoRedoManager;
|
||||||
|
class ExportTemplateManager;
|
||||||
|
class FBXImporterManager;
|
||||||
|
class FileSystemDock;
|
||||||
|
class HistoryDock;
|
||||||
|
class ImportDock;
|
||||||
|
class NodeDock;
|
||||||
|
class OrphanResourcesDialog;
|
||||||
|
class PluginConfigDialog;
|
||||||
|
class ProgressDialog;
|
||||||
|
class ProjectExportDialog;
|
||||||
|
class ProjectSettingsEditor;
|
||||||
|
class RunSettingsDialog;
|
||||||
|
class SceneImportSettings;
|
||||||
|
class ScriptCreateDialog;
|
||||||
|
|
||||||
class EditorNode : public Node {
|
class EditorNode : public Node {
|
||||||
GDCLASS(EditorNode, Node);
|
GDCLASS(EditorNode, Node);
|
||||||
@ -738,7 +738,7 @@ public:
|
|||||||
static EditorData &get_editor_data() { return singleton->editor_data; }
|
static EditorData &get_editor_data() { return singleton->editor_data; }
|
||||||
static EditorFolding &get_editor_folding() { return singleton->editor_folding; }
|
static EditorFolding &get_editor_folding() { return singleton->editor_folding; }
|
||||||
|
|
||||||
static HBoxContainer *get_menu_hb() { return singleton->menu_hb; }
|
static EditorTitleBar *get_menu_hb() { return singleton->menu_hb; }
|
||||||
static VSplitContainer *get_top_split() { return singleton->top_split; }
|
static VSplitContainer *get_top_split() { return singleton->top_split; }
|
||||||
|
|
||||||
static String adjust_scene_name_casing(const String &root_name);
|
static String adjust_scene_name_casing(const String &root_name);
|
||||||
|
@ -40,6 +40,7 @@
|
|||||||
#include "editor/editor_undo_redo_manager.h"
|
#include "editor/editor_undo_redo_manager.h"
|
||||||
#include "editor/export/editor_export.h"
|
#include "editor/export/editor_export.h"
|
||||||
#include "editor/filesystem_dock.h"
|
#include "editor/filesystem_dock.h"
|
||||||
|
#include "editor/gui/editor_title_bar.h"
|
||||||
#include "editor/import/editor_import_plugin.h"
|
#include "editor/import/editor_import_plugin.h"
|
||||||
#include "editor/import/resource_importer_scene.h"
|
#include "editor/import/resource_importer_scene.h"
|
||||||
#include "editor/inspector_dock.h"
|
#include "editor/inspector_dock.h"
|
||||||
|
@ -33,17 +33,18 @@
|
|||||||
#include "core/config/project_settings.h"
|
#include "core/config/project_settings.h"
|
||||||
#include "core/core_string_names.h"
|
#include "core/core_string_names.h"
|
||||||
#include "editor/create_dialog.h"
|
#include "editor/create_dialog.h"
|
||||||
#include "editor/editor_file_dialog.h"
|
|
||||||
#include "editor/editor_node.h"
|
#include "editor/editor_node.h"
|
||||||
#include "editor/editor_properties_array_dict.h"
|
#include "editor/editor_properties_array_dict.h"
|
||||||
#include "editor/editor_resource_picker.h"
|
#include "editor/editor_resource_picker.h"
|
||||||
#include "editor/editor_scale.h"
|
#include "editor/editor_scale.h"
|
||||||
#include "editor/editor_settings.h"
|
#include "editor/editor_settings.h"
|
||||||
|
#include "editor/gui/editor_file_dialog.h"
|
||||||
|
#include "editor/gui/editor_spin_slider.h"
|
||||||
|
#include "editor/gui/scene_tree_editor.h"
|
||||||
#include "editor/inspector_dock.h"
|
#include "editor/inspector_dock.h"
|
||||||
#include "editor/plugins/script_editor_plugin.h"
|
#include "editor/plugins/script_editor_plugin.h"
|
||||||
#include "editor/project_settings_editor.h"
|
#include "editor/project_settings_editor.h"
|
||||||
#include "editor/property_selector.h"
|
#include "editor/property_selector.h"
|
||||||
#include "editor/scene_tree_editor.h"
|
|
||||||
#include "scene/2d/gpu_particles_2d.h"
|
#include "scene/2d/gpu_particles_2d.h"
|
||||||
#include "scene/3d/fog_volume.h"
|
#include "scene/3d/fog_volume.h"
|
||||||
#include "scene/3d/gpu_particles_3d.h"
|
#include "scene/3d/gpu_particles_3d.h"
|
||||||
|
@ -35,7 +35,9 @@
|
|||||||
#include "editor/editor_properties.h"
|
#include "editor/editor_properties.h"
|
||||||
#include "editor/editor_scale.h"
|
#include "editor/editor_scale.h"
|
||||||
#include "editor/editor_settings.h"
|
#include "editor/editor_settings.h"
|
||||||
|
#include "editor/gui/editor_spin_slider.h"
|
||||||
#include "editor/inspector_dock.h"
|
#include "editor/inspector_dock.h"
|
||||||
|
#include "scene/gui/button.h"
|
||||||
|
|
||||||
bool EditorPropertyArrayObject::_set(const StringName &p_name, const Variant &p_value) {
|
bool EditorPropertyArrayObject::_set(const StringName &p_name, const Variant &p_value) {
|
||||||
String name = p_name;
|
String name = p_name;
|
||||||
|
@ -33,9 +33,10 @@
|
|||||||
|
|
||||||
#include "editor/editor_inspector.h"
|
#include "editor/editor_inspector.h"
|
||||||
#include "editor/editor_locale_dialog.h"
|
#include "editor/editor_locale_dialog.h"
|
||||||
#include "editor/editor_spin_slider.h"
|
|
||||||
#include "editor/filesystem_dock.h"
|
#include "editor/filesystem_dock.h"
|
||||||
#include "scene/gui/button.h"
|
|
||||||
|
class Button;
|
||||||
|
class EditorSpinSlider;
|
||||||
|
|
||||||
class EditorPropertyArrayObject : public RefCounted {
|
class EditorPropertyArrayObject : public RefCounted {
|
||||||
GDCLASS(EditorPropertyArrayObject, RefCounted);
|
GDCLASS(EditorPropertyArrayObject, RefCounted);
|
||||||
|
@ -31,13 +31,13 @@
|
|||||||
#include "editor_resource_picker.h"
|
#include "editor_resource_picker.h"
|
||||||
|
|
||||||
#include "editor/audio_stream_preview.h"
|
#include "editor/audio_stream_preview.h"
|
||||||
#include "editor/editor_file_dialog.h"
|
|
||||||
#include "editor/editor_node.h"
|
#include "editor/editor_node.h"
|
||||||
#include "editor/editor_quick_open.h"
|
#include "editor/editor_quick_open.h"
|
||||||
#include "editor/editor_resource_preview.h"
|
#include "editor/editor_resource_preview.h"
|
||||||
#include "editor/editor_scale.h"
|
#include "editor/editor_scale.h"
|
||||||
#include "editor/editor_settings.h"
|
#include "editor/editor_settings.h"
|
||||||
#include "editor/filesystem_dock.h"
|
#include "editor/filesystem_dock.h"
|
||||||
|
#include "editor/gui/editor_file_dialog.h"
|
||||||
#include "editor/plugins/editor_resource_conversion_plugin.h"
|
#include "editor/plugins/editor_resource_conversion_plugin.h"
|
||||||
#include "editor/plugins/script_editor_plugin.h"
|
#include "editor/plugins/script_editor_plugin.h"
|
||||||
#include "editor/scene_tree_dock.h"
|
#include "editor/scene_tree_dock.h"
|
||||||
|
@ -32,13 +32,13 @@
|
|||||||
|
|
||||||
#include "core/config/project_settings.h"
|
#include "core/config/project_settings.h"
|
||||||
#include "core/version.h"
|
#include "core/version.h"
|
||||||
#include "editor/editor_file_dialog.h"
|
|
||||||
#include "editor/editor_file_system.h"
|
#include "editor/editor_file_system.h"
|
||||||
#include "editor/editor_node.h"
|
#include "editor/editor_node.h"
|
||||||
#include "editor/editor_properties.h"
|
#include "editor/editor_properties.h"
|
||||||
#include "editor/editor_scale.h"
|
#include "editor/editor_scale.h"
|
||||||
#include "editor/editor_settings.h"
|
#include "editor/editor_settings.h"
|
||||||
#include "editor/export/editor_export.h"
|
#include "editor/export/editor_export.h"
|
||||||
|
#include "editor/gui/editor_file_dialog.h"
|
||||||
#include "scene/gui/check_box.h"
|
#include "scene/gui/check_box.h"
|
||||||
#include "scene/gui/check_button.h"
|
#include "scene/gui/check_button.h"
|
||||||
#include "scene/gui/item_list.h"
|
#include "scene/gui/item_list.h"
|
||||||
@ -47,6 +47,7 @@
|
|||||||
#include "scene/gui/option_button.h"
|
#include "scene/gui/option_button.h"
|
||||||
#include "scene/gui/popup_menu.h"
|
#include "scene/gui/popup_menu.h"
|
||||||
#include "scene/gui/split_container.h"
|
#include "scene/gui/split_container.h"
|
||||||
|
#include "scene/gui/tab_container.h"
|
||||||
#include "scene/gui/texture_rect.h"
|
#include "scene/gui/texture_rect.h"
|
||||||
#include "scene/gui/tree.h"
|
#include "scene/gui/tree.h"
|
||||||
|
|
||||||
|
@ -31,7 +31,7 @@
|
|||||||
#ifndef FBX_IMPORTER_MANAGER_H
|
#ifndef FBX_IMPORTER_MANAGER_H
|
||||||
#define FBX_IMPORTER_MANAGER_H
|
#define FBX_IMPORTER_MANAGER_H
|
||||||
|
|
||||||
#include "editor/editor_file_dialog.h"
|
#include "editor/gui/editor_file_dialog.h"
|
||||||
#include "scene/gui/dialogs.h"
|
#include "scene/gui/dialogs.h"
|
||||||
#include "scene/gui/line_edit.h"
|
#include "scene/gui/line_edit.h"
|
||||||
|
|
||||||
|
@ -37,17 +37,22 @@
|
|||||||
#include "core/os/keyboard.h"
|
#include "core/os/keyboard.h"
|
||||||
#include "core/os/os.h"
|
#include "core/os/os.h"
|
||||||
#include "core/templates/list.h"
|
#include "core/templates/list.h"
|
||||||
|
#include "editor/create_dialog.h"
|
||||||
#include "editor/editor_feature_profile.h"
|
#include "editor/editor_feature_profile.h"
|
||||||
#include "editor/editor_node.h"
|
#include "editor/editor_node.h"
|
||||||
#include "editor/editor_resource_preview.h"
|
#include "editor/editor_resource_preview.h"
|
||||||
#include "editor/editor_scale.h"
|
#include "editor/editor_scale.h"
|
||||||
#include "editor/editor_settings.h"
|
#include "editor/editor_settings.h"
|
||||||
|
#include "editor/gui/editor_dir_dialog.h"
|
||||||
#include "editor/import/resource_importer_scene.h"
|
#include "editor/import/resource_importer_scene.h"
|
||||||
#include "editor/import_dock.h"
|
#include "editor/import_dock.h"
|
||||||
#include "editor/scene_create_dialog.h"
|
#include "editor/scene_create_dialog.h"
|
||||||
#include "editor/scene_tree_dock.h"
|
#include "editor/scene_tree_dock.h"
|
||||||
#include "editor/shader_create_dialog.h"
|
#include "editor/shader_create_dialog.h"
|
||||||
|
#include "scene/gui/item_list.h"
|
||||||
#include "scene/gui/label.h"
|
#include "scene/gui/label.h"
|
||||||
|
#include "scene/gui/line_edit.h"
|
||||||
|
#include "scene/gui/progress_bar.h"
|
||||||
#include "scene/main/window.h"
|
#include "scene/main/window.h"
|
||||||
#include "scene/resources/packed_scene.h"
|
#include "scene/resources/packed_scene.h"
|
||||||
#include "servers/display_server.h"
|
#include "servers/display_server.h"
|
||||||
|
@ -31,22 +31,22 @@
|
|||||||
#ifndef FILESYSTEM_DOCK_H
|
#ifndef FILESYSTEM_DOCK_H
|
||||||
#define FILESYSTEM_DOCK_H
|
#define FILESYSTEM_DOCK_H
|
||||||
|
|
||||||
#include "editor/create_dialog.h"
|
|
||||||
#include "editor/dependency_editor.h"
|
#include "editor/dependency_editor.h"
|
||||||
#include "editor/editor_dir_dialog.h"
|
|
||||||
#include "editor/editor_file_system.h"
|
#include "editor/editor_file_system.h"
|
||||||
#include "editor/plugins/script_editor_plugin.h"
|
#include "editor/plugins/script_editor_plugin.h"
|
||||||
#include "editor/script_create_dialog.h"
|
#include "editor/script_create_dialog.h"
|
||||||
#include "scene/gui/box_container.h"
|
#include "scene/gui/box_container.h"
|
||||||
#include "scene/gui/control.h"
|
#include "scene/gui/control.h"
|
||||||
#include "scene/gui/dialogs.h"
|
#include "scene/gui/dialogs.h"
|
||||||
#include "scene/gui/item_list.h"
|
|
||||||
#include "scene/gui/line_edit.h"
|
|
||||||
#include "scene/gui/menu_button.h"
|
#include "scene/gui/menu_button.h"
|
||||||
#include "scene/gui/progress_bar.h"
|
|
||||||
#include "scene/gui/split_container.h"
|
#include "scene/gui/split_container.h"
|
||||||
#include "scene/gui/tree.h"
|
#include "scene/gui/tree.h"
|
||||||
|
|
||||||
|
class CreateDialog;
|
||||||
|
class EditorDirDialog;
|
||||||
|
class ItemList;
|
||||||
|
class LineEdit;
|
||||||
|
class ProgressBar;
|
||||||
class SceneCreateDialog;
|
class SceneCreateDialog;
|
||||||
class ShaderCreateDialog;
|
class ShaderCreateDialog;
|
||||||
|
|
||||||
|
@ -33,10 +33,12 @@
|
|||||||
#include "editor/editor_node.h"
|
#include "editor/editor_node.h"
|
||||||
#include "editor/editor_scale.h"
|
#include "editor/editor_scale.h"
|
||||||
#include "editor/editor_undo_redo_manager.h"
|
#include "editor/editor_undo_redo_manager.h"
|
||||||
|
#include "editor/gui/scene_tree_editor.h"
|
||||||
#include "editor/scene_tree_dock.h"
|
#include "editor/scene_tree_dock.h"
|
||||||
#include "editor/scene_tree_editor.h"
|
#include "scene/gui/button.h"
|
||||||
#include "scene/gui/box_container.h"
|
|
||||||
#include "scene/gui/label.h"
|
#include "scene/gui/label.h"
|
||||||
|
#include "scene/gui/line_edit.h"
|
||||||
|
#include "scene/gui/tree.h"
|
||||||
#include "scene/resources/packed_scene.h"
|
#include "scene/resources/packed_scene.h"
|
||||||
|
|
||||||
static bool can_edit(Node *p_node, String p_group) {
|
static bool can_edit(Node *p_node, String p_group) {
|
||||||
|
@ -31,13 +31,12 @@
|
|||||||
#ifndef GROUPS_EDITOR_H
|
#ifndef GROUPS_EDITOR_H
|
||||||
#define GROUPS_EDITOR_H
|
#define GROUPS_EDITOR_H
|
||||||
|
|
||||||
#include "editor/scene_tree_editor.h"
|
|
||||||
#include "scene/gui/button.h"
|
|
||||||
#include "scene/gui/dialogs.h"
|
#include "scene/gui/dialogs.h"
|
||||||
#include "scene/gui/item_list.h"
|
|
||||||
#include "scene/gui/line_edit.h"
|
class Button;
|
||||||
#include "scene/gui/popup.h"
|
class LineEdit;
|
||||||
#include "scene/gui/tree.h"
|
class Tree;
|
||||||
|
class TreeItem;
|
||||||
|
|
||||||
class GroupDialog : public AcceptDialog {
|
class GroupDialog : public AcceptDialog {
|
||||||
GDCLASS(GroupDialog, AcceptDialog);
|
GDCLASS(GroupDialog, AcceptDialog);
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
#include "core/io/file_access.h"
|
#include "core/io/file_access.h"
|
||||||
#include "core/os/keyboard.h"
|
#include "core/os/keyboard.h"
|
||||||
#include "core/os/os.h"
|
#include "core/os/os.h"
|
||||||
#include "dependency_editor.h"
|
#include "editor/dependency_editor.h"
|
||||||
#include "editor/editor_file_system.h"
|
#include "editor/editor_file_system.h"
|
||||||
#include "editor/editor_node.h"
|
#include "editor/editor_node.h"
|
||||||
#include "editor/editor_resource_preview.h"
|
#include "editor/editor_resource_preview.h"
|
@ -1,5 +1,5 @@
|
|||||||
/**************************************************************************/
|
/**************************************************************************/
|
||||||
/* editor_path.cpp */
|
/* editor_object_selector.cpp */
|
||||||
/**************************************************************************/
|
/**************************************************************************/
|
||||||
/* This file is part of: */
|
/* This file is part of: */
|
||||||
/* GODOT ENGINE */
|
/* GODOT ENGINE */
|
||||||
@ -28,20 +28,20 @@
|
|||||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||||
/**************************************************************************/
|
/**************************************************************************/
|
||||||
|
|
||||||
#include "editor_path.h"
|
#include "editor_object_selector.h"
|
||||||
|
|
||||||
#include "editor/editor_data.h"
|
#include "editor/editor_data.h"
|
||||||
#include "editor/editor_node.h"
|
#include "editor/editor_node.h"
|
||||||
#include "editor/editor_scale.h"
|
#include "editor/editor_scale.h"
|
||||||
#include "editor/multi_node_edit.h"
|
#include "editor/multi_node_edit.h"
|
||||||
|
|
||||||
Size2 EditorPath::get_minimum_size() const {
|
Size2 EditorObjectSelector::get_minimum_size() const {
|
||||||
Ref<Font> font = get_theme_font(SNAME("font"));
|
Ref<Font> font = get_theme_font(SNAME("font"));
|
||||||
int font_size = get_theme_font_size(SNAME("font_size"));
|
int font_size = get_theme_font_size(SNAME("font_size"));
|
||||||
return Button::get_minimum_size() + Size2(0, font->get_height(font_size));
|
return Button::get_minimum_size() + Size2(0, font->get_height(font_size));
|
||||||
}
|
}
|
||||||
|
|
||||||
void EditorPath::_add_children_to_popup(Object *p_obj, int p_depth) {
|
void EditorObjectSelector::_add_children_to_popup(Object *p_obj, int p_depth) {
|
||||||
if (p_depth > 8) {
|
if (p_depth > 8) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@ -86,7 +86,7 @@ void EditorPath::_add_children_to_popup(Object *p_obj, int p_depth) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void EditorPath::_show_popup() {
|
void EditorObjectSelector::_show_popup() {
|
||||||
if (sub_objects_menu->is_visible()) {
|
if (sub_objects_menu->is_visible()) {
|
||||||
sub_objects_menu->hide();
|
sub_objects_menu->hide();
|
||||||
return;
|
return;
|
||||||
@ -106,7 +106,7 @@ void EditorPath::_show_popup() {
|
|||||||
sub_objects_menu->popup();
|
sub_objects_menu->popup();
|
||||||
}
|
}
|
||||||
|
|
||||||
void EditorPath::_about_to_show() {
|
void EditorObjectSelector::_about_to_show() {
|
||||||
Object *obj = ObjectDB::get_instance(history->get_path_object(history->get_path_size() - 1));
|
Object *obj = ObjectDB::get_instance(history->get_path_object(history->get_path_size() - 1));
|
||||||
if (!obj) {
|
if (!obj) {
|
||||||
return;
|
return;
|
||||||
@ -121,7 +121,7 @@ void EditorPath::_about_to_show() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void EditorPath::update_path() {
|
void EditorObjectSelector::update_path() {
|
||||||
for (int i = 0; i < history->get_path_size(); i++) {
|
for (int i = 0; i < history->get_path_size(); i++) {
|
||||||
Object *obj = ObjectDB::get_instance(history->get_path_object(i));
|
Object *obj = ObjectDB::get_instance(history->get_path_object(i));
|
||||||
if (!obj) {
|
if (!obj) {
|
||||||
@ -170,7 +170,7 @@ void EditorPath::update_path() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void EditorPath::clear_path() {
|
void EditorObjectSelector::clear_path() {
|
||||||
set_disabled(true);
|
set_disabled(true);
|
||||||
set_tooltip_text("");
|
set_tooltip_text("");
|
||||||
|
|
||||||
@ -179,12 +179,12 @@ void EditorPath::clear_path() {
|
|||||||
sub_objects_icon->hide();
|
sub_objects_icon->hide();
|
||||||
}
|
}
|
||||||
|
|
||||||
void EditorPath::enable_path() {
|
void EditorObjectSelector::enable_path() {
|
||||||
set_disabled(false);
|
set_disabled(false);
|
||||||
sub_objects_icon->show();
|
sub_objects_icon->show();
|
||||||
}
|
}
|
||||||
|
|
||||||
void EditorPath::_id_pressed(int p_idx) {
|
void EditorObjectSelector::_id_pressed(int p_idx) {
|
||||||
ERR_FAIL_INDEX(p_idx, objects.size());
|
ERR_FAIL_INDEX(p_idx, objects.size());
|
||||||
|
|
||||||
Object *obj = ObjectDB::get_instance(objects[p_idx]);
|
Object *obj = ObjectDB::get_instance(objects[p_idx]);
|
||||||
@ -195,7 +195,7 @@ void EditorPath::_id_pressed(int p_idx) {
|
|||||||
EditorNode::get_singleton()->push_item(obj);
|
EditorNode::get_singleton()->push_item(obj);
|
||||||
}
|
}
|
||||||
|
|
||||||
void EditorPath::_notification(int p_what) {
|
void EditorObjectSelector::_notification(int p_what) {
|
||||||
switch (p_what) {
|
switch (p_what) {
|
||||||
case NOTIFICATION_ENTER_TREE:
|
case NOTIFICATION_ENTER_TREE:
|
||||||
case NOTIFICATION_THEME_CHANGED: {
|
case NOTIFICATION_THEME_CHANGED: {
|
||||||
@ -210,15 +210,15 @@ void EditorPath::_notification(int p_what) {
|
|||||||
} break;
|
} break;
|
||||||
|
|
||||||
case NOTIFICATION_READY: {
|
case NOTIFICATION_READY: {
|
||||||
connect("pressed", callable_mp(this, &EditorPath::_show_popup));
|
connect("pressed", callable_mp(this, &EditorObjectSelector::_show_popup));
|
||||||
} break;
|
} break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void EditorPath::_bind_methods() {
|
void EditorObjectSelector::_bind_methods() {
|
||||||
}
|
}
|
||||||
|
|
||||||
EditorPath::EditorPath(EditorSelectionHistory *p_history) {
|
EditorObjectSelector::EditorObjectSelector(EditorSelectionHistory *p_history) {
|
||||||
history = p_history;
|
history = p_history;
|
||||||
|
|
||||||
MarginContainer *main_mc = memnew(MarginContainer);
|
MarginContainer *main_mc = memnew(MarginContainer);
|
||||||
@ -249,8 +249,8 @@ EditorPath::EditorPath(EditorSelectionHistory *p_history) {
|
|||||||
sub_objects_menu = memnew(PopupMenu);
|
sub_objects_menu = memnew(PopupMenu);
|
||||||
sub_objects_menu->set_auto_translate(false);
|
sub_objects_menu->set_auto_translate(false);
|
||||||
add_child(sub_objects_menu);
|
add_child(sub_objects_menu);
|
||||||
sub_objects_menu->connect("about_to_popup", callable_mp(this, &EditorPath::_about_to_show));
|
sub_objects_menu->connect("about_to_popup", callable_mp(this, &EditorObjectSelector::_about_to_show));
|
||||||
sub_objects_menu->connect("id_pressed", callable_mp(this, &EditorPath::_id_pressed));
|
sub_objects_menu->connect("id_pressed", callable_mp(this, &EditorObjectSelector::_id_pressed));
|
||||||
|
|
||||||
set_tooltip_text(TTR("Open a list of sub-resources."));
|
set_tooltip_text(TTR("Open a list of sub-resources."));
|
||||||
}
|
}
|
@ -1,5 +1,5 @@
|
|||||||
/**************************************************************************/
|
/**************************************************************************/
|
||||||
/* editor_path.h */
|
/* editor_object_selector.h */
|
||||||
/**************************************************************************/
|
/**************************************************************************/
|
||||||
/* This file is part of: */
|
/* This file is part of: */
|
||||||
/* GODOT ENGINE */
|
/* GODOT ENGINE */
|
||||||
@ -28,8 +28,8 @@
|
|||||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||||
/**************************************************************************/
|
/**************************************************************************/
|
||||||
|
|
||||||
#ifndef EDITOR_PATH_H
|
#ifndef EDITOR_OBJECT_SELECTOR_H
|
||||||
#define EDITOR_PATH_H
|
#define EDITOR_OBJECT_SELECTOR_H
|
||||||
|
|
||||||
#include "scene/gui/box_container.h"
|
#include "scene/gui/box_container.h"
|
||||||
#include "scene/gui/button.h"
|
#include "scene/gui/button.h"
|
||||||
@ -39,8 +39,8 @@
|
|||||||
|
|
||||||
class EditorSelectionHistory;
|
class EditorSelectionHistory;
|
||||||
|
|
||||||
class EditorPath : public Button {
|
class EditorObjectSelector : public Button {
|
||||||
GDCLASS(EditorPath, Button);
|
GDCLASS(EditorObjectSelector, Button);
|
||||||
|
|
||||||
EditorSelectionHistory *history = nullptr;
|
EditorSelectionHistory *history = nullptr;
|
||||||
|
|
||||||
@ -67,7 +67,7 @@ public:
|
|||||||
void clear_path();
|
void clear_path();
|
||||||
void enable_path();
|
void enable_path();
|
||||||
|
|
||||||
EditorPath(EditorSelectionHistory *p_history);
|
EditorObjectSelector(EditorSelectionHistory *p_history);
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // EDITOR_PATH_H
|
#endif // EDITOR_OBJECT_SELECTOR_H
|
@ -28,7 +28,7 @@
|
|||||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||||
/**************************************************************************/
|
/**************************************************************************/
|
||||||
|
|
||||||
#include "editor/editor_title_bar.h"
|
#include "editor_title_bar.h"
|
||||||
|
|
||||||
void EditorTitleBar::gui_input(const Ref<InputEvent> &p_event) {
|
void EditorTitleBar::gui_input(const Ref<InputEvent> &p_event) {
|
||||||
if (!can_move) {
|
if (!can_move) {
|
@ -42,6 +42,8 @@
|
|||||||
#include "editor/plugins/canvas_item_editor_plugin.h"
|
#include "editor/plugins/canvas_item_editor_plugin.h"
|
||||||
#include "editor/plugins/script_editor_plugin.h"
|
#include "editor/plugins/script_editor_plugin.h"
|
||||||
#include "scene/gui/label.h"
|
#include "scene/gui/label.h"
|
||||||
|
#include "scene/gui/tab_container.h"
|
||||||
|
#include "scene/gui/texture_rect.h"
|
||||||
#include "scene/main/window.h"
|
#include "scene/main/window.h"
|
||||||
#include "scene/resources/packed_scene.h"
|
#include "scene/resources/packed_scene.h"
|
||||||
|
|
@ -31,7 +31,6 @@
|
|||||||
#include "dynamic_font_import_settings.h"
|
#include "dynamic_font_import_settings.h"
|
||||||
|
|
||||||
#include "core/config/project_settings.h"
|
#include "core/config/project_settings.h"
|
||||||
#include "editor/editor_file_dialog.h"
|
|
||||||
#include "editor/editor_file_system.h"
|
#include "editor/editor_file_system.h"
|
||||||
#include "editor/editor_inspector.h"
|
#include "editor/editor_inspector.h"
|
||||||
#include "editor/editor_locale_dialog.h"
|
#include "editor/editor_locale_dialog.h"
|
||||||
@ -39,6 +38,7 @@
|
|||||||
#include "editor/editor_property_name_processor.h"
|
#include "editor/editor_property_name_processor.h"
|
||||||
#include "editor/editor_scale.h"
|
#include "editor/editor_scale.h"
|
||||||
#include "editor/editor_settings.h"
|
#include "editor/editor_settings.h"
|
||||||
|
#include "editor/gui/editor_file_dialog.h"
|
||||||
|
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
/* Settings data */
|
/* Settings data */
|
||||||
|
@ -31,12 +31,12 @@
|
|||||||
#include "scene_import_settings.h"
|
#include "scene_import_settings.h"
|
||||||
|
|
||||||
#include "core/config/project_settings.h"
|
#include "core/config/project_settings.h"
|
||||||
#include "editor/editor_file_dialog.h"
|
|
||||||
#include "editor/editor_file_system.h"
|
#include "editor/editor_file_system.h"
|
||||||
#include "editor/editor_inspector.h"
|
#include "editor/editor_inspector.h"
|
||||||
#include "editor/editor_node.h"
|
#include "editor/editor_node.h"
|
||||||
#include "editor/editor_scale.h"
|
#include "editor/editor_scale.h"
|
||||||
#include "editor/editor_settings.h"
|
#include "editor/editor_settings.h"
|
||||||
|
#include "editor/gui/editor_file_dialog.h"
|
||||||
#include "scene/3d/importer_mesh_instance_3d.h"
|
#include "scene/3d/importer_mesh_instance_3d.h"
|
||||||
#include "scene/animation/animation_player.h"
|
#include "scene/animation/animation_player.h"
|
||||||
#include "scene/resources/importer_mesh.h"
|
#include "scene/resources/importer_mesh.h"
|
||||||
|
@ -30,12 +30,13 @@
|
|||||||
|
|
||||||
#include "inspector_dock.h"
|
#include "inspector_dock.h"
|
||||||
|
|
||||||
#include "editor/editor_file_dialog.h"
|
|
||||||
#include "editor/editor_node.h"
|
#include "editor/editor_node.h"
|
||||||
#include "editor/editor_scale.h"
|
#include "editor/editor_scale.h"
|
||||||
#include "editor/editor_settings.h"
|
#include "editor/editor_settings.h"
|
||||||
#include "editor/editor_undo_redo_manager.h"
|
#include "editor/editor_undo_redo_manager.h"
|
||||||
#include "editor/filesystem_dock.h"
|
#include "editor/filesystem_dock.h"
|
||||||
|
#include "editor/gui/editor_file_dialog.h"
|
||||||
|
#include "editor/gui/editor_object_selector.h"
|
||||||
#include "editor/plugins/script_editor_plugin.h"
|
#include "editor/plugins/script_editor_plugin.h"
|
||||||
|
|
||||||
InspectorDock *InspectorDock::singleton = nullptr;
|
InspectorDock *InspectorDock::singleton = nullptr;
|
||||||
@ -510,7 +511,7 @@ void InspectorDock::update(Object *p_object) {
|
|||||||
if (editor_history->get_history_len() > 0) {
|
if (editor_history->get_history_len() > 0) {
|
||||||
history_menu->set_disabled(false);
|
history_menu->set_disabled(false);
|
||||||
}
|
}
|
||||||
editor_path->update_path();
|
object_selector->update_path();
|
||||||
|
|
||||||
current = p_object;
|
current = p_object;
|
||||||
|
|
||||||
@ -530,11 +531,11 @@ void InspectorDock::update(Object *p_object) {
|
|||||||
|
|
||||||
if (!is_object || is_text_file) {
|
if (!is_object || is_text_file) {
|
||||||
info->hide();
|
info->hide();
|
||||||
editor_path->clear_path();
|
object_selector->clear_path();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
editor_path->enable_path();
|
object_selector->enable_path();
|
||||||
|
|
||||||
PopupMenu *p = object_menu->get_popup();
|
PopupMenu *p = object_menu->get_popup();
|
||||||
|
|
||||||
@ -689,9 +690,9 @@ InspectorDock::InspectorDock(EditorData &p_editor_data) {
|
|||||||
|
|
||||||
HBoxContainer *subresource_hb = memnew(HBoxContainer);
|
HBoxContainer *subresource_hb = memnew(HBoxContainer);
|
||||||
add_child(subresource_hb);
|
add_child(subresource_hb);
|
||||||
editor_path = memnew(EditorPath(EditorNode::get_singleton()->get_editor_selection_history()));
|
object_selector = memnew(EditorObjectSelector(EditorNode::get_singleton()->get_editor_selection_history()));
|
||||||
editor_path->set_h_size_flags(Control::SIZE_EXPAND_FILL);
|
object_selector->set_h_size_flags(Control::SIZE_EXPAND_FILL);
|
||||||
subresource_hb->add_child(editor_path);
|
subresource_hb->add_child(object_selector);
|
||||||
|
|
||||||
open_docs_button = memnew(Button);
|
open_docs_button = memnew(Button);
|
||||||
open_docs_button->set_flat(true);
|
open_docs_button->set_flat(true);
|
||||||
|
@ -34,7 +34,6 @@
|
|||||||
#include "editor/create_dialog.h"
|
#include "editor/create_dialog.h"
|
||||||
#include "editor/editor_data.h"
|
#include "editor/editor_data.h"
|
||||||
#include "editor/editor_inspector.h"
|
#include "editor/editor_inspector.h"
|
||||||
#include "editor/editor_path.h"
|
|
||||||
#include "scene/gui/box_container.h"
|
#include "scene/gui/box_container.h"
|
||||||
#include "scene/gui/button.h"
|
#include "scene/gui/button.h"
|
||||||
#include "scene/gui/dialogs.h"
|
#include "scene/gui/dialogs.h"
|
||||||
@ -43,6 +42,7 @@
|
|||||||
#include "scene/gui/tree.h"
|
#include "scene/gui/tree.h"
|
||||||
|
|
||||||
class EditorFileDialog;
|
class EditorFileDialog;
|
||||||
|
class EditorObjectSelector;
|
||||||
|
|
||||||
class InspectorDock : public VBoxContainer {
|
class InspectorDock : public VBoxContainer {
|
||||||
GDCLASS(InspectorDock, VBoxContainer);
|
GDCLASS(InspectorDock, VBoxContainer);
|
||||||
@ -92,7 +92,7 @@ class InspectorDock : public VBoxContainer {
|
|||||||
|
|
||||||
Button *open_docs_button = nullptr;
|
Button *open_docs_button = nullptr;
|
||||||
MenuButton *object_menu = nullptr;
|
MenuButton *object_menu = nullptr;
|
||||||
EditorPath *editor_path = nullptr;
|
EditorObjectSelector *object_selector = nullptr;
|
||||||
|
|
||||||
bool info_is_warning = false; // Display in yellow and use warning icon if true.
|
bool info_is_warning = false; // Display in yellow and use warning icon if true.
|
||||||
Button *info = nullptr;
|
Button *info = nullptr;
|
||||||
|
@ -32,11 +32,11 @@
|
|||||||
|
|
||||||
#include "core/config/project_settings.h"
|
#include "core/config/project_settings.h"
|
||||||
#include "core/string/translation.h"
|
#include "core/string/translation.h"
|
||||||
#include "editor/editor_file_dialog.h"
|
|
||||||
#include "editor/editor_scale.h"
|
#include "editor/editor_scale.h"
|
||||||
#include "editor/editor_translation_parser.h"
|
#include "editor/editor_translation_parser.h"
|
||||||
#include "editor/editor_undo_redo_manager.h"
|
#include "editor/editor_undo_redo_manager.h"
|
||||||
#include "editor/filesystem_dock.h"
|
#include "editor/filesystem_dock.h"
|
||||||
|
#include "editor/gui/editor_file_dialog.h"
|
||||||
#include "editor/pot_generator.h"
|
#include "editor/pot_generator.h"
|
||||||
#include "scene/gui/control.h"
|
#include "scene/gui/control.h"
|
||||||
|
|
||||||
|
@ -37,6 +37,8 @@
|
|||||||
#include "editor/editor_scale.h"
|
#include "editor/editor_scale.h"
|
||||||
#include "editor/editor_settings.h"
|
#include "editor/editor_settings.h"
|
||||||
#include "editor/editor_undo_redo_manager.h"
|
#include "editor/editor_undo_redo_manager.h"
|
||||||
|
#include "scene/gui/button.h"
|
||||||
|
#include "scene/gui/dialogs.h"
|
||||||
#include "scene/gui/separator.h"
|
#include "scene/gui/separator.h"
|
||||||
|
|
||||||
bool AbstractPolygon2DEditor::Vertex::operator==(const AbstractPolygon2DEditor::Vertex &p_vertex) const {
|
bool AbstractPolygon2DEditor::Vertex::operator==(const AbstractPolygon2DEditor::Vertex &p_vertex) const {
|
||||||
|
@ -35,6 +35,7 @@
|
|||||||
#include "scene/2d/polygon_2d.h"
|
#include "scene/2d/polygon_2d.h"
|
||||||
#include "scene/gui/box_container.h"
|
#include "scene/gui/box_container.h"
|
||||||
|
|
||||||
|
class Button;
|
||||||
class CanvasItemEditor;
|
class CanvasItemEditor;
|
||||||
class ConfirmationDialog;
|
class ConfirmationDialog;
|
||||||
|
|
||||||
|
@ -31,11 +31,11 @@
|
|||||||
#include "animation_blend_space_1d_editor.h"
|
#include "animation_blend_space_1d_editor.h"
|
||||||
|
|
||||||
#include "core/os/keyboard.h"
|
#include "core/os/keyboard.h"
|
||||||
#include "editor/editor_file_dialog.h"
|
|
||||||
#include "editor/editor_node.h"
|
#include "editor/editor_node.h"
|
||||||
#include "editor/editor_scale.h"
|
#include "editor/editor_scale.h"
|
||||||
#include "editor/editor_settings.h"
|
#include "editor/editor_settings.h"
|
||||||
#include "editor/editor_undo_redo_manager.h"
|
#include "editor/editor_undo_redo_manager.h"
|
||||||
|
#include "editor/gui/editor_file_dialog.h"
|
||||||
#include "scene/animation/animation_blend_tree.h"
|
#include "scene/animation/animation_blend_tree.h"
|
||||||
#include "scene/gui/check_box.h"
|
#include "scene/gui/check_box.h"
|
||||||
#include "scene/gui/option_button.h"
|
#include "scene/gui/option_button.h"
|
||||||
|
@ -35,11 +35,11 @@
|
|||||||
#include "core/io/resource_loader.h"
|
#include "core/io/resource_loader.h"
|
||||||
#include "core/math/geometry_2d.h"
|
#include "core/math/geometry_2d.h"
|
||||||
#include "core/os/keyboard.h"
|
#include "core/os/keyboard.h"
|
||||||
#include "editor/editor_file_dialog.h"
|
|
||||||
#include "editor/editor_node.h"
|
#include "editor/editor_node.h"
|
||||||
#include "editor/editor_scale.h"
|
#include "editor/editor_scale.h"
|
||||||
#include "editor/editor_settings.h"
|
#include "editor/editor_settings.h"
|
||||||
#include "editor/editor_undo_redo_manager.h"
|
#include "editor/editor_undo_redo_manager.h"
|
||||||
|
#include "editor/gui/editor_file_dialog.h"
|
||||||
#include "scene/animation/animation_blend_tree.h"
|
#include "scene/animation/animation_blend_tree.h"
|
||||||
#include "scene/animation/animation_player.h"
|
#include "scene/animation/animation_player.h"
|
||||||
#include "scene/gui/check_box.h"
|
#include "scene/gui/check_box.h"
|
||||||
|
@ -34,12 +34,12 @@
|
|||||||
#include "core/input/input.h"
|
#include "core/input/input.h"
|
||||||
#include "core/io/resource_loader.h"
|
#include "core/io/resource_loader.h"
|
||||||
#include "core/os/keyboard.h"
|
#include "core/os/keyboard.h"
|
||||||
#include "editor/editor_file_dialog.h"
|
|
||||||
#include "editor/editor_inspector.h"
|
#include "editor/editor_inspector.h"
|
||||||
#include "editor/editor_node.h"
|
#include "editor/editor_node.h"
|
||||||
#include "editor/editor_scale.h"
|
#include "editor/editor_scale.h"
|
||||||
#include "editor/editor_settings.h"
|
#include "editor/editor_settings.h"
|
||||||
#include "editor/editor_undo_redo_manager.h"
|
#include "editor/editor_undo_redo_manager.h"
|
||||||
|
#include "editor/gui/editor_file_dialog.h"
|
||||||
#include "scene/animation/animation_player.h"
|
#include "scene/animation/animation_player.h"
|
||||||
#include "scene/gui/check_box.h"
|
#include "scene/gui/check_box.h"
|
||||||
#include "scene/gui/menu_button.h"
|
#include "scene/gui/menu_button.h"
|
||||||
|
@ -29,11 +29,11 @@
|
|||||||
/**************************************************************************/
|
/**************************************************************************/
|
||||||
|
|
||||||
#include "animation_library_editor.h"
|
#include "animation_library_editor.h"
|
||||||
#include "editor/editor_file_dialog.h"
|
|
||||||
#include "editor/editor_node.h"
|
#include "editor/editor_node.h"
|
||||||
#include "editor/editor_scale.h"
|
#include "editor/editor_scale.h"
|
||||||
#include "editor/editor_settings.h"
|
#include "editor/editor_settings.h"
|
||||||
#include "editor/editor_undo_redo_manager.h"
|
#include "editor/editor_undo_redo_manager.h"
|
||||||
|
#include "editor/gui/editor_file_dialog.h"
|
||||||
|
|
||||||
void AnimationLibraryEditor::set_animation_player(Object *p_player) {
|
void AnimationLibraryEditor::set_animation_player(Object *p_player) {
|
||||||
player = p_player;
|
player = p_player;
|
||||||
|
@ -35,11 +35,11 @@
|
|||||||
#include "core/io/resource_loader.h"
|
#include "core/io/resource_loader.h"
|
||||||
#include "core/io/resource_saver.h"
|
#include "core/io/resource_saver.h"
|
||||||
#include "core/os/keyboard.h"
|
#include "core/os/keyboard.h"
|
||||||
#include "editor/editor_file_dialog.h"
|
|
||||||
#include "editor/editor_node.h"
|
#include "editor/editor_node.h"
|
||||||
#include "editor/editor_scale.h"
|
#include "editor/editor_scale.h"
|
||||||
#include "editor/editor_settings.h"
|
#include "editor/editor_settings.h"
|
||||||
#include "editor/editor_undo_redo_manager.h"
|
#include "editor/editor_undo_redo_manager.h"
|
||||||
|
#include "editor/gui/editor_file_dialog.h"
|
||||||
#include "editor/inspector_dock.h"
|
#include "editor/inspector_dock.h"
|
||||||
#include "editor/plugins/canvas_item_editor_plugin.h" // For onion skinning.
|
#include "editor/plugins/canvas_item_editor_plugin.h" // For onion skinning.
|
||||||
#include "editor/plugins/node_3d_editor_plugin.h" // For onion skinning.
|
#include "editor/plugins/node_3d_editor_plugin.h" // For onion skinning.
|
||||||
|
@ -35,11 +35,11 @@
|
|||||||
#include "core/io/resource_loader.h"
|
#include "core/io/resource_loader.h"
|
||||||
#include "core/math/geometry_2d.h"
|
#include "core/math/geometry_2d.h"
|
||||||
#include "core/os/keyboard.h"
|
#include "core/os/keyboard.h"
|
||||||
#include "editor/editor_file_dialog.h"
|
|
||||||
#include "editor/editor_node.h"
|
#include "editor/editor_node.h"
|
||||||
#include "editor/editor_scale.h"
|
#include "editor/editor_scale.h"
|
||||||
#include "editor/editor_settings.h"
|
#include "editor/editor_settings.h"
|
||||||
#include "editor/editor_undo_redo_manager.h"
|
#include "editor/editor_undo_redo_manager.h"
|
||||||
|
#include "editor/gui/editor_file_dialog.h"
|
||||||
#include "scene/animation/animation_blend_tree.h"
|
#include "scene/animation/animation_blend_tree.h"
|
||||||
#include "scene/animation/animation_player.h"
|
#include "scene/animation/animation_player.h"
|
||||||
#include "scene/gui/menu_button.h"
|
#include "scene/gui/menu_button.h"
|
||||||
|
@ -39,9 +39,9 @@
|
|||||||
#include "core/io/resource_loader.h"
|
#include "core/io/resource_loader.h"
|
||||||
#include "core/math/delaunay_2d.h"
|
#include "core/math/delaunay_2d.h"
|
||||||
#include "core/os/keyboard.h"
|
#include "core/os/keyboard.h"
|
||||||
#include "editor/editor_file_dialog.h"
|
|
||||||
#include "editor/editor_node.h"
|
#include "editor/editor_node.h"
|
||||||
#include "editor/editor_scale.h"
|
#include "editor/editor_scale.h"
|
||||||
|
#include "editor/gui/editor_file_dialog.h"
|
||||||
#include "scene/animation/animation_blend_tree.h"
|
#include "scene/animation/animation_blend_tree.h"
|
||||||
#include "scene/animation/animation_player.h"
|
#include "scene/animation/animation_player.h"
|
||||||
#include "scene/gui/menu_button.h"
|
#include "scene/gui/menu_button.h"
|
||||||
|
@ -35,11 +35,11 @@
|
|||||||
#include "core/io/stream_peer_tls.h"
|
#include "core/io/stream_peer_tls.h"
|
||||||
#include "core/os/keyboard.h"
|
#include "core/os/keyboard.h"
|
||||||
#include "core/version.h"
|
#include "core/version.h"
|
||||||
#include "editor/editor_file_dialog.h"
|
|
||||||
#include "editor/editor_node.h"
|
#include "editor/editor_node.h"
|
||||||
#include "editor/editor_paths.h"
|
#include "editor/editor_paths.h"
|
||||||
#include "editor/editor_scale.h"
|
#include "editor/editor_scale.h"
|
||||||
#include "editor/editor_settings.h"
|
#include "editor/editor_settings.h"
|
||||||
|
#include "editor/gui/editor_file_dialog.h"
|
||||||
#include "editor/project_settings_editor.h"
|
#include "editor/project_settings_editor.h"
|
||||||
#include "scene/gui/menu_button.h"
|
#include "scene/gui/menu_button.h"
|
||||||
|
|
||||||
|
@ -37,9 +37,9 @@
|
|||||||
#include "editor/editor_node.h"
|
#include "editor/editor_node.h"
|
||||||
#include "editor/editor_scale.h"
|
#include "editor/editor_scale.h"
|
||||||
#include "editor/editor_settings.h"
|
#include "editor/editor_settings.h"
|
||||||
#include "editor/editor_toaster.h"
|
|
||||||
#include "editor/editor_undo_redo_manager.h"
|
#include "editor/editor_undo_redo_manager.h"
|
||||||
#include "editor/editor_zoom_widget.h"
|
#include "editor/gui/editor_toaster.h"
|
||||||
|
#include "editor/gui/editor_zoom_widget.h"
|
||||||
#include "editor/plugins/animation_player_editor_plugin.h"
|
#include "editor/plugins/animation_player_editor_plugin.h"
|
||||||
#include "editor/plugins/script_editor_plugin.h"
|
#include "editor/plugins/script_editor_plugin.h"
|
||||||
#include "editor/scene_tree_dock.h"
|
#include "editor/scene_tree_dock.h"
|
||||||
@ -56,6 +56,7 @@
|
|||||||
#include "scene/gui/separator.h"
|
#include "scene/gui/separator.h"
|
||||||
#include "scene/gui/split_container.h"
|
#include "scene/gui/split_container.h"
|
||||||
#include "scene/gui/subviewport_container.h"
|
#include "scene/gui/subviewport_container.h"
|
||||||
|
#include "scene/gui/texture_rect.h"
|
||||||
#include "scene/gui/view_panner.h"
|
#include "scene/gui/view_panner.h"
|
||||||
#include "scene/main/canvas_layer.h"
|
#include "scene/main/canvas_layer.h"
|
||||||
#include "scene/main/window.h"
|
#include "scene/main/window.h"
|
||||||
|
@ -32,8 +32,8 @@
|
|||||||
|
|
||||||
#include "canvas_item_editor_plugin.h"
|
#include "canvas_item_editor_plugin.h"
|
||||||
#include "core/io/image_loader.h"
|
#include "core/io/image_loader.h"
|
||||||
#include "editor/editor_file_dialog.h"
|
|
||||||
#include "editor/editor_node.h"
|
#include "editor/editor_node.h"
|
||||||
|
#include "editor/gui/editor_file_dialog.h"
|
||||||
#include "scene/2d/cpu_particles_2d.h"
|
#include "scene/2d/cpu_particles_2d.h"
|
||||||
#include "scene/gui/check_box.h"
|
#include "scene/gui/check_box.h"
|
||||||
#include "scene/gui/menu_button.h"
|
#include "scene/gui/menu_button.h"
|
||||||
|
@ -31,8 +31,8 @@
|
|||||||
#include "cpu_particles_3d_editor_plugin.h"
|
#include "cpu_particles_3d_editor_plugin.h"
|
||||||
|
|
||||||
#include "editor/editor_node.h"
|
#include "editor/editor_node.h"
|
||||||
|
#include "editor/gui/scene_tree_editor.h"
|
||||||
#include "editor/plugins/node_3d_editor_plugin.h"
|
#include "editor/plugins/node_3d_editor_plugin.h"
|
||||||
#include "editor/scene_tree_editor.h"
|
|
||||||
#include "scene/gui/menu_button.h"
|
#include "scene/gui/menu_button.h"
|
||||||
|
|
||||||
void CPUParticles3DEditor::_node_removed(Node *p_node) {
|
void CPUParticles3DEditor::_node_removed(Node *p_node) {
|
||||||
|
@ -33,10 +33,10 @@
|
|||||||
#include "core/os/keyboard.h"
|
#include "core/os/keyboard.h"
|
||||||
#include "editor/debugger/editor_debugger_node.h"
|
#include "editor/debugger/editor_debugger_node.h"
|
||||||
#include "editor/debugger/editor_debugger_server.h"
|
#include "editor/debugger/editor_debugger_server.h"
|
||||||
|
#include "editor/debugger/editor_file_server.h"
|
||||||
#include "editor/editor_node.h"
|
#include "editor/editor_node.h"
|
||||||
#include "editor/editor_scale.h"
|
#include "editor/editor_scale.h"
|
||||||
#include "editor/editor_settings.h"
|
#include "editor/editor_settings.h"
|
||||||
#include "editor/fileserver/editor_file_server.h"
|
|
||||||
#include "editor/plugins/script_editor_plugin.h"
|
#include "editor/plugins/script_editor_plugin.h"
|
||||||
#include "scene/gui/menu_button.h"
|
#include "scene/gui/menu_button.h"
|
||||||
|
|
||||||
|
@ -32,9 +32,9 @@
|
|||||||
|
|
||||||
#include "canvas_item_editor_plugin.h"
|
#include "canvas_item_editor_plugin.h"
|
||||||
#include "core/io/image_loader.h"
|
#include "core/io/image_loader.h"
|
||||||
#include "editor/editor_file_dialog.h"
|
|
||||||
#include "editor/editor_node.h"
|
#include "editor/editor_node.h"
|
||||||
#include "editor/editor_undo_redo_manager.h"
|
#include "editor/editor_undo_redo_manager.h"
|
||||||
|
#include "editor/gui/editor_file_dialog.h"
|
||||||
#include "editor/scene_tree_dock.h"
|
#include "editor/scene_tree_dock.h"
|
||||||
#include "scene/2d/cpu_particles_2d.h"
|
#include "scene/2d/cpu_particles_2d.h"
|
||||||
#include "scene/gui/menu_button.h"
|
#include "scene/gui/menu_button.h"
|
||||||
|
@ -30,8 +30,8 @@
|
|||||||
|
|
||||||
#include "gpu_particles_collision_sdf_editor_plugin.h"
|
#include "gpu_particles_collision_sdf_editor_plugin.h"
|
||||||
|
|
||||||
#include "editor/editor_file_dialog.h"
|
|
||||||
#include "editor/editor_node.h"
|
#include "editor/editor_node.h"
|
||||||
|
#include "editor/gui/editor_file_dialog.h"
|
||||||
|
|
||||||
void GPUParticlesCollisionSDF3DEditorPlugin::_bake() {
|
void GPUParticlesCollisionSDF3DEditorPlugin::_bake() {
|
||||||
if (col_sdf) {
|
if (col_sdf) {
|
||||||
|
@ -33,7 +33,9 @@
|
|||||||
#include "editor/editor_node.h"
|
#include "editor/editor_node.h"
|
||||||
#include "editor/editor_scale.h"
|
#include "editor/editor_scale.h"
|
||||||
#include "editor/editor_undo_redo_manager.h"
|
#include "editor/editor_undo_redo_manager.h"
|
||||||
|
#include "editor/gui/editor_spin_slider.h"
|
||||||
#include "scene/gui/box_container.h"
|
#include "scene/gui/box_container.h"
|
||||||
|
#include "scene/gui/button.h"
|
||||||
#include "scene/gui/flow_container.h"
|
#include "scene/gui/flow_container.h"
|
||||||
#include "scene/gui/separator.h"
|
#include "scene/gui/separator.h"
|
||||||
|
|
||||||
|
@ -33,7 +33,9 @@
|
|||||||
|
|
||||||
#include "editor/editor_inspector.h"
|
#include "editor/editor_inspector.h"
|
||||||
#include "editor/editor_plugin.h"
|
#include "editor/editor_plugin.h"
|
||||||
#include "editor/editor_spin_slider.h"
|
|
||||||
|
class Button;
|
||||||
|
class EditorSpinSlider;
|
||||||
|
|
||||||
class GradientTexture2DEditorRect : public Control {
|
class GradientTexture2DEditorRect : public Control {
|
||||||
GDCLASS(GradientTexture2DEditorRect, Control);
|
GDCLASS(GradientTexture2DEditorRect, Control);
|
||||||
|
@ -30,8 +30,8 @@
|
|||||||
|
|
||||||
#include "lightmap_gi_editor_plugin.h"
|
#include "lightmap_gi_editor_plugin.h"
|
||||||
|
|
||||||
#include "editor/editor_file_dialog.h"
|
|
||||||
#include "editor/editor_node.h"
|
#include "editor/editor_node.h"
|
||||||
|
#include "editor/gui/editor_file_dialog.h"
|
||||||
|
|
||||||
void LightmapGIEditorPlugin::_bake_select_file(const String &p_file) {
|
void LightmapGIEditorPlugin::_bake_select_file(const String &p_file) {
|
||||||
if (lightmap) {
|
if (lightmap) {
|
||||||
|
@ -35,7 +35,13 @@
|
|||||||
#include "editor/editor_scale.h"
|
#include "editor/editor_scale.h"
|
||||||
#include "editor/editor_settings.h"
|
#include "editor/editor_settings.h"
|
||||||
#include "editor/editor_undo_redo_manager.h"
|
#include "editor/editor_undo_redo_manager.h"
|
||||||
|
#include "scene/3d/camera_3d.h"
|
||||||
|
#include "scene/3d/light_3d.h"
|
||||||
|
#include "scene/3d/mesh_instance_3d.h"
|
||||||
|
#include "scene/gui/box_container.h"
|
||||||
|
#include "scene/gui/color_rect.h"
|
||||||
#include "scene/gui/subviewport_container.h"
|
#include "scene/gui/subviewport_container.h"
|
||||||
|
#include "scene/gui/texture_button.h"
|
||||||
#include "scene/resources/fog_material.h"
|
#include "scene/resources/fog_material.h"
|
||||||
#include "scene/resources/particle_process_material.h"
|
#include "scene/resources/particle_process_material.h"
|
||||||
#include "scene/resources/sky_material.h"
|
#include "scene/resources/sky_material.h"
|
||||||
|
@ -34,13 +34,14 @@
|
|||||||
#include "editor/editor_inspector.h"
|
#include "editor/editor_inspector.h"
|
||||||
#include "editor/editor_plugin.h"
|
#include "editor/editor_plugin.h"
|
||||||
#include "editor/plugins/editor_resource_conversion_plugin.h"
|
#include "editor/plugins/editor_resource_conversion_plugin.h"
|
||||||
#include "scene/3d/camera_3d.h"
|
|
||||||
#include "scene/3d/light_3d.h"
|
|
||||||
#include "scene/3d/mesh_instance_3d.h"
|
|
||||||
#include "scene/gui/color_rect.h"
|
|
||||||
#include "scene/resources/material.h"
|
#include "scene/resources/material.h"
|
||||||
#include "scene/resources/primitive_meshes.h"
|
#include "scene/resources/primitive_meshes.h"
|
||||||
|
|
||||||
|
class Camera3D;
|
||||||
|
class ColorRect;
|
||||||
|
class DirectionalLight3D;
|
||||||
|
class HBoxContainer;
|
||||||
|
class MeshInstance3D;
|
||||||
class SubViewport;
|
class SubViewport;
|
||||||
class SubViewportContainer;
|
class SubViewportContainer;
|
||||||
class TextureButton;
|
class TextureButton;
|
||||||
|
@ -33,12 +33,14 @@
|
|||||||
#include "editor/editor_node.h"
|
#include "editor/editor_node.h"
|
||||||
#include "editor/editor_scale.h"
|
#include "editor/editor_scale.h"
|
||||||
#include "editor/editor_undo_redo_manager.h"
|
#include "editor/editor_undo_redo_manager.h"
|
||||||
#include "node_3d_editor_plugin.h"
|
#include "editor/plugins/node_3d_editor_plugin.h"
|
||||||
#include "scene/3d/collision_shape_3d.h"
|
#include "scene/3d/collision_shape_3d.h"
|
||||||
#include "scene/3d/navigation_region_3d.h"
|
#include "scene/3d/navigation_region_3d.h"
|
||||||
#include "scene/3d/physics_body_3d.h"
|
#include "scene/3d/physics_body_3d.h"
|
||||||
#include "scene/gui/box_container.h"
|
#include "scene/gui/box_container.h"
|
||||||
|
#include "scene/gui/dialogs.h"
|
||||||
#include "scene/gui/menu_button.h"
|
#include "scene/gui/menu_button.h"
|
||||||
|
#include "scene/gui/spin_box.h"
|
||||||
#include "scene/resources/concave_polygon_shape_3d.h"
|
#include "scene/resources/concave_polygon_shape_3d.h"
|
||||||
#include "scene/resources/convex_polygon_shape_3d.h"
|
#include "scene/resources/convex_polygon_shape_3d.h"
|
||||||
#include "scene/scene_string_names.h"
|
#include "scene/scene_string_names.h"
|
||||||
|
@ -33,11 +33,11 @@
|
|||||||
|
|
||||||
#include "editor/editor_plugin.h"
|
#include "editor/editor_plugin.h"
|
||||||
#include "scene/3d/mesh_instance_3d.h"
|
#include "scene/3d/mesh_instance_3d.h"
|
||||||
#include "scene/gui/spin_box.h"
|
|
||||||
|
|
||||||
class AcceptDialog;
|
class AcceptDialog;
|
||||||
class ConfirmationDialog;
|
class ConfirmationDialog;
|
||||||
class MenuButton;
|
class MenuButton;
|
||||||
|
class SpinBox;
|
||||||
|
|
||||||
class MeshInstance3DEditor : public Control {
|
class MeshInstance3DEditor : public Control {
|
||||||
GDCLASS(MeshInstance3DEditor, Control);
|
GDCLASS(MeshInstance3DEditor, Control);
|
||||||
|
@ -30,12 +30,12 @@
|
|||||||
|
|
||||||
#include "mesh_library_editor_plugin.h"
|
#include "mesh_library_editor_plugin.h"
|
||||||
|
|
||||||
#include "editor/editor_file_dialog.h"
|
|
||||||
#include "editor/editor_node.h"
|
#include "editor/editor_node.h"
|
||||||
#include "editor/editor_settings.h"
|
#include "editor/editor_settings.h"
|
||||||
|
#include "editor/gui/editor_file_dialog.h"
|
||||||
#include "editor/inspector_dock.h"
|
#include "editor/inspector_dock.h"
|
||||||
|
#include "editor/plugins/node_3d_editor_plugin.h"
|
||||||
#include "main/main.h"
|
#include "main/main.h"
|
||||||
#include "node_3d_editor_plugin.h"
|
|
||||||
#include "scene/3d/mesh_instance_3d.h"
|
#include "scene/3d/mesh_instance_3d.h"
|
||||||
#include "scene/3d/navigation_region_3d.h"
|
#include "scene/3d/navigation_region_3d.h"
|
||||||
#include "scene/3d/physics_body_3d.h"
|
#include "scene/3d/physics_body_3d.h"
|
||||||
|
@ -31,8 +31,8 @@
|
|||||||
#include "multimesh_editor_plugin.h"
|
#include "multimesh_editor_plugin.h"
|
||||||
|
|
||||||
#include "editor/editor_node.h"
|
#include "editor/editor_node.h"
|
||||||
#include "editor/scene_tree_editor.h"
|
#include "editor/gui/scene_tree_editor.h"
|
||||||
#include "node_3d_editor_plugin.h"
|
#include "editor/plugins/node_3d_editor_plugin.h"
|
||||||
#include "scene/3d/mesh_instance_3d.h"
|
#include "scene/3d/mesh_instance_3d.h"
|
||||||
#include "scene/gui/box_container.h"
|
#include "scene/gui/box_container.h"
|
||||||
#include "scene/gui/menu_button.h"
|
#include "scene/gui/menu_button.h"
|
||||||
|
@ -40,6 +40,7 @@
|
|||||||
#include "editor/editor_node.h"
|
#include "editor/editor_node.h"
|
||||||
#include "editor/editor_settings.h"
|
#include "editor/editor_settings.h"
|
||||||
#include "editor/editor_undo_redo_manager.h"
|
#include "editor/editor_undo_redo_manager.h"
|
||||||
|
#include "editor/gui/editor_spin_slider.h"
|
||||||
#include "editor/plugins/animation_player_editor_plugin.h"
|
#include "editor/plugins/animation_player_editor_plugin.h"
|
||||||
#include "editor/plugins/node_3d_editor_gizmos.h"
|
#include "editor/plugins/node_3d_editor_gizmos.h"
|
||||||
#include "editor/scene_tree_dock.h"
|
#include "editor/scene_tree_dock.h"
|
||||||
|
@ -30,8 +30,8 @@
|
|||||||
|
|
||||||
#include "occluder_instance_3d_editor_plugin.h"
|
#include "occluder_instance_3d_editor_plugin.h"
|
||||||
|
|
||||||
#include "editor/editor_file_dialog.h"
|
|
||||||
#include "editor/editor_node.h"
|
#include "editor/editor_node.h"
|
||||||
|
#include "editor/gui/editor_file_dialog.h"
|
||||||
|
|
||||||
void OccluderInstance3DEditorPlugin::_bake_select_file(const String &p_file) {
|
void OccluderInstance3DEditorPlugin::_bake_select_file(const String &p_file) {
|
||||||
if (occluder_instance) {
|
if (occluder_instance) {
|
||||||
|
@ -39,7 +39,10 @@
|
|||||||
#include "editor/plugins/canvas_item_editor_plugin.h"
|
#include "editor/plugins/canvas_item_editor_plugin.h"
|
||||||
#include "scene/2d/skeleton_2d.h"
|
#include "scene/2d/skeleton_2d.h"
|
||||||
#include "scene/gui/check_box.h"
|
#include "scene/gui/check_box.h"
|
||||||
|
#include "scene/gui/dialogs.h"
|
||||||
|
#include "scene/gui/label.h"
|
||||||
#include "scene/gui/menu_button.h"
|
#include "scene/gui/menu_button.h"
|
||||||
|
#include "scene/gui/panel.h"
|
||||||
#include "scene/gui/scroll_container.h"
|
#include "scene/gui/scroll_container.h"
|
||||||
#include "scene/gui/separator.h"
|
#include "scene/gui/separator.h"
|
||||||
#include "scene/gui/slider.h"
|
#include "scene/gui/slider.h"
|
||||||
|
@ -37,6 +37,7 @@ class AcceptDialog;
|
|||||||
class ButtonGroup;
|
class ButtonGroup;
|
||||||
class HScrollBar;
|
class HScrollBar;
|
||||||
class HSlider;
|
class HSlider;
|
||||||
|
class Label;
|
||||||
class MenuButton;
|
class MenuButton;
|
||||||
class Panel;
|
class Panel;
|
||||||
class ScrollContainer;
|
class ScrollContainer;
|
||||||
|
@ -30,7 +30,6 @@
|
|||||||
|
|
||||||
#include "polygon_3d_editor_plugin.h"
|
#include "polygon_3d_editor_plugin.h"
|
||||||
|
|
||||||
#include "canvas_item_editor_plugin.h"
|
|
||||||
#include "core/core_string_names.h"
|
#include "core/core_string_names.h"
|
||||||
#include "core/input/input.h"
|
#include "core/input/input.h"
|
||||||
#include "core/io/file_access.h"
|
#include "core/io/file_access.h"
|
||||||
@ -39,7 +38,8 @@
|
|||||||
#include "editor/editor_node.h"
|
#include "editor/editor_node.h"
|
||||||
#include "editor/editor_settings.h"
|
#include "editor/editor_settings.h"
|
||||||
#include "editor/editor_undo_redo_manager.h"
|
#include "editor/editor_undo_redo_manager.h"
|
||||||
#include "node_3d_editor_plugin.h"
|
#include "editor/plugins/canvas_item_editor_plugin.h"
|
||||||
|
#include "editor/plugins/node_3d_editor_plugin.h"
|
||||||
#include "scene/3d/camera_3d.h"
|
#include "scene/3d/camera_3d.h"
|
||||||
#include "scene/gui/separator.h"
|
#include "scene/gui/separator.h"
|
||||||
|
|
||||||
|
@ -32,11 +32,11 @@
|
|||||||
|
|
||||||
#include "core/config/project_settings.h"
|
#include "core/config/project_settings.h"
|
||||||
#include "core/io/resource_loader.h"
|
#include "core/io/resource_loader.h"
|
||||||
#include "editor/editor_file_dialog.h"
|
|
||||||
#include "editor/editor_node.h"
|
#include "editor/editor_node.h"
|
||||||
#include "editor/editor_scale.h"
|
#include "editor/editor_scale.h"
|
||||||
#include "editor/editor_settings.h"
|
#include "editor/editor_settings.h"
|
||||||
#include "editor/editor_undo_redo_manager.h"
|
#include "editor/editor_undo_redo_manager.h"
|
||||||
|
#include "editor/gui/editor_file_dialog.h"
|
||||||
|
|
||||||
void ResourcePreloaderEditor::_notification(int p_what) {
|
void ResourcePreloaderEditor::_notification(int p_what) {
|
||||||
switch (p_what) {
|
switch (p_what) {
|
||||||
|
@ -32,6 +32,8 @@
|
|||||||
#include "editor/editor_node.h"
|
#include "editor/editor_node.h"
|
||||||
#include "scene/animation/animation_player.h"
|
#include "scene/animation/animation_player.h"
|
||||||
#include "scene/animation/animation_tree.h"
|
#include "scene/animation/animation_tree.h"
|
||||||
|
#include "scene/gui/button.h"
|
||||||
|
#include "scene/gui/dialogs.h"
|
||||||
#include "scene/gui/tree.h"
|
#include "scene/gui/tree.h"
|
||||||
#include "scene/main/window.h"
|
#include "scene/main/window.h"
|
||||||
|
|
||||||
|
@ -33,10 +33,13 @@
|
|||||||
|
|
||||||
#include "editor/editor_inspector.h"
|
#include "editor/editor_inspector.h"
|
||||||
|
|
||||||
|
class Button;
|
||||||
|
class ConfirmationDialog;
|
||||||
class Tree;
|
class Tree;
|
||||||
|
|
||||||
class EditorPropertyRootMotion : public EditorProperty {
|
class EditorPropertyRootMotion : public EditorProperty {
|
||||||
GDCLASS(EditorPropertyRootMotion, EditorProperty);
|
GDCLASS(EditorPropertyRootMotion, EditorProperty);
|
||||||
|
|
||||||
Button *assign = nullptr;
|
Button *assign = nullptr;
|
||||||
Button *clear = nullptr;
|
Button *clear = nullptr;
|
||||||
NodePath base_hint;
|
NodePath base_hint;
|
||||||
|
@ -40,7 +40,6 @@
|
|||||||
#include "core/version.h"
|
#include "core/version.h"
|
||||||
#include "editor/debugger/editor_debugger_node.h"
|
#include "editor/debugger/editor_debugger_node.h"
|
||||||
#include "editor/debugger/script_editor_debugger.h"
|
#include "editor/debugger/script_editor_debugger.h"
|
||||||
#include "editor/editor_file_dialog.h"
|
|
||||||
#include "editor/editor_help_search.h"
|
#include "editor/editor_help_search.h"
|
||||||
#include "editor/editor_node.h"
|
#include "editor/editor_node.h"
|
||||||
#include "editor/editor_paths.h"
|
#include "editor/editor_paths.h"
|
||||||
@ -49,6 +48,7 @@
|
|||||||
#include "editor/editor_settings.h"
|
#include "editor/editor_settings.h"
|
||||||
#include "editor/filesystem_dock.h"
|
#include "editor/filesystem_dock.h"
|
||||||
#include "editor/find_in_files.h"
|
#include "editor/find_in_files.h"
|
||||||
|
#include "editor/gui/editor_file_dialog.h"
|
||||||
#include "editor/inspector_dock.h"
|
#include "editor/inspector_dock.h"
|
||||||
#include "editor/node_dock.h"
|
#include "editor/node_dock.h"
|
||||||
#include "editor/plugins/shader_editor_plugin.h"
|
#include "editor/plugins/shader_editor_plugin.h"
|
||||||
|
@ -30,11 +30,11 @@
|
|||||||
|
|
||||||
#include "skeleton_2d_editor_plugin.h"
|
#include "skeleton_2d_editor_plugin.h"
|
||||||
|
|
||||||
#include "canvas_item_editor_plugin.h"
|
|
||||||
#include "editor/editor_node.h"
|
#include "editor/editor_node.h"
|
||||||
#include "editor/editor_undo_redo_manager.h"
|
#include "editor/editor_undo_redo_manager.h"
|
||||||
|
#include "editor/plugins/canvas_item_editor_plugin.h"
|
||||||
#include "scene/2d/mesh_instance_2d.h"
|
#include "scene/2d/mesh_instance_2d.h"
|
||||||
#include "scene/gui/box_container.h"
|
#include "scene/gui/dialogs.h"
|
||||||
#include "scene/gui/menu_button.h"
|
#include "scene/gui/menu_button.h"
|
||||||
#include "thirdparty/misc/clipper.hpp"
|
#include "thirdparty/misc/clipper.hpp"
|
||||||
|
|
||||||
|
@ -33,7 +33,6 @@
|
|||||||
|
|
||||||
#include "editor/editor_plugin.h"
|
#include "editor/editor_plugin.h"
|
||||||
#include "scene/2d/skeleton_2d.h"
|
#include "scene/2d/skeleton_2d.h"
|
||||||
#include "scene/gui/spin_box.h"
|
|
||||||
|
|
||||||
class AcceptDialog;
|
class AcceptDialog;
|
||||||
class MenuButton;
|
class MenuButton;
|
||||||
|
@ -43,6 +43,7 @@
|
|||||||
#include "scene/3d/mesh_instance_3d.h"
|
#include "scene/3d/mesh_instance_3d.h"
|
||||||
#include "scene/3d/physics_body_3d.h"
|
#include "scene/3d/physics_body_3d.h"
|
||||||
#include "scene/gui/separator.h"
|
#include "scene/gui/separator.h"
|
||||||
|
#include "scene/gui/texture_rect.h"
|
||||||
#include "scene/resources/capsule_shape_3d.h"
|
#include "scene/resources/capsule_shape_3d.h"
|
||||||
#include "scene/resources/skeleton_profile.h"
|
#include "scene/resources/skeleton_profile.h"
|
||||||
#include "scene/resources/sphere_shape_3d.h"
|
#include "scene/resources/sphere_shape_3d.h"
|
||||||
|
@ -31,10 +31,10 @@
|
|||||||
#ifndef SKELETON_3D_EDITOR_PLUGIN_H
|
#ifndef SKELETON_3D_EDITOR_PLUGIN_H
|
||||||
#define SKELETON_3D_EDITOR_PLUGIN_H
|
#define SKELETON_3D_EDITOR_PLUGIN_H
|
||||||
|
|
||||||
#include "editor/editor_file_dialog.h"
|
|
||||||
#include "editor/editor_plugin.h"
|
#include "editor/editor_plugin.h"
|
||||||
#include "editor/editor_properties.h"
|
#include "editor/editor_properties.h"
|
||||||
#include "node_3d_editor_plugin.h"
|
#include "editor/gui/editor_file_dialog.h"
|
||||||
|
#include "editor/plugins/node_3d_editor_plugin.h"
|
||||||
#include "scene/3d/camera_3d.h"
|
#include "scene/3d/camera_3d.h"
|
||||||
#include "scene/3d/mesh_instance_3d.h"
|
#include "scene/3d/mesh_instance_3d.h"
|
||||||
#include "scene/3d/skeleton_3d.h"
|
#include "scene/3d/skeleton_3d.h"
|
||||||
|
@ -32,6 +32,7 @@
|
|||||||
|
|
||||||
#include "editor/editor_node.h"
|
#include "editor/editor_node.h"
|
||||||
#include "scene/3d/skeleton_ik_3d.h"
|
#include "scene/3d/skeleton_ik_3d.h"
|
||||||
|
#include "scene/gui/button.h"
|
||||||
|
|
||||||
void SkeletonIK3DEditorPlugin::_play() {
|
void SkeletonIK3DEditorPlugin::_play() {
|
||||||
if (!skeleton_ik) {
|
if (!skeleton_ik) {
|
||||||
|
@ -33,6 +33,7 @@
|
|||||||
|
|
||||||
#include "editor/editor_plugin.h"
|
#include "editor/editor_plugin.h"
|
||||||
|
|
||||||
|
class Button;
|
||||||
class SkeletonIK3D;
|
class SkeletonIK3D;
|
||||||
|
|
||||||
class SkeletonIK3DEditorPlugin : public EditorPlugin {
|
class SkeletonIK3DEditorPlugin : public EditorPlugin {
|
||||||
|
@ -33,12 +33,12 @@
|
|||||||
#include "core/config/project_settings.h"
|
#include "core/config/project_settings.h"
|
||||||
#include "core/io/resource_loader.h"
|
#include "core/io/resource_loader.h"
|
||||||
#include "core/os/keyboard.h"
|
#include "core/os/keyboard.h"
|
||||||
#include "editor/editor_file_dialog.h"
|
|
||||||
#include "editor/editor_file_system.h"
|
#include "editor/editor_file_system.h"
|
||||||
#include "editor/editor_node.h"
|
#include "editor/editor_node.h"
|
||||||
#include "editor/editor_scale.h"
|
#include "editor/editor_scale.h"
|
||||||
#include "editor/editor_settings.h"
|
#include "editor/editor_settings.h"
|
||||||
#include "editor/editor_undo_redo_manager.h"
|
#include "editor/editor_undo_redo_manager.h"
|
||||||
|
#include "editor/gui/editor_file_dialog.h"
|
||||||
#include "editor/scene_tree_dock.h"
|
#include "editor/scene_tree_dock.h"
|
||||||
#include "scene/gui/center_container.h"
|
#include "scene/gui/center_container.h"
|
||||||
#include "scene/gui/margin_container.h"
|
#include "scene/gui/margin_container.h"
|
||||||
|
@ -31,15 +31,22 @@
|
|||||||
#include "theme_editor_plugin.h"
|
#include "theme_editor_plugin.h"
|
||||||
|
|
||||||
#include "core/os/keyboard.h"
|
#include "core/os/keyboard.h"
|
||||||
#include "editor/editor_file_dialog.h"
|
|
||||||
#include "editor/editor_node.h"
|
#include "editor/editor_node.h"
|
||||||
#include "editor/editor_resource_picker.h"
|
#include "editor/editor_resource_picker.h"
|
||||||
#include "editor/editor_scale.h"
|
#include "editor/editor_scale.h"
|
||||||
#include "editor/editor_undo_redo_manager.h"
|
#include "editor/editor_undo_redo_manager.h"
|
||||||
|
#include "editor/gui/editor_file_dialog.h"
|
||||||
#include "editor/progress_dialog.h"
|
#include "editor/progress_dialog.h"
|
||||||
|
#include "scene/gui/check_button.h"
|
||||||
#include "scene/gui/color_picker.h"
|
#include "scene/gui/color_picker.h"
|
||||||
|
#include "scene/gui/item_list.h"
|
||||||
|
#include "scene/gui/option_button.h"
|
||||||
#include "scene/gui/panel_container.h"
|
#include "scene/gui/panel_container.h"
|
||||||
|
#include "scene/gui/scroll_container.h"
|
||||||
#include "scene/gui/split_container.h"
|
#include "scene/gui/split_container.h"
|
||||||
|
#include "scene/gui/tab_bar.h"
|
||||||
|
#include "scene/gui/tab_container.h"
|
||||||
|
#include "scene/gui/texture_rect.h"
|
||||||
#include "scene/theme/theme_db.h"
|
#include "scene/theme/theme_db.h"
|
||||||
|
|
||||||
void ThemeItemImportTree::_update_items_tree() {
|
void ThemeItemImportTree::_update_items_tree() {
|
||||||
|
@ -33,20 +33,21 @@
|
|||||||
|
|
||||||
#include "editor/editor_plugin.h"
|
#include "editor/editor_plugin.h"
|
||||||
#include "editor/plugins/theme_editor_preview.h"
|
#include "editor/plugins/theme_editor_preview.h"
|
||||||
#include "scene/gui/check_button.h"
|
|
||||||
#include "scene/gui/dialogs.h"
|
#include "scene/gui/dialogs.h"
|
||||||
#include "scene/gui/item_list.h"
|
|
||||||
#include "scene/gui/margin_container.h"
|
#include "scene/gui/margin_container.h"
|
||||||
#include "scene/gui/option_button.h"
|
|
||||||
#include "scene/gui/scroll_container.h"
|
|
||||||
#include "scene/gui/tab_bar.h"
|
|
||||||
#include "scene/gui/texture_rect.h"
|
|
||||||
#include "scene/gui/tree.h"
|
#include "scene/gui/tree.h"
|
||||||
#include "scene/resources/theme.h"
|
#include "scene/resources/theme.h"
|
||||||
|
|
||||||
|
class Button;
|
||||||
|
class CheckButton;
|
||||||
class EditorFileDialog;
|
class EditorFileDialog;
|
||||||
|
class ItemList;
|
||||||
|
class Label;
|
||||||
|
class OptionButton;
|
||||||
class PanelContainer;
|
class PanelContainer;
|
||||||
|
class TabBar;
|
||||||
class TabContainer;
|
class TabContainer;
|
||||||
|
class TextureRect;
|
||||||
|
|
||||||
class ThemeItemImportTree : public VBoxContainer {
|
class ThemeItemImportTree : public VBoxContainer {
|
||||||
GDCLASS(ThemeItemImportTree, VBoxContainer);
|
GDCLASS(ThemeItemImportTree, VBoxContainer);
|
||||||
|
@ -39,7 +39,11 @@
|
|||||||
#include "scene/gui/check_box.h"
|
#include "scene/gui/check_box.h"
|
||||||
#include "scene/gui/check_button.h"
|
#include "scene/gui/check_button.h"
|
||||||
#include "scene/gui/color_picker.h"
|
#include "scene/gui/color_picker.h"
|
||||||
|
#include "scene/gui/color_rect.h"
|
||||||
|
#include "scene/gui/margin_container.h"
|
||||||
#include "scene/gui/progress_bar.h"
|
#include "scene/gui/progress_bar.h"
|
||||||
|
#include "scene/gui/scroll_container.h"
|
||||||
|
#include "scene/gui/tab_container.h"
|
||||||
#include "scene/gui/text_edit.h"
|
#include "scene/gui/text_edit.h"
|
||||||
#include "scene/gui/tree.h"
|
#include "scene/gui/tree.h"
|
||||||
#include "scene/resources/packed_scene.h"
|
#include "scene/resources/packed_scene.h"
|
||||||
|
@ -32,13 +32,13 @@
|
|||||||
#define THEME_EDITOR_PREVIEW_H
|
#define THEME_EDITOR_PREVIEW_H
|
||||||
|
|
||||||
#include "scene/gui/box_container.h"
|
#include "scene/gui/box_container.h"
|
||||||
#include "scene/gui/button.h"
|
|
||||||
#include "scene/gui/color_rect.h"
|
|
||||||
#include "scene/gui/margin_container.h"
|
|
||||||
#include "scene/gui/scroll_container.h"
|
|
||||||
#include "scene/resources/theme.h"
|
#include "scene/resources/theme.h"
|
||||||
|
|
||||||
|
class Button;
|
||||||
class ColorPickerButton;
|
class ColorPickerButton;
|
||||||
|
class ColorRect;
|
||||||
|
class MarginContainer;
|
||||||
|
class ScrollContainer;
|
||||||
|
|
||||||
class ThemeEditorPreview : public VBoxContainer {
|
class ThemeEditorPreview : public VBoxContainer {
|
||||||
GDCLASS(ThemeEditorPreview, VBoxContainer);
|
GDCLASS(ThemeEditorPreview, VBoxContainer);
|
||||||
|
@ -30,10 +30,9 @@
|
|||||||
|
|
||||||
#include "atlas_merging_dialog.h"
|
#include "atlas_merging_dialog.h"
|
||||||
|
|
||||||
#include "editor/editor_file_dialog.h"
|
|
||||||
#include "editor/editor_scale.h"
|
#include "editor/editor_scale.h"
|
||||||
#include "editor/editor_undo_redo_manager.h"
|
#include "editor/editor_undo_redo_manager.h"
|
||||||
|
#include "editor/gui/editor_file_dialog.h"
|
||||||
#include "scene/gui/control.h"
|
#include "scene/gui/control.h"
|
||||||
#include "scene/gui/split_container.h"
|
#include "scene/gui/split_container.h"
|
||||||
|
|
||||||
|
@ -31,7 +31,7 @@
|
|||||||
#ifndef TILE_ATLAS_VIEW_H
|
#ifndef TILE_ATLAS_VIEW_H
|
||||||
#define TILE_ATLAS_VIEW_H
|
#define TILE_ATLAS_VIEW_H
|
||||||
|
|
||||||
#include "editor/editor_zoom_widget.h"
|
#include "editor/gui/editor_zoom_widget.h"
|
||||||
#include "scene/gui/box_container.h"
|
#include "scene/gui/box_container.h"
|
||||||
#include "scene/gui/button.h"
|
#include "scene/gui/button.h"
|
||||||
#include "scene/gui/center_container.h"
|
#include "scene/gui/center_container.h"
|
||||||
|
@ -38,7 +38,9 @@
|
|||||||
#include "editor/editor_settings.h"
|
#include "editor/editor_settings.h"
|
||||||
#include "editor/editor_undo_redo_manager.h"
|
#include "editor/editor_undo_redo_manager.h"
|
||||||
|
|
||||||
|
#include "scene/gui/button.h"
|
||||||
#include "scene/gui/item_list.h"
|
#include "scene/gui/item_list.h"
|
||||||
|
#include "scene/gui/label.h"
|
||||||
#include "scene/gui/split_container.h"
|
#include "scene/gui/split_container.h"
|
||||||
|
|
||||||
#include "core/core_string_names.h"
|
#include "core/core_string_names.h"
|
||||||
|
@ -33,10 +33,12 @@
|
|||||||
|
|
||||||
#include "editor/editor_inspector.h"
|
#include "editor/editor_inspector.h"
|
||||||
#include "scene/gui/box_container.h"
|
#include "scene/gui/box_container.h"
|
||||||
#include "scene/gui/button.h"
|
|
||||||
#include "scene/gui/item_list.h"
|
|
||||||
#include "scene/resources/tile_set.h"
|
#include "scene/resources/tile_set.h"
|
||||||
|
|
||||||
|
class Button;
|
||||||
|
class ItemList;
|
||||||
|
class Label;
|
||||||
|
|
||||||
class TileSetScenesCollectionSourceEditor : public HBoxContainer {
|
class TileSetScenesCollectionSourceEditor : public HBoxContainer {
|
||||||
GDCLASS(TileSetScenesCollectionSourceEditor, HBoxContainer);
|
GDCLASS(TileSetScenesCollectionSourceEditor, HBoxContainer);
|
||||||
|
|
||||||
|
@ -30,8 +30,8 @@
|
|||||||
|
|
||||||
#include "voxel_gi_editor_plugin.h"
|
#include "voxel_gi_editor_plugin.h"
|
||||||
|
|
||||||
#include "editor/editor_file_dialog.h"
|
|
||||||
#include "editor/editor_node.h"
|
#include "editor/editor_node.h"
|
||||||
|
#include "editor/gui/editor_file_dialog.h"
|
||||||
|
|
||||||
void VoxelGIEditorPlugin::_bake() {
|
void VoxelGIEditorPlugin::_bake() {
|
||||||
if (voxel_gi) {
|
if (voxel_gi) {
|
||||||
|
@ -41,12 +41,12 @@
|
|||||||
#include "core/os/os.h"
|
#include "core/os/os.h"
|
||||||
#include "core/string/translation.h"
|
#include "core/string/translation.h"
|
||||||
#include "core/version.h"
|
#include "core/version.h"
|
||||||
#include "editor/editor_file_dialog.h"
|
|
||||||
#include "editor/editor_paths.h"
|
#include "editor/editor_paths.h"
|
||||||
#include "editor/editor_scale.h"
|
#include "editor/editor_scale.h"
|
||||||
#include "editor/editor_settings.h"
|
#include "editor/editor_settings.h"
|
||||||
#include "editor/editor_themes.h"
|
#include "editor/editor_themes.h"
|
||||||
#include "editor/editor_vcs_interface.h"
|
#include "editor/editor_vcs_interface.h"
|
||||||
|
#include "editor/gui/editor_file_dialog.h"
|
||||||
#include "editor/plugins/asset_library_editor_plugin.h"
|
#include "editor/plugins/asset_library_editor_plugin.h"
|
||||||
#include "main/main.h"
|
#include "main/main.h"
|
||||||
#include "scene/gui/center_container.h"
|
#include "scene/gui/center_container.h"
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user