changes for standalone e3d export

This commit is contained in:
milek7
2022-03-06 18:18:07 +01:00
parent 3cb5b5fd9a
commit ce6d530aa8
10 changed files with 210 additions and 9 deletions

View File

@@ -103,12 +103,14 @@ void WriteLog( const char *str, logtype const Type ) {
}
}
// Ra: bezwarunkowa rejestracja poważnych błędów
void ErrorLog( const char *str, logtype const Type ) {
if( str == nullptr ) { return; }
if( true == TestFlag( Global.DisabledLogTypes, static_cast<unsigned int>( Type ) ) ) { return; }
if (!(Global.iWriteLogEnabled & 1))
return;
if (!errors.is_open()) {
std::string const filename =