Vaclav, can we backport this fix in 0.50?
2010/6/8 <[email protected]> > ------------------------------------------------------------ > revno: 2283 > fixes bug(s): https://launchpad.net/bugs/591112 > committer: Anton Gladky <[email protected]> > branch nick: trunk > timestamp: Tue 2010-06-08 08:53:32 +0200 > message: > 1. Fixes crash in VTKRecorder, when some bodies are erased > modified: > pkg/dem/Engine/GlobalEngine/VTKRecorder.cpp > > > -- > lp:yade > https://code.launchpad.net/~yade-dev/yade/trunk<https://code.launchpad.net/%7Eyade-dev/yade/trunk> > > Your team Yade developers is subscribed to branch lp:yade. > To unsubscribe from this branch go to > https://code.launchpad.net/~yade-dev/yade/trunk/+edit-subscription<https://code.launchpad.net/%7Eyade-dev/yade/trunk/+edit-subscription> > > === modified file 'pkg/dem/Engine/GlobalEngine/VTKRecorder.cpp' > --- pkg/dem/Engine/GlobalEngine/VTKRecorder.cpp 2010-05-25 08:59:56 +0000 > +++ pkg/dem/Engine/GlobalEngine/VTKRecorder.cpp 2010-06-08 06:53:32 +0000 > @@ -157,6 +157,7 @@ > if(recActive[REC_INTR]){ > // save body positions, referenced by ids by vtkLine > FOREACH(const shared_ptr<Body>& b, *scene->bodies){ > + if (!b) continue; > const Vector3r& pos=b->state->pos; > intrBodyPos->InsertNextPoint(pos[0],pos[1],pos[2]); > } > > > _______________________________________________ > Mailing list: > https://launchpad.net/~yade-dev<https://launchpad.net/%7Eyade-dev> > Post to : [email protected] > Unsubscribe : > https://launchpad.net/~yade-dev<https://launchpad.net/%7Eyade-dev> > More help : https://help.launchpad.net/ListHelp > >
_______________________________________________ Mailing list: https://launchpad.net/~yade-dev Post to : [email protected] Unsubscribe : https://launchpad.net/~yade-dev More help : https://help.launchpad.net/ListHelp

