Blender Git Loki
Git Commits -> Revision 7e7c2fd
Revision 7e7c2fd by Stephen Swaney (master) August 18, 2007, 00:02 (GMT) |
New command line switch -- Add a new command line switch "--" for passing arguments to scripts. Any arguments after -- are not processed and passed unchanged via the usual argv mechanism. Custom arguments can be accessed from a bpy script in python's sys.argv. Example: import sys # slice argv after '--' i = sys.argv.index('--') my_args = sys.argv[i+1:] |
Commit Details:
Full Hash: 7e7c2fd31be04f06887c349242659b55a1a5eb62
SVN Revision: 11646
Parent Commit: 7f3b967
Lines Changed: +12, -0
1 Modified Path:
/source/creator/creator.c (+12, -0) (Diff)