PyAPI - incorrect docstrings for colorbands

This commit is contained in:
2007-06-23 12:39:22 +00:00
parent 25194b5b09
commit 296758ff01
2 changed files with 4 additions and 4 deletions

View File

@@ -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 */

View File

@@ -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 */
};