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:
authorWillian Padovani Germano <wpgermano@gmail.com>2003-05-17 08:29:49 +0400
committerWillian Padovani Germano <wpgermano@gmail.com>2003-05-17 08:29:49 +0400
commited78dcc96cde26c56207aeb1fbd91488ca3a7f12 (patch)
treebbfb74104e4a37662a4ee84f2adcf73674ecb913 /source/blender/python/api2_2x/Image.c
parent7c48bec8999d536e1b0f2316e28cb6f6a36a6bbb (diff)
* Added submodule NMesh:
Partially implemented. Most of it comes from opy_nmesh.c, plus needed changes to integrate in into exppython. * Added helper submodule vector, needed by NMesh. * Minor changes in other files.
Diffstat (limited to 'source/blender/python/api2_2x/Image.c')
-rw-r--r--source/blender/python/api2_2x/Image.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/python/api2_2x/Image.c b/source/blender/python/api2_2x/Image.c
index 99e1f61945a..9d679672f78 100644
--- a/source/blender/python/api2_2x/Image.c
+++ b/source/blender/python/api2_2x/Image.c
@@ -178,7 +178,7 @@ static PyObject *Image_getFilename(C_Image *self)
"couldn't get Image.filename attribute"));
}
-static PyObject *Image_rename(C_Image *self, PyObject *args)
+static PyObject *Image_setName(C_Image *self, PyObject *args)
{
char *name;
char buf[21];
@@ -297,7 +297,7 @@ static int ImageSetAttr (C_Image *self, char *name, PyObject *value)
"ImageSetAttr: couldn't create PyTuple");
if (strcmp (name, "name") == 0)
- error = Image_rename (self, valtuple);
+ error = Image_setName (self, valtuple);
else if (strcmp (name, "xrep") == 0)
error = Image_setXRep (self, valtuple);
else if (strcmp (name, "yrep") == 0)