fix for [#29365] Sharp Edges get lost after edit mode toggle

own failt when editing flag code.
This commit is contained in:
Campbell Barton
2011-11-23 22:21:33 +00:00
parent 1e4ec06e07
commit ea93a492e3
2 changed files with 2 additions and 2 deletions

View File

@@ -307,7 +307,7 @@ short BMFlags_To_MEFlags(void *element);
and represents the type of the element
parameter (the three defines map to
MVert, MEdge, and MPoly, respectively).*/
char MEFlags_To_BMFlags(const char hflag, const char htype);
char MEFlags_To_BMFlags(const short hflag, const char htype);
/*convert MLoop*** in a bmface to mtface and mcol in
an MFace*/

View File

@@ -665,7 +665,7 @@ short BMFlags_To_MEFlags(void *element)
type must be either BM_VERT, BM_EDGE,
or BM_FACE.
*/
char MEFlags_To_BMFlags(const char hflag, const char htype)
char MEFlags_To_BMFlags(const short hflag, const char htype)
{
char f= 0;