diff options
author | Campbell Barton <ideasman42@gmail.com> | 2007-06-23 16:39:22 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2007-06-23 16:39:22 +0400 |
commit | 296758ff0106eaa845fe1a1eeb14df2c6daa792d (patch) | |
tree | b1fe6bb314439ba3234e08388463b0ef5def0bfe /source | |
parent | 25194b5b0977a30f26d0051d2b4df6740264dd88 (diff) |
PyAPI - incorrect docstrings for colorbands
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/python/api2_2x/Material.c | 4 | ||||
-rw-r--r-- | source/blender/python/api2_2x/Texture.c | 4 |
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 */ }; |