Renamed RNA EnvironmentalMap to EnvironmentMap
authorNicholas Bishop <nicholasbishop@gmail.com>
Sat, 3 Jan 2009 07:20:11 +0000 (07:20 +0000)
committerNicholas Bishop <nicholasbishop@gmail.com>
Sat, 3 Jan 2009 07:20:11 +0000 (07:20 +0000)
source/blender/makesrna/RNA_access.h
source/blender/makesrna/intern/rna_texture.c

index c49f73790b3d4f943a7451c622911346a5661948..7f2992212475e62e2f19a8820f585cdff4c4cbeb 100644 (file)
@@ -76,7 +76,7 @@ extern StructRNA RNA_EdgeSplitModifier;
 extern StructRNA RNA_EffectSequence;
 extern StructRNA RNA_EnumProperty;
 extern StructRNA RNA_EnumPropertyItem;
-extern StructRNA RNA_EnvironmentalMap;
+extern StructRNA RNA_EnvironmentMap;
 extern StructRNA RNA_ExplodeModifier;
 extern StructRNA RNA_ExpressionController;
 extern StructRNA RNA_FieldSettings;
index ce5b6484e125105a862d0f0748843ebb24c0df3f..77bcd23ae14ed0f7668f36f9a0411c63351f5c7f 100644 (file)
@@ -36,7 +36,7 @@
 
 #else
 
-void rna_def_environmental_map(BlenderRNA *brna)
+void rna_def_environment_map(BlenderRNA *brna)
 {
        StructRNA *srna;
        PropertyRNA *prop;
@@ -52,9 +52,9 @@ void rna_def_environmental_map(BlenderRNA *brna)
                {ENV_PLANE, "PLANE", "Plane", "Only one side is rendered, with Z axis pointing in direction of image."},
                {0, NULL, NULL, NULL}};
 
-       srna= RNA_def_struct(brna, "EnvironmentalMap", NULL);
+       srna= RNA_def_struct(brna, "EnvironmentMap", NULL);
        RNA_def_struct_sdna(srna, "EnvMap");
-       RNA_def_struct_ui_text(srna, "EnvironmentalMap", "DOC_BROKEN");
+       RNA_def_struct_ui_text(srna, "EnvironmentMap", "DOC_BROKEN");
        
        prop= RNA_def_property(srna, "image", PROP_POINTER, PROP_NONE);
        RNA_def_property_pointer_sdna(prop, NULL, "ima");
@@ -116,7 +116,7 @@ void RNA_def_texture(BlenderRNA *brna)
                {TEX_NOISE, "NOISE", "Noise", ""},
                {TEX_IMAGE, "IMAGE", "Image", ""},
                {TEX_PLUGIN, "PLUGIN", "Plugin", ""},
-               {TEX_ENVMAP, "ENVIRONMENTAL_MAP", "Environmental Map", ""},
+               {TEX_ENVMAP, "ENVIRONMENT_MAP", "Environment Map", ""},
                {TEX_MUSGRAVE, "MUSGRAVE", "Musgrave", ""},
                {TEX_VORONOI, "VORONOI", "Voronoi", ""},
                {TEX_DISTNOISE, "DISTORTED_NOISE", "Distorted Noise", ""},
@@ -153,7 +153,7 @@ void RNA_def_texture(BlenderRNA *brna)
                {TEX_CELLNOISE, "CELL_NOISE", "Cell Noise", ""},
                {0, NULL, NULL, NULL}};
 
-       rna_def_environmental_map(brna);
+       rna_def_environment_map(brna);
 
        srna= RNA_def_struct(brna, "Texture", "ID");
        RNA_def_struct_sdna(srna, "Tex");
@@ -302,10 +302,10 @@ void RNA_def_texture(BlenderRNA *brna)
        RNA_def_property_struct_type(prop, "ColorBand");
        RNA_def_property_ui_text(prop, "Color Band", "");*/
 
-       prop= RNA_def_property(srna, "environmental_map", PROP_POINTER, PROP_NONE);
+       prop= RNA_def_property(srna, "environment_map", PROP_POINTER, PROP_NONE);
        RNA_def_property_pointer_sdna(prop, NULL, "env");
-       RNA_def_property_struct_type(prop, "EnvironmentalMap");
-       RNA_def_property_ui_text(prop, "Environmental Map", "");
+       RNA_def_property_struct_type(prop, "EnvironmentMap");
+       RNA_def_property_ui_text(prop, "Environment Map", "");
 
        /* XXX: preview */