2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 05:07:43 +00:00

Added fast mode for mesh cooking

This commit is contained in:
Jack Andersen
2015-10-21 16:01:08 -10:00
parent 87b86b7553
commit bcee8aa897
9 changed files with 224 additions and 99 deletions

View File

@@ -189,7 +189,7 @@ int main(int argc, const char** argv)
for (auto it = args.cbegin() ; it != args.cend() ;)
{
const HECL::SystemString& arg = *it;
if (arg.empty() || arg[0] != _S('-'))
if (arg.size() < 2 || arg[0] != _S('-') || arg[1] == _S('-'))
{
++it;
continue;