Depsgraph: Remove old depsgraph header from python

This commit is contained in:
Sergey Sharybin
2017-04-06 16:36:15 +02:00
parent 05ffca5c8a
commit 2d80f37bce
2 changed files with 4 additions and 2 deletions

View File

@@ -23,6 +23,7 @@ set(INC
../../bmesh ../../bmesh
../../blenkernel ../../blenkernel
../../blenlib ../../blenlib
../../depsgraph
../../makesdna ../../makesdna
../../../../intern/guardedalloc ../../../../intern/guardedalloc
) )

View File

@@ -34,10 +34,11 @@
#include "DNA_object_types.h" #include "DNA_object_types.h"
#include "DNA_material_types.h" #include "DNA_material_types.h"
#include "BKE_depsgraph.h"
#include "BKE_customdata.h" #include "BKE_customdata.h"
#include "BKE_DerivedMesh.h" #include "BKE_DerivedMesh.h"
#include "DEG_depsgraph.h"
#include "bmesh.h" #include "bmesh.h"
#include <Python.h> #include <Python.h>
@@ -920,7 +921,7 @@ static PyObject *bpy_bmesh_to_mesh(BPy_BMesh *self, PyObject *args)
/* we could have the user do this but if they forget blender can easy crash /* we could have the user do this but if they forget blender can easy crash
* since the references arrays for the objects derived meshes are now invalid */ * since the references arrays for the objects derived meshes are now invalid */
DAG_id_tag_update(&me->id, OB_RECALC_DATA); DEG_id_tag_update(&me->id, OB_RECALC_DATA);
Py_RETURN_NONE; Py_RETURN_NONE;
} }