Revision: 56970
http://sourceforge.net/p/brlcad/code/56970
Author: carlmoore
Date: 2013-08-19 20:03:35 +0000 (Mon, 19 Aug 2013)
Log Message:
-----------
remove a pair of braces, and also remove duplicate output going to stderr -- do
you understand the latter change?
Modified Paths:
--------------
brlcad/trunk/src/conv/g-nff.c
Modified: brlcad/trunk/src/conv/g-nff.c
===================================================================
--- brlcad/trunk/src/conv/g-nff.c 2013-08-19 19:52:39 UTC (rev 56969)
+++ brlcad/trunk/src/conv/g-nff.c 2013-08-19 20:03:35 UTC (rev 56970)
@@ -466,22 +466,12 @@
perror(argv[0]);
bu_exit(1, "ERROR: unable to open geometry database file (%s)\n",
argv[0]);
}
- if (db_dirbuild(dbip)) {
+ if (db_dirbuild(dbip))
bu_exit(1, "db_dirbuild failed\n");
- }
BN_CK_TOL(tree_state.ts_tol);
RT_CK_TESS_TOL(tree_state.ts_ttol);
- fprintf(fpe, "Model: %s\n", argv[0]);
- fprintf(fpe, "Objects:");
- for (i = 1; i < argc; i++)
- fprintf(fpe, " %s", argv[i]);
- fprintf(fpe, "\nTessellation tolerances:\n\tabs = %g mm\n\trel =
%g\n\tnorm = %g\n",
- tree_state.ts_ttol->abs, tree_state.ts_ttol->rel,
tree_state.ts_ttol->norm);
- fprintf(fpe, "Calculational tolerances:\n\tdist = %g mm perp = %g\n",
- tree_state.ts_tol->dist, tree_state.ts_tol->perp);
-
bu_log("Model: %s\n", argv[0]);
bu_log("Objects:");
for (i = 1; i < argc; i++)
@@ -515,7 +505,6 @@
}
bu_log("%ld triangles written\n", tot_polygons);
- fprintf(fpe, "%ld triangles written\n", tot_polygons);
/* Release dynamic storage */
nmg_km(the_model);
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