mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-03-22 15:05:03 +01:00
build 200126. memory cell-based simulation state interface , time of day slider, minor bug fixes
This commit is contained in:
@@ -14,6 +14,7 @@ http://mozilla.org/MPL/2.0/.
|
||||
#include "Globals.h"
|
||||
#include "AnimModel.h"
|
||||
#include "simulationenvironment.h"
|
||||
#include "Logs.h"
|
||||
|
||||
|
||||
void
|
||||
@@ -429,6 +430,9 @@ particle_manager::find( std::string const &Template ) {
|
||||
// should be 'safe enough' to return lookup result directly afterwards
|
||||
return &( m_sourcetemplates.find( templatename )->second );
|
||||
}
|
||||
else {
|
||||
ErrorLog( "Bad file: failed do locate particle source configuration file \"" + std::string( templatepath + templatename + ".txt" ) + "\"", logtype::file );
|
||||
}
|
||||
// if fetching data from the file fails too, give up
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user