RNA: Match enum string to UI name
authorCampbell Barton <ideasman42@gmail.com>
Sat, 4 Jul 2015 03:02:59 +0000 (13:02 +1000)
committerCampbell Barton <ideasman42@gmail.com>
Sat, 4 Jul 2015 03:02:59 +0000 (13:02 +1000)
Having different terminology for enum's is confusing for scripters.

source/blender/makesrna/intern/rna_material.c

index 38ff701510a0d7df5988f4a7da73a08207cc1ddc..e356c2e647acdc729348adb391151d21884cd17e 100644 (file)
@@ -837,7 +837,7 @@ static void rna_def_material_gamesettings(BlenderRNA *brna)
                              "Render polygon transparent, depending on alpha channel of the texture"},
                {GEMAT_ALPHA_SORT, "ALPHA_SORT", 0, "Alpha Sort",
                                   "Sort faces for correct alpha drawing (slow, use Alpha Clip instead when possible)"},
-               {GEMAT_ALPHA_TO_COVERAGE, "ALPHA_TO_COVERAGE", 0, "Alpha Antialiasing",
+               {GEMAT_ALPHA_TO_COVERAGE, "ALPHA_ANTIALIASING", 0, "Alpha Anti-Aliasing",
                                "Use textures alpha as anti-aliasing mask, requires multi-sample OpenGL display"},
                {0, NULL, 0, NULL, NULL}
        };