From: Toby C. <th...@us...> - 2008-01-07 19:53:37
|
Update of /cvsroot/playerstage/code/player/utils/playerprint In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19320/utils/playerprint Modified Files: playerprint.cc Log Message: fixed seg fault in actarray print statement added request geom for playerprint actarray Index: playerprint.cc =================================================================== RCS file: /cvsroot/playerstage/code/player/utils/playerprint/playerprint.cc,v retrieving revision 1.28 retrieving revision 1.29 diff -C2 -d -r1.28 -r1.29 *** playerprint.cc 3 Dec 2007 04:30:01 -0000 1.28 --- playerprint.cc 8 Jan 2008 03:53:38 -0000 1.29 *************** *** 187,190 **** --- 187,195 ---- case PLAYER_ACTARRAY_CODE: cp = (ClientProxy*)new ActArrayProxy(&client,g_index); + try + { + reinterpret_cast<ActArrayProxy*> (cp)->RequestGeometry(); + } + catch (...) {} break; case PLAYER_AIO_CODE: *************** *** 220,224 **** case PLAYER_LIMB_CODE: cp = (ClientProxy*)new LimbProxy(&client,g_index); ! reinterpret_cast<LimbProxy*> (cp)->RequestGeometry(); break; case PLAYER_LOCALIZE_CODE: --- 225,229 ---- case PLAYER_LIMB_CODE: cp = (ClientProxy*)new LimbProxy(&client,g_index); ! reinterpret_cast<LimbProxy*> (cp)->RequestGeometry(); break; case PLAYER_LOCALIZE_CODE: |