When adding and removing weights from the python api, no depsgraph updates were triggered. This would cause the mesh geometry to be out of sync in the viewport if there were any modifiers that used the vertex groups in question. Reviewed By: Brecht Differential Revision: http://developer.blender.org/D4439