Remove TOOLS_ENABLED checks from editor/

This commit is contained in:
kobewi
2025-03-14 17:38:37 +01:00
parent b377562b52
commit 7cb2fb189a
34 changed files with 7 additions and 124 deletions

View File

@@ -30,8 +30,6 @@
#include "csg_gizmos.h"
#ifdef TOOLS_ENABLED
#include "editor/editor_node.h"
#include "editor/editor_settings.h"
#include "editor/editor_undo_redo_manager.h"
@@ -508,5 +506,3 @@ EditorPluginCSG::EditorPluginCSG() {
csg_shape_editor = memnew(CSGShapeEditor);
EditorNode::get_singleton()->get_gui_base()->add_child(csg_shape_editor);
}
#endif // TOOLS_ENABLED

View File

@@ -30,8 +30,6 @@
#pragma once
#ifdef TOOLS_ENABLED
#include "../csg_shape.h"
#include "editor/plugins/editor_plugin.h"
@@ -103,5 +101,3 @@ public:
EditorPluginCSG();
};
#endif // TOOLS_ENABLED