[email protected] 8 years ago
parent
commit
5da78effc8
2 changed files with 7 additions and 0 deletions
  1. 5 0
      oxygine/src/core/STDFileSystem.cpp
  2. 2 0
      oxygine/src/core/oxygine.cpp

+ 5 - 0
oxygine/src/core/STDFileSystem.cpp

@@ -171,6 +171,9 @@ namespace oxygine
 
 
 
 
 
 
+#ifdef OXYGINE_EDITOR
+        int remove_directory(const char *path){return -1;}
+#else
         int remove_directory(const char *path)
         int remove_directory(const char *path)
         {
         {
 #ifndef WIN32
 #ifndef WIN32
@@ -262,6 +265,8 @@ namespace oxygine
 #endif
 #endif
         }
         }
 
 
+#endif
+
 
 
 
 
 
 

+ 2 - 0
oxygine/src/core/oxygine.cpp

@@ -788,7 +788,9 @@ namespace oxygine
         {
         {
             log::messageln("core::release");
             log::messageln("core::release");
 
 
+#ifndef OXYGINE_EDITOR
             InputText::stopAnyInput();
             InputText::stopAnyInput();
+#endif
 
 
             _threadMessages.clear();
             _threadMessages.clear();
             _uiMessages.clear();
             _uiMessages.clear();