Revision: 54156
http://brlcad.svn.sourceforge.net/brlcad/?rev=54156&view=rev
Author: carlmoore
Date: 2013-01-11 15:47:53 +0000 (Fri, 11 Jan 2013)
Log Message:
-----------
remove trailing blanks/tabs, detected by the overnight job I ran
Modified Paths:
--------------
brlcad/trunk/src/librt/primitives/brep/brep_debug.cpp
brlcad/trunk/src/librt/test_botpatches.cpp
brlcad/trunk/src/proc-db/brickwall.c
Modified: brlcad/trunk/src/librt/primitives/brep/brep_debug.cpp
===================================================================
--- brlcad/trunk/src/librt/primitives/brep/brep_debug.cpp 2013-01-11
12:33:05 UTC (rev 54155)
+++ brlcad/trunk/src/librt/primitives/brep/brep_debug.cpp 2013-01-11
15:47:53 UTC (rev 54156)
@@ -1131,7 +1131,7 @@
dump.Print("NURBS form of 2d_curve(trim)\n");
nc2->Dump(dump);
delete nc2;
-
+
ON_String ss = wstr;
bu_vls_printf(vls, "%s\n", ss.Array());
return 0;
@@ -1221,7 +1221,7 @@
dump.Print("NURBS form of 3d_curve(edge) \n");
nc3->Dump(dump);
delete nc3;
-
+
ON_String ss = wstr;
bu_vls_printf(vls, "%s\n", ss.Array());
return 0;
@@ -1324,7 +1324,7 @@
}
bu_vls_printf(vls, ON_String(wstr).Array());
-
+
return 0;
}
Modified: brlcad/trunk/src/librt/test_botpatches.cpp
===================================================================
--- brlcad/trunk/src/librt/test_botpatches.cpp 2013-01-11 12:33:05 UTC (rev
54155)
+++ brlcad/trunk/src/librt/test_botpatches.cpp 2013-01-11 15:47:53 UTC (rev
54156)
@@ -1092,8 +1092,8 @@
ON_BrepFace& face = info->brep->m_F[(int)patch_id];
const ON_Surface *surface = face.SurfaceOf();
- ON_Interval xdom = surface->Domain(0);
- ON_Interval ydom = surface->Domain(1);
+ ON_Interval xdom = surface->Domain(0);
+ ON_Interval ydom = surface->Domain(1);
// Start with outer loop
ON_BrepLoop& loop = info->brep->NewLoop(loop_type, face);
// build surface tree
@@ -1165,7 +1165,7 @@
}
} else {
pullback_failures++;
- }
+ }
}
} else {
for (int i = 50; i > istart; i--) {
@@ -1177,7 +1177,7 @@
}
} else {
pullback_failures++;
- }
+ }
}
}
// For final curve, doesn't matter what last pullback is - we MUST
force the loop to close.
Modified: brlcad/trunk/src/proc-db/brickwall.c
===================================================================
--- brlcad/trunk/src/proc-db/brickwall.c 2013-01-11 12:33:05 UTC (rev
54155)
+++ brlcad/trunk/src/proc-db/brickwall.c 2013-01-11 15:47:53 UTC (rev
54156)
@@ -88,6 +88,7 @@
/* get all the option flags from the command line */
while ((c=bu_getopt(ac, av, options)) != -1)
+{printf("got c option= %c\n",c);
switch (c) {
case 'c':
if ((c=sscanf(bu_optarg, "%d/%d/%d",
@@ -109,7 +110,9 @@
units_conv = bu_units_conversion(bu_optarg);
break;
case 'D':
+printf("before: debug %d\n",debug);
debug = !debug;
+printf("after: debug %d\n",debug);
break;
case 't':
d=atof(bu_optarg);
@@ -152,6 +155,7 @@
usage("bad command line option\n");
break;
}
+}
brick_width *= units_conv;
brick_height *= units_conv;
@@ -330,8 +334,10 @@
if (parse_args(ac, av) < ac) usage("Excess command line arguments\n");
+printf("in main: debug %d\n", debug);
/* build the wall
+
if (debug)
fprintf(stderr,
"bw %g bh %g bd %g ww %g wh %g bn\"%s\"\n",
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits