diff options
author | Martin Poirier <theeth@yahoo.com> | 2010-06-30 07:19:28 +0400 |
---|---|---|
committer | Martin Poirier <theeth@yahoo.com> | 2010-06-30 07:19:28 +0400 |
commit | a35680a3e0986496495c8bb8b900478b4c65600e (patch) | |
tree | db601b98629b3944af61e1f3f3af8be97e965373 /source/blender/blenlib/intern/BLI_args.c | |
parent | f6dabd51c9e1603b939cf5bfeefef63b4f533dfb (diff) |
[#22699] "--" fails to stop processing cmd line arguments (incl. patch)
Thanks Matt
Diffstat (limited to 'source/blender/blenlib/intern/BLI_args.c')
-rw-r--r-- | source/blender/blenlib/intern/BLI_args.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/blenlib/intern/BLI_args.c b/source/blender/blenlib/intern/BLI_args.c index dc964639e68..8d72311f80b 100644 --- a/source/blender/blenlib/intern/BLI_args.c +++ b/source/blender/blenlib/intern/BLI_args.c @@ -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; } } |