graspit-simulator / graspit

The GraspIt! simulator
http://graspit-simulator.github.io/
Other
180 stars 81 forks source link

modified searchState to use initialization list rather than init() #59

Closed jvarley closed 8 years ago

jvarley commented 8 years ago

modified searchState to use initialization list rather than init() as it was easy to miss a call to init() and then the SearchState would enter an invalid state. For example, this happened in the GraspPlanningState copy constructor. init was never called, and the searchState had non-NULL invalid pointers