mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-12-22 11:56:49 +01:00
Only build CSGGizmos when building the editor.
This commit is contained in:
parent
c87b5e57f0
commit
719de5d54e
@ -9,3 +9,6 @@ env_csg = env_modules.Clone()
|
||||
|
||||
env_csg.add_source_files(env.modules_sources, "*.cpp")
|
||||
env_csg.add_source_files(env.modules_sources, "geometry_parser/*.cpp")
|
||||
|
||||
if env["tools"]:
|
||||
env_csg.add_source_files(env.modules_sources, "editor/*.cpp")
|
@ -31,7 +31,7 @@
|
||||
#ifndef CSG_GIZMOS_H
|
||||
#define CSG_GIZMOS_H
|
||||
|
||||
#include "csg_shape.h"
|
||||
#include "../csg_shape.h"
|
||||
#include "editor/editor_plugin.h"
|
||||
#include "editor/spatial_editor_gizmos.h"
|
||||
|
@ -30,7 +30,10 @@
|
||||
|
||||
#include "register_types.h"
|
||||
|
||||
#include "csg_gizmos.h"
|
||||
#ifdef TOOLS_ENABLED
|
||||
#include "./editor/csg_gizmos.h"
|
||||
#endif
|
||||
|
||||
#include "csg_shape.h"
|
||||
|
||||
#include "modules/csg/geometry_parser/csgshape3d_navigation_geometry_parser_3d.h"
|
||||
|
Loading…
Reference in New Issue
Block a user