--- ray/src/ot/oconv.c 1989/10/14 11:19:34 1.6 +++ ray/src/ot/oconv.c 1990/04/02 15:19:46 1.8 @@ -39,7 +39,9 @@ int nfiles = 0; /* number of object files */ double mincusize; /* minimum cube size from resolu */ +int (*addobjnotify[])() = {NULL}; /* new object notifier functions */ + main(argc, argv) /* convert object files to an octree */ int argc; char **argv; @@ -250,9 +252,16 @@ OBJECT obj; if ((1<otype)) + addobject(&cukid, oset[j]); + /* then this object */ addobject(&cukid, obj); + /* volumes last */ for (j = 1; j <= oset[0]; j++) - addobject(&cukid, oset[j]); + if (isvolume(objptr(oset[j])->otype)) + addobject(&cukid, oset[j]); octkid(ot, i) = cukid.cutree; } cu->cutree = ot;