[brlcad-commits] SF.net SVN: brlcad:[60425] brlcad/trunk
Open Source Solid Modeling CAD
Brought to you by:
brlcad
From: <sta...@us...> - 2014-04-11 13:49:28
|
Revision: 60425 http://sourceforge.net/p/brlcad/code/60425 Author: starseeker Date: 2014-04-11 13:49:22 +0000 (Fri, 11 Apr 2014) Log Message: ----------- Need to make sure we restore the bu_log redirects after running bu_cmd on wdb_newcmds - otherwise, we lose bu_log output at MGED command prompt (seen when using reid, for example) Modified Paths: -------------- brlcad/trunk/NEWS brlcad/trunk/src/libged/wdb_obj.c Modified: brlcad/trunk/NEWS =================================================================== --- brlcad/trunk/NEWS 2014-04-11 04:32:58 UTC (rev 60424) +++ brlcad/trunk/NEWS 2014-04-11 13:49:22 UTC (rev 60425) @@ -14,6 +14,7 @@ --- 2014-XX-XX Release 7.26.XX --- ---------------------------------------------------------------------- +* fixed loss of MGED bu_log output after running wdb_cmd - Cliff Yapp * fixed mged -c crash running view-modifying commands - Sean Morrison * fixed bug with get_eyemodel info parsing in rtwizard - Cliff Yapp * added -s size option for rtwizard image output - Cliff Yapp Modified: brlcad/trunk/src/libged/wdb_obj.c =================================================================== --- brlcad/trunk/src/libged/wdb_obj.c 2014-04-11 04:32:58 UTC (rev 60424) +++ brlcad/trunk/src/libged/wdb_obj.c 2014-04-11 13:49:22 UTC (rev 60425) @@ -9818,6 +9818,8 @@ if (bu_cmd(wdb_newcmds, argc-1, argv+1, 0, (ClientData)&ged, &ret) == BRLCAD_OK) { Tcl_SetResult(interp, bu_vls_addr(ged.ged_result_str), TCL_VOLATILE); ged_free(&ged); + /* unsuppress bu_log output */ + bu_log_hook_restore_all(&save_hook_list); return ret; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |