diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-10-25 12:32:02 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-10-25 12:34:23 +0300 |
commit | 6ed9fcbabc77c2de897232be922674e70ed1b62b (patch) | |
tree | a9a376f33d36b449fbec26af7987c0e86fc099a7 /source/blender/python/gpu/gpu_py_vertex_buffer.c | |
parent | c25fa615d44db8575449fb6a8fff54af4d96ad92 (diff) |
PyAPI: rename GPL VertBuf.attr_fill identifier to id
This is used elsewhere in the API and its a common abbreviation.
Diffstat (limited to 'source/blender/python/gpu/gpu_py_vertex_buffer.c')
-rw-r--r-- | source/blender/python/gpu/gpu_py_vertex_buffer.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/python/gpu/gpu_py_vertex_buffer.c b/source/blender/python/gpu/gpu_py_vertex_buffer.c index c4a4c9ea3de..440cefe553e 100644 --- a/source/blender/python/gpu/gpu_py_vertex_buffer.c +++ b/source/blender/python/gpu/gpu_py_vertex_buffer.c @@ -266,12 +266,12 @@ static PyObject *bpygpu_VertBuf_new(PyTypeObject *UNUSED(type), PyObject *args, } PyDoc_STRVAR(bpygpu_VertBuf_attr_fill_doc, -"attr_fill(identifier, data)\n" +"attr_fill(id, data)\n" "\n" " Insert data into the buffer for a single attribute.\n" "\n" -" :param identifier: Either the name or the id of the attribute.\n" -" :type identifier: int or str\n" +" :param id: Either the name or the id of the attribute.\n" +" :type id: int or str\n" " :param data: Sequence of data that should be stored in the buffer\n" " :type data: sequence of individual values or tuples\n" ); @@ -280,7 +280,7 @@ static PyObject *bpygpu_VertBuf_attr_fill(BPyGPUVertBuf *self, PyObject *args, P PyObject *data; PyObject *identifier; - static const char *_keywords[] = {"identifier", "data", NULL}; + static const char *_keywords[] = {"id", "data", NULL}; static _PyArg_Parser _parser = {"OO:attr_fill", _keywords, 0}; if (!_PyArg_ParseTupleAndKeywordsFast( args, kwds, &_parser, |