check if integrator is attached before setting cpp_obj from rigid
check if integrator is attached before setting cpp_obj from rigid

joaander/hoomd-blue,joaander/hoomd-blue,joaander/hoomd-blue,joaander/hoomd-blue,joaander/hoomd-blue,joaander/hoomd-blue