[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [11031] trunk/blender/source/blender/ python/api2_2x: PyAPI - incorrect docstrings for colorbands
Campbell Barton
cbarton at metavr.com
Sat Jun 23 14:39:22 CEST 2007
Revision: 11031
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=11031
Author: campbellbarton
Date: 2007-06-23 14:39:22 +0200 (Sat, 23 Jun 2007)
Log Message:
-----------
PyAPI - incorrect docstrings for colorbands
Modified Paths:
--------------
trunk/blender/source/blender/python/api2_2x/Material.c
trunk/blender/source/blender/python/api2_2x/Texture.c
Modified: trunk/blender/source/blender/python/api2_2x/Material.c
===================================================================
--- trunk/blender/source/blender/python/api2_2x/Material.c 2007-06-23 12:09:41 UTC (rev 11030)
+++ trunk/blender/source/blender/python/api2_2x/Material.c 2007-06-23 12:39:22 UTC (rev 11031)
@@ -1113,11 +1113,11 @@
(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 */
Modified: trunk/blender/source/blender/python/api2_2x/Texture.c
===================================================================
--- trunk/blender/source/blender/python/api2_2x/Texture.c 2007-06-23 12:09:41 UTC (rev 11030)
+++ trunk/blender/source/blender/python/api2_2x/Texture.c 2007-06-23 12:39:22 UTC (rev 11031)
@@ -772,8 +772,8 @@
(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 */
};
More information about the Bf-blender-cvs
mailing list