Revision: 56527
http://sourceforge.net/p/brlcad/code/56527
Author: brlcad
Date: 2013-08-04 19:51:10 +0000 (Sun, 04 Aug 2013)
Log Message:
-----------
remove dead deprecated code
Modified Paths:
--------------
brlcad/trunk/src/libged/dg_obj.c
Modified: brlcad/trunk/src/libged/dg_obj.c
===================================================================
--- brlcad/trunk/src/libged/dg_obj.c 2013-08-04 19:50:25 UTC (rev 56526)
+++ brlcad/trunk/src/libged/dg_obj.c 2013-08-04 19:51:10 UTC (rev 56527)
@@ -455,7 +455,6 @@
dgo_eraseobj(struct dg_obj *dgop,
struct directory **dpp)
{
-#if 1
/*XXX
* Temporarily put back the old behavior (as seen in Brlcad5.3),
* as the behavior after the #else is identical to dgo_eraseobjall.
@@ -497,41 +496,6 @@
bu_log("dgo_eraseobj: db_dirdelete failed\n");
}
}
-#else
- struct directory **tmp_dpp;
- struct solid *sp;
- struct solid *nsp;
- struct db_full_path subpath;
-
- if (dgop->dgo_wdbp->dbip == DBI_NULL)
- return;
-
- if (*dpp == RT_DIR_NULL)
- return;
-
- db_full_path_init(&subpath);
- for (tmp_dpp = dpp; *tmp_dpp != RT_DIR_NULL; ++tmp_dpp) {
- RT_CK_DIR(*tmp_dpp);
- db_add_node_to_full_path(&subpath, *tmp_dpp);
- }
-
- sp = BU_LIST_FIRST(solid, &dgop->dgo_headSolid);
- while (BU_LIST_NOT_HEAD(sp, &dgop->dgo_headSolid)) {
- nsp = BU_LIST_PNEXT(solid, sp);
- if (db_full_path_subset(&sp->s_fullpath, &subpath, 0)) {
- BU_LIST_DEQUEUE(&sp->l);
- FREE_SOLID(sp, &_FreeSolid.l);
- }
- sp = nsp;
- }
-
- if ((*dpp)->d_addr == RT_DIR_PHONY_ADDR) {
- if (db_dirdelete(dgop->dgo_wdbp->dbip, *dpp) < 0) {
- bu_log("dgo_eraseobj: db_dirdelete failed\n");
- }
- }
- db_free_full_path(&subpath);
-#endif
}
@@ -2485,12 +2449,8 @@
/* As parent, send view information down pipe */
(void)close(o_pipe[0]);
fp = fdopen(o_pipe[1], "w");
-#if 1
VSET(temp, 0.0, 0.0, 1.0);
MAT4X3PNT(eye_model, vop->vo_view2model, temp);
-#else
- dgo_rt_set_eye_model(dgop, vop, eye_model);
-#endif
dgo_rt_write(dgop, vop, fp, eye_model);
(void)fclose(fp);
@@ -2634,12 +2594,8 @@
fp = _fdopen(_open_osfhandle((intptr_t)pipe_oDup, _O_TEXT), "wb");
setmode(_fileno(fp), O_BINARY);
-#if 1
VSET(temp, 0.0, 0.0, 1.0);
MAT4X3PNT(eye_model, vop->vo_view2model, temp);
-#else
- dgo_rt_set_eye_model(dgop, vop, eye_model);
-#endif
dgo_rt_write(dgop, vop, fp, eye_model);
(void)fclose(fp);
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