diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2007-04-15 19:33:17 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2007-04-15 19:33:17 +0400 |
commit | 29932487c433395f2ef52206be6c419f9021ca7e (patch) | |
tree | 69d4a14d838d1ed244ab4f24f941e23bef0d9988 /source/blender/python/api2_2x/Mesh.c | |
parent | 85b40343659e206d6f1a19e8028431008fda1f64 (diff) |
Fix for bug #6461:
quadToTriangle() crash, was a missing depsgraph update.
Diffstat (limited to 'source/blender/python/api2_2x/Mesh.c')
-rw-r--r-- | source/blender/python/api2_2x/Mesh.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/python/api2_2x/Mesh.c b/source/blender/python/api2_2x/Mesh.c index e32124b47fa..7cd2b8cc1cb 100644 --- a/source/blender/python/api2_2x/Mesh.c +++ b/source/blender/python/api2_2x/Mesh.c @@ -6735,6 +6735,8 @@ static PyObject *Mesh_Tools( BPy_Mesh * self, int type, void **args ) mesh_octree_table(G.obedit, NULL, 'e'); G.obedit = NULL; + DAG_object_flush_update(G.scene, object, OB_RECALC_DATA); + if( attr ) return attr; |