mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-28 23:27:45 +00:00
fix build and obj exporting
This commit is contained in:
parent
bdbf8a840b
commit
d027ea688c
2 changed files with 4 additions and 2 deletions
|
@ -494,7 +494,7 @@ int main( int argc, char* argv[] )
|
|||
exportedZone.groups.emplace( group.name, exportedGroup );
|
||||
}
|
||||
}
|
||||
exportMgr.exportZone( exportedZone, ExportFileType::Navmesh );
|
||||
exportMgr.exportZone( exportedZone, static_cast< ExportFileType >( exportFileType ) );
|
||||
|
||||
|
||||
printf( "Exported %s in %lu seconds \n",
|
||||
|
|
|
@ -18,8 +18,10 @@ namespace fs = std::experimental::filesystem;
|
|||
class NavmeshExporter
|
||||
{
|
||||
public:
|
||||
static void exportZone( const ExportedZone& zone, bool deleteObj = false )
|
||||
static void exportZone( const ExportedZone& zone )
|
||||
{
|
||||
auto start = std::chrono::high_resolution_clock::now();
|
||||
|
||||
static std::string currPath = std::experimental::filesystem::current_path().string();
|
||||
|
||||
auto dir = fs::current_path().string() + "/pcb_export/" + zone.name + "/";
|
||||
|
|
Loading…
Add table
Reference in a new issue