don't crash when adding a UVsphere (Hos, heli)
authorStefan Gartner <stefang@aon.at>
Sat, 7 Dec 2002 20:57:50 +0000 (20:57 +0000)
committerStefan Gartner <stefang@aon.at>
Sat, 7 Dec 2002 20:57:50 +0000 (20:57 +0000)
sgefant

source/blender/blenlib/BLI_editVert.h

index 94b6589c8e2813c96fcaeb1ba327e5dd4e40c25d..60c72282582ab895ab7b20e006d69d982ee4128d 100644 (file)
@@ -48,7 +48,7 @@ typedef struct EditVert
        float no[3];
        float co[3];
        short xs, ys;
-       char f, h, f1, hash;
+       unsigned char f, h, f1, hash;
        int     totweight;                              /* __NLA */
        struct MDeformWeight *dw;       /* __NLA */
 } EditVert;
@@ -70,8 +70,8 @@ typedef struct EditVlak
        float uv[4][2];
        unsigned int col[4];
        struct TFace *tface;    /* a pointer to original tface. */
-       char mat_nr, flag;
-       char f, f1;
+       unsigned char mat_nr, flag;
+       unsigned char f, f1;
 } EditVlak;
 
 #endif