===Python API===

Patch to Mesh and NMesh APIs to bring FaceModes dict into sync (thanks jms).
This commit is contained in:
Ken Hughes
2006-08-16 19:20:37 +00:00
parent 073f0d8ea6
commit a680d87902
2 changed files with 14 additions and 12 deletions

View File

@@ -7434,6 +7434,7 @@ static PyObject *M_Mesh_FaceModesDict( void )
PyConstant_Insert( d, "LIGHT", PyInt_FromLong( TF_LIGHT ) );
PyConstant_Insert( d, "OBCOL", PyInt_FromLong( TF_OBCOL ) );
PyConstant_Insert( d, "SHADOW", PyInt_FromLong( TF_SHADOW ) );
PyConstant_Insert( d, "TEXT", PyInt_FromLong( TF_BMFONT ) );
PyConstant_Insert( d, "SHAREDVERT", PyInt_FromLong( TF_SHAREDVERT ) );
PyConstant_Insert( d, "SHAREDCOL", PyInt_FromLong( TF_SHAREDCOL ) );
PyConstant_Insert( d, "TEX", PyInt_FromLong( TF_TEX ) );