[#22699] "--" fails to stop processing cmd line arguments (incl. patch)
Thanks Matt
This commit is contained in:
@@ -284,7 +284,8 @@ void BLI_argsParse(struct bArgs *ba, int pass, BA_ArgCallback default_cb, void *
|
||||
}
|
||||
i += retval;
|
||||
} else if (retval == -1){
|
||||
ba->passes[i] = pass;
|
||||
if (a->key->pass != -1)
|
||||
ba->passes[i] = pass;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user