[brlcad-commits] CVS: brlcad/src/mged cmd.c,14.53,14.54
Open Source Solid Modeling CAD
Brought to you by:
brlcad
From: Sean M. <br...@us...> - 2007-10-17 01:36:23
|
Update of /cvsroot/brlcad/brlcad/src/mged In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv32570/mged Modified Files: cmd.c Log Message: change wdb_tree_cmd() to dgo_tree_cmd() so that we can have access to the display geometry (particularly, to get access to the 'who' command). modify the behavior of the mged 'tree' command so that if you don't provide it any options, it will display the tree for all objects displayed. this is in response and inspired by a tcl snippet from david loman that needed this functionality to aid in analyzing gqa output. Index: cmd.c =================================================================== RCS file: /cvsroot/brlcad/brlcad/src/mged/cmd.c,v retrieving revision 14.53 retrieving revision 14.54 diff -w -u -r14.53 -r14.54 --- cmd.c 12 Oct 2007 01:21:50 -0000 14.53 +++ cmd.c 17 Oct 2007 01:36:23 -0000 14.54 @@ -2764,7 +2764,7 @@ * routine with the name _mged_tree. So, we put back the original name. */ argv[0] = "tree"; - ret = wdb_tree_cmd(wdbp, interp, argc, argv); + ret = dgo_tree_cmd(dgop, interp, argc, argv); #if 0 (void)signal(SIGINT, SIG_IGN); |