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/Text.h
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/Text.h')
-rw-r--r--source/blender/python/api2_2x/Text.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/python/api2_2x/Text.h b/source/blender/python/api2_2x/Text.h
index ff67b28cc94..3e704ef663b 100644
--- a/source/blender/python/api2_2x/Text.h
+++ b/source/blender/python/api2_2x/Text.h
@@ -109,7 +109,7 @@ typedef struct {
static PyObject *Text_getName(C_Text *self);
static PyObject *Text_getFilename(C_Text *self);
static PyObject *Text_getNLines(C_Text *self);
-static PyObject *Text_rename(C_Text *self, PyObject *args);
+static PyObject *Text_setName(C_Text *self, PyObject *args);
static PyObject *Text_clear(C_Text *self, PyObject *args);
static PyObject *Text_write(C_Text *self, PyObject *args);
static PyObject *Text_set(C_Text *self, PyObject *args);
@@ -126,7 +126,7 @@ static PyMethodDef C_Text_methods[] = {
"() - Return Text Object filename"},
{"getNLines", (PyCFunction)Text_getNLines, METH_VARARGS,
"() - Return number of lines in text buffer"},
- {"rename", (PyCFunction)Text_rename, METH_VARARGS,
+ {"setName", (PyCFunction)Text_setName, METH_VARARGS,
"(str) - Change Text Object name"},
{"clear", (PyCFunction)Text_clear, METH_VARARGS,
"() - Clear Text buffer"},