Fix T62104: VertexGroup.add() doesn't push depsgraph update for the mesh.
authorSebastian Parborg <darkdefende@gmail.com>
Sat, 9 Mar 2019 10:45:31 +0000 (11:45 +0100)
committerSebastian Parborg <darkdefende@gmail.com>
Sat, 9 Mar 2019 10:45:31 +0000 (11:45 +0100)
commit36cd31060b6db6a81668996757bf166cfff38a22
tree88618ec2c26e8de7932bfc561e9167163230cdf0
parentfede272d2c061dbe95993ce790525166e80e80c1
Fix T62104: VertexGroup.add() doesn't push depsgraph update for the mesh.

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
source/blender/makesrna/intern/rna_object.c