Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2008-03-27 14:52:58 +0300
committerCampbell Barton <ideasman42@gmail.com>2008-03-27 14:52:58 +0300
commit08bc0efecba8141da70cc560bf0d759ad35dc494 (patch)
tree0433b636b2886c6ea057c4b02fb3bb68433107eb /source/blender/python/api2_2x
parentc2ae2b51cffaa5344722bae23d6b8917742ffb73 (diff)
made editmode only force smooth shading when vcols are present (as joe suggested)
pythons api's image.unpack() was broken
Diffstat (limited to 'source/blender/python/api2_2x')
-rw-r--r--source/blender/python/api2_2x/Image.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/api2_2x/Image.c b/source/blender/python/api2_2x/Image.c
index c8217eba2b2..a06079dd182 100644
--- a/source/blender/python/api2_2x/Image.c
+++ b/source/blender/python/api2_2x/Image.c
@@ -191,7 +191,7 @@ static PyMethodDef BPy_Image_methods[] = {
"(int) - Change Image object animation speed (fps)"},
{"save", ( PyCFunction ) Image_save, METH_NOARGS,
"() - Write image buffer to file"},
- {"unpack", ( PyCFunction ) Image_unpack, METH_VARARGS,
+ {"unpack", ( PyCFunction ) Image_unpack, METH_O,
"(int) - Unpack image. Uses the values defined in Blender.UnpackModes."},
{"pack", ( PyCFunction ) Image_pack, METH_NOARGS,
"() - Pack the image"},