[Bf-blender-cvs] [631b53b] master: RNA: Match enum string to UI name

Campbell Barton noreply at git.blender.org
Sat Jul 4 05:15:21 CEST 2015


Commit: 631b53bad4d3a107470c76b99e0d508766d026fc
Author: Campbell Barton
Date:   Sat Jul 4 13:02:59 2015 +1000
Branches: master
https://developer.blender.org/rB631b53bad4d3a107470c76b99e0d508766d026fc

RNA: Match enum string to UI name

Having different terminology for enum's is confusing for scripters.

===================================================================

M	source/blender/makesrna/intern/rna_material.c

===================================================================

diff --git a/source/blender/makesrna/intern/rna_material.c b/source/blender/makesrna/intern/rna_material.c
index 38ff701..e356c2e 100644
--- a/source/blender/makesrna/intern/rna_material.c
+++ b/source/blender/makesrna/intern/rna_material.c
@@ -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}
 	};




More information about the Bf-blender-cvs mailing list