Revision: 56396
http://sourceforge.net/p/brlcad/code/56396
Author: starseeker
Date: 2013-07-31 20:55:09 +0000 (Wed, 31 Jul 2013)
Log Message:
-----------
tweaks
Modified Paths:
--------------
brlcad/trunk/src/libged/comb.c
Modified: brlcad/trunk/src/libged/comb.c
===================================================================
--- brlcad/trunk/src/libged/comb.c 2013-07-31 20:46:39 UTC (rev 56395)
+++ brlcad/trunk/src/libged/comb.c 2013-07-31 20:55:09 UTC (rev 56396)
@@ -258,7 +258,7 @@
char *solids_in_tree_plan = "! -type comb";
char *combs_in_tree_plan = "-type comb";
void *dbplan;
- char *plan_argv[8];
+ char *plan_argv[9];
struct bu_ptbl *non_union_objects = BU_PTBL_NULL;
struct bu_ptbl *solids = BU_PTBL_NULL;
struct bu_ptbl *combs = BU_PTBL_NULL;
@@ -279,8 +279,11 @@
return GED_ERROR;
}
+
+ /* bu_argv_from_string needs a writable string, so re-use one vls for the
plans */
bu_vls_init(&plan_string);
+
/* if there are non-union booleans in this comb's tree, error out */
bu_vls_sprintf(&plan_string, "%s", only_unions_in_tree_plan);
bu_argv_from_string(&plan_argv[0], 8, bu_vls_addr(&plan_string));
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent
caught up. So what steps can you take to put your SQL databases under
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits