Resetting weights from all meshes without reason

All the weights on the model I'd set up were reset. Reverting with Ctrl+Z didn't help. I can't even say exactly what happened, but all the weights on all the meshes were just gone. A terrible bug, especially considering you have to set each vertex manually. Horrible!