Remove TOOLS_ENABLED checks from editor/
This commit is contained in:
@ -14,5 +14,7 @@ env_noise.Prepend(CPPPATH=[thirdparty_dir])
|
||||
module_obj = []
|
||||
|
||||
env_noise.add_source_files(module_obj, "*.cpp")
|
||||
env_noise.add_source_files(module_obj, "editor/*.cpp")
|
||||
if env.editor_build:
|
||||
env_noise.add_source_files(module_obj, "editor/*.cpp")
|
||||
|
||||
env.modules_sources += module_obj
|
||||
|
||||
@ -30,8 +30,6 @@
|
||||
|
||||
#include "noise_editor_plugin.h"
|
||||
|
||||
#ifdef TOOLS_ENABLED
|
||||
|
||||
#include "../noise.h"
|
||||
#include "../noise_texture_2d.h"
|
||||
|
||||
@ -148,5 +146,3 @@ NoiseEditorPlugin::NoiseEditorPlugin() {
|
||||
plugin.instantiate();
|
||||
add_inspector_plugin(plugin);
|
||||
}
|
||||
|
||||
#endif // TOOLS_ENABLED
|
||||
|
||||
@ -30,8 +30,6 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifdef TOOLS_ENABLED
|
||||
|
||||
#include "editor/plugins/editor_plugin.h"
|
||||
|
||||
class NoiseEditorPlugin : public EditorPlugin {
|
||||
@ -42,5 +40,3 @@ public:
|
||||
|
||||
NoiseEditorPlugin();
|
||||
};
|
||||
|
||||
#endif // TOOLS_ENABLED
|
||||
|
||||
Reference in New Issue
Block a user