PyAPI - incorrect docstrings for colorbands
authorCampbell Barton <ideasman42@gmail.com>
Sat, 23 Jun 2007 12:39:22 +0000 (12:39 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Sat, 23 Jun 2007 12:39:22 +0000 (12:39 +0000)
source/blender/python/api2_2x/Material.c
source/blender/python/api2_2x/Texture.c

index 21200882a7f1b6f7272c9d9ad42f710993b7cb48..6ed0541d9c14ac1a80a58d8be09dbd3fa0ddb0c5 100644 (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 */
index 82fbb262a1b92d12764b48c67be0243d0de6cb46..7522d02b3559f86f82b730019e7d425e2d0483ba 100644 (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 */
 };