Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Poirier <theeth@yahoo.com>2010-06-30 07:19:28 +0400
committerMartin Poirier <theeth@yahoo.com>2010-06-30 07:19:28 +0400
commita35680a3e0986496495c8bb8b900478b4c65600e (patch)
treedb601b98629b3944af61e1f3f3af8be97e965373 /source/blender/blenlib/intern/BLI_args.c
parentf6dabd51c9e1603b939cf5bfeefef63b4f533dfb (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.c3
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;
}
}