diff options
author | Martin Poirier <theeth@yahoo.com> | 2005-07-19 09:35:35 +0400 |
---|---|---|
committer | Martin Poirier <theeth@yahoo.com> | 2005-07-19 09:35:35 +0400 |
commit | da93fdc9eea319b38fdbf89104e939f5e747368c (patch) | |
tree | 00e0df0e521015699518c4c3860bcbe619e9fc4b /source/blender/python/api2_2x/NMesh.h | |
parent | 59a298061124d5773993ae3ac350dd883844784d (diff) |
Added DAG flush to NMesh when updating geometry (was needed after zr's latest commits).
I added that in mesh_update, if anyone has a better idea, feel free to fix it.
Diffstat (limited to 'source/blender/python/api2_2x/NMesh.h')
-rw-r--r-- | source/blender/python/api2_2x/NMesh.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/python/api2_2x/NMesh.h b/source/blender/python/api2_2x/NMesh.h index 9bde2a9940a..50d3bcbf3c0 100644 --- a/source/blender/python/api2_2x/NMesh.h +++ b/source/blender/python/api2_2x/NMesh.h @@ -143,13 +143,12 @@ Mesh *Mesh_FromPyObject( PyObject * pyobj, Object * ob ); int NMesh_CheckPyObject( PyObject * pyobj ); -void mesh_update( Mesh * mesh ); +void mesh_update( Mesh * mesh , Object * ob ); PyObject *new_NMesh( Mesh * oldmesh ); Mesh *Mesh_fromNMesh( BPy_NMesh * nmesh , int store_edges ); PyObject *NMesh_assignMaterials_toObject( BPy_NMesh * nmesh, Object * ob ); Material **nmesh_updateMaterials( BPy_NMesh * nmesh ); Material **newMaterialList_fromPyList( PyObject * list ); -void mesh_update( Mesh * mesh ); #endif /* EXPP_NMESH_H */ |