PyAPI - incorrect docstrings for colorbands
This commit is contained in:
@@ -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 */
|
||||
|
||||
@@ -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 */
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user