On Mon, Apr 16, 2012 at 06:24, Tom Browder <[email protected]> wrote:
...
> add the test I mentioned in question 2 above and the bomb problems
> went away (except for g-iges which now has another problem but with
> another bad tree magic number [maybe other "special" flags floating
> around?]).
I grepped for 'tp->magic' and found only these:
tp->magic = (uint32_t)-3; /* special bad flag */
./src/librt/db_tree.c
for (ftp = rt_functab; ftp->magic != 0; ftp++) {
./src/librt/primitives/table.c
(histp && (histp->magic == 0 || histp->magic == (unsigned
int)-1))))
histp->magic = (unsigned int)-1; /* sanity */
histp->magic = BU_HIST_MAGIC;
./src/libbu/hist.c
Best,
-Tom
------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
BRL-CAD Developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-devel