record installed scenario files
This commit is contained in:
@@ -20,6 +20,8 @@
|
||||
#include "fileio/fileio.hpp"
|
||||
#include "tools/cursors.hpp"
|
||||
#include <boost/filesystem.hpp>
|
||||
#include "replay.hpp"
|
||||
#include <sstream>
|
||||
|
||||
#define DONE_BUTTON_ITEM 1
|
||||
|
||||
@@ -362,6 +364,13 @@ std::vector<scen_header_type> build_scen_headers() {
|
||||
return a < b;
|
||||
});
|
||||
}
|
||||
if(recording){
|
||||
std::ostringstream scen_names;
|
||||
for(scen_header_type header : scen_headers){
|
||||
scen_names << header.file << std::endl;
|
||||
}
|
||||
record_action("build_scen_headers", scen_names.str());
|
||||
}
|
||||
return scen_headers;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user