Revision: 57147
http://sourceforge.net/p/brlcad/code/57147
Author: carlmoore
Date: 2013-08-26 21:17:39 +0000 (Mon, 26 Aug 2013)
Log Message:
-----------
implement P in the Usage statement; simplify the setting of 'verbose' value
Modified Paths:
--------------
brlcad/trunk/src/conv/g-obj.c
Modified: brlcad/trunk/src/conv/g-obj.c
===================================================================
--- brlcad/trunk/src/conv/g-obj.c 2013-08-26 20:57:57 UTC (rev 57146)
+++ brlcad/trunk/src/conv/g-obj.c 2013-08-26 21:17:39 UTC (rev 57147)
@@ -45,14 +45,14 @@
extern union tree *do_region_end(struct db_tree_state *tsp, const struct
db_full_path *pathp, union tree *curtree, genptr_t client_data);
static char usage[] = "\
-Usage: %s [-m][-v][-i][-u][-xX lvl][-a abs_tess_tol][-r rel_tess_tol][-n
norm_tess_tol]\n\
+Usage: %s [-m][-v][-i][-u][-xX lvl][-a abs_tess_tol][-r rel_tess_tol][-n
norm_tess_tol][-P #_of_CPUs]\n\
[-e error_file ][-D dist_calc_tol] -o output_file_name brlcad_db.g
object(s)\n";
static long vert_offset=0;
static long norm_offset=0;
static int do_normals=0;
static int NMG_debug; /* saved arg of -X, for longjmp handling */
-static int verbose;
+static int verbose=0;
static int usemtl=0; /* flag to include 'usemtl' statements with a
* code for GIFT materials:
*
@@ -137,7 +137,7 @@
ttol.rel = atof(bu_optarg);
break;
case 'v':
- verbose++;
+ verbose = 1;
break;
case 'P':
ncpu = atoi(bu_optarg);
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and
AppDynamics. Performance Central is your source for news, insights,
analysis and resources for efficient Application Performance Management.
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits