Skip to content

Commit 6c07cc0

Browse files
committed
Temporarily disable the level editor, it will be re-enabled with the upcoming Level Editor release.
1 parent 5c1af14 commit 6c07cc0

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

TheForceEngine/TFE_Editor/editor.cpp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@
2929

3030
namespace TFE_Editor
3131
{
32+
// Set to 1 to enable
33+
#define ENABLE_LEVEL_EDITOR 0
34+
3235
enum EditorMode
3336
{
3437
EDIT_ASSET_BROWSER = 0,
@@ -890,9 +893,13 @@ namespace TFE_Editor
890893
// TODO: Other asset editors.
891894
if (asset->type == TYPE_LEVEL)
892895
{
896+
#if ENABLE_LEVEL_EDITOR
893897
s_editorMode = EDIT_ASSET;
894898
s_editorAssetType = asset->type;
895899
LevelEditor::init(asset);
900+
#else
901+
showMessageBox("Warning", "The level editor is disabled and\nwill be enabled in the upcoming\nlevel editor release.");
902+
#endif
896903
}
897904
else
898905
{

0 commit comments

Comments
 (0)