diff options
author | Willian Padovani Germano <wpgermano@gmail.com> | 2003-05-17 08:29:49 +0400 |
---|---|---|
committer | Willian Padovani Germano <wpgermano@gmail.com> | 2003-05-17 08:29:49 +0400 |
commit | ed78dcc96cde26c56207aeb1fbd91488ca3a7f12 (patch) | |
tree | bbfb74104e4a37662a4ee84f2adcf73674ecb913 /source/blender/python/api2_2x/Text.c | |
parent | 7c48bec8999d536e1b0f2316e28cb6f6a36a6bbb (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/Text.c')
-rw-r--r-- | source/blender/python/api2_2x/Text.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/python/api2_2x/Text.c b/source/blender/python/api2_2x/Text.c index 20ab6b10cd7..a447a4ff6ce 100644 --- a/source/blender/python/api2_2x/Text.c +++ b/source/blender/python/api2_2x/Text.c @@ -258,7 +258,7 @@ static PyObject *Text_getNLines(C_Text *self) "couldn't get Text.nlines attribute"); } -static PyObject *Text_rename(C_Text *self, PyObject *args) +static PyObject *Text_setName(C_Text *self, PyObject *args) { char *name; char buf[21]; @@ -426,7 +426,7 @@ static int TextSetAttr (C_Text *self, char *name, PyObject *value) "TextSetAttr: couldn't create PyTuple"); if (strcmp (name, "name") == 0) - error = Text_rename (self, valtuple); + error = Text_setName (self, valtuple); else { /* Error: no such member in the Text Data structure */ Py_DECREF(value); Py_DECREF(valtuple); |