[brlcad-commits] CVS: brlcad/src/mged chgview.c, 14.16, 14.17 cmd.c, 14.61, 14.62 cmd.h, 14.12, 14.
Open Source Solid Modeling CAD
Brought to you by:
brlcad
From: Sean M. <br...@us...> - 2007-12-22 20:23:24
|
Update of /cvsroot/brlcad/brlcad/src/mged In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv21361/src/mged Modified Files: chgview.c cmd.c cmd.h Log Message: hook in the new dir2ae command Index: chgview.c =================================================================== RCS file: /cvsroot/brlcad/brlcad/src/mged/chgview.c,v retrieving revision 14.16 retrieving revision 14.17 diff -w -u -r14.16 -r14.17 --- chgview.c 18 Dec 2007 19:39:10 -0000 14.16 +++ chgview.c 22 Dec 2007 20:23:27 -0000 14.17 @@ -5045,6 +5045,10 @@ return TCL_OK; } + +/** + * hook function for the ae2dir command + */ int cmd_ae2dir( ClientData clientData, Tcl_Interp *interp, @@ -5054,6 +5058,23 @@ return vo_ae2dir_cmd(view_state->vs_vop, interp, argc, argv); } + +/** + * hook function for the dir2ae command + */ +int +cmd_dir2ae( ClientData clientData, + Tcl_Interp *interp, + int argc, + char **argv) +{ + return vo_dir2ae_cmd(view_state->vs_vop, interp, argc, argv); +} + + +/** + * hook function for the viewDir command + */ int cmd_viewdir( ClientData clientData, Tcl_Interp *interp, Index: cmd.c =================================================================== RCS file: /cvsroot/brlcad/brlcad/src/mged/cmd.c,v retrieving revision 14.61 retrieving revision 14.62 diff -w -u -r14.61 -r14.62 --- cmd.c 22 Dec 2007 20:20:56 -0000 14.61 +++ cmd.c 22 Dec 2007 20:23:28 -0000 14.62 @@ -217,6 +217,7 @@ {"debugnmg", f_debugnmg}, {"decompose", f_decompose}, {"delay", f_delay}, + {"dir2ae", cmd_dir2ae}, {"dump", cmd_dump}, {"dm", f_dm}, {"draw", cmd_draw}, Index: cmd.h =================================================================== RCS file: /cvsroot/brlcad/brlcad/src/mged/cmd.h,v retrieving revision 14.12 retrieving revision 14.13 diff -w -u -r14.12 -r14.13 --- cmd.h 18 Dec 2007 19:39:10 -0000 14.12 +++ cmd.h 22 Dec 2007 20:23:28 -0000 14.13 @@ -49,6 +49,7 @@ MGED_EXTERN(int cmd_copyeval, (ClientData clientData, Tcl_Interp *interp, int argc, char **argv)); MGED_EXTERN(int cmd_dbip, (ClientData clientData, Tcl_Interp *interp, int argc, char **argv)); MGED_EXTERN(int cmd_dbversion, (ClientData clientData, Tcl_Interp *interp, int argc, char **argv)); +MGED_EXTERN(int cmd_dir2ae, (ClientData clientData, Tcl_Interp *interp, int argc, char **argv)); MGED_EXTERN(int cmd_draw, (ClientData clientData, Tcl_Interp *interp, int argc, char **argv)); MGED_EXTERN(int cmd_dump, (ClientData clientData, Tcl_Interp *interp, int argc, char **argv)); MGED_EXTERN(int cmd_dup, (ClientData clientData, Tcl_Interp *interp, int argc, char **argv)); |