Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source/blender/python/api2_2x/Material.c4
-rw-r--r--source/blender/python/api2_2x/Texture.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/python/api2_2x/Material.c b/source/blender/python/api2_2x/Material.c
index 21200882a7f..6ed0541d9c1 100644
--- a/source/blender/python/api2_2x/Material.c
+++ b/source/blender/python/api2_2x/Material.c
@@ -1113,11 +1113,11 @@ static PyGetSetDef BPy_Material_getseters[] = {
(void *) EXPP_MAT_COMP_B },
{"colorbandDiffuse",
(getter)Material_getColorband, (setter)Material_setColorband,
- "Set the light group for this material",
+ "The diffuse colorband for this material",
(void *) 0},
{"colorbandSpecular",
(getter)Material_getColorband, (setter)Material_setColorband,
- "Set the light group for this material",
+ "The specular colorband for this material",
(void *) 1},
/* SSS settings */
diff --git a/source/blender/python/api2_2x/Texture.c b/source/blender/python/api2_2x/Texture.c
index 82fbb262a1b..7522d02b355 100644
--- a/source/blender/python/api2_2x/Texture.c
+++ b/source/blender/python/api2_2x/Texture.c
@@ -772,8 +772,8 @@ static PyGetSetDef BPy_Texture_getseters[] = {
(void *)TEX_NORMALMAP},
{"colorband",
(getter)Texture_getColorband, (setter)Texture_setColorband,
- "Use of image RGB values for normal mapping enabled ('ImageFlags')",
- (void *)TEX_NORMALMAP},
+ "The colorband for this texture",
+ NULL},
{NULL,NULL,NULL,NULL,NULL} /* Sentinel */
};