fix [#27201] icosphere normals problem
authorCampbell Barton <ideasman42@gmail.com>
Thu, 28 Apr 2011 09:50:57 +0000 (09:50 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Thu, 28 Apr 2011 09:50:57 +0000 (09:50 +0000)
source/blender/editors/mesh/editmesh_add.c

index 8365d88d0c80816774a722cd7383b1d7685a7d5b..fa3619883f4be53d3b7d2f8c6be6e92d2c51690b 100644 (file)
@@ -90,21 +90,21 @@ static float icovert[12][3] = {
        {0.0f,0.0f,200.0f}
 };
 static short icoface[20][3] = {
-       {1,0,2},
+       {2,0,1},
        {1,0,5},
-       {2,0,3},
-       {3,0,4},
-       {4,0,5},
+       {3,0,2},
+       {4,0,3},
+       {5,0,4},
        {1,5,10},
        {2,1,6},
        {3,2,7},
        {4,3,8},
        {5,4,9},
-       {10,1,6},
-       {6,2,7},
-       {7,3,8},
-       {8,4,9},
-       {9,5,10},
+       {6,1,10},
+       {7,2,6},
+       {8,3,7},
+       {9,4,8},
+       {10,5,9},
        {6,10,11},
        {7,6,11},
        {8,7,11},