CLI option -animrecordf

This commit is contained in:
Zeno Rogue 2019-05-05 17:38:28 +02:00
parent 6253c6c3e3
commit dfbbffc7ca
1 changed files with 4 additions and 0 deletions

View File

@ -969,6 +969,10 @@ int readArgs() {
PHASEFROM(2); shift_arg_formula(period);
}
#if CAP_SHOT
else if(argis("-animrecordf")) {
PHASEFROM(2); shift(); noframes = argi();
shift(); animfile = args();
}
else if(argis("-animrecord") || argis("-animrec")) {
PHASE(3); shift(); noframes = argi();
shift(); animfile = args(); record_animation();