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:
authorTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>2014-06-05 09:06:25 +0400
committerTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>2014-06-05 09:07:08 +0400
commit4ac5d3245dbecb3465c14345b4198ac7c41b812e (patch)
tree23cd0eb533c522c9df22d6c5a644e77ddcbb7090 /source/blender/freestyle/intern/python
parenta1f8cb6dbb196026a7c8bf0794959ac7bf372cf7 (diff)
Freestyle: Fix for Interface0DIterator.object docstring with additional notes.
Diffstat (limited to 'source/blender/freestyle/intern/python')
-rw-r--r--source/blender/freestyle/intern/python/Iterator/BPy_Interface0DIterator.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/source/blender/freestyle/intern/python/Iterator/BPy_Interface0DIterator.cpp b/source/blender/freestyle/intern/python/Iterator/BPy_Interface0DIterator.cpp
index f85bcddf186..a339e6653c6 100644
--- a/source/blender/freestyle/intern/python/Iterator/BPy_Interface0DIterator.cpp
+++ b/source/blender/freestyle/intern/python/Iterator/BPy_Interface0DIterator.cpp
@@ -132,9 +132,12 @@ static PyObject *Interface0DIterator_iternext(BPy_Interface0DIterator *self)
/*----------------------Interface0DIterator get/setters ----------------------------*/
PyDoc_STRVAR(Interface0DIterator_object_doc,
-"The Interface0D object currently pointed to by this iterator.\n"
+"The 0D object currently pointed to by this iterator. Note that the object\n"
+"may be an instance of an Interface0D subclass. For example if the iterator\n"
+"has been created from :method:`Stroke.vertices_begin`, the .object property\n"
+"refers to a :class:`StrokeVertex` object.\n"
"\n"
-":type: :class:`Interface0D`");
+":type: :class:`Interface0D` or one of its subclasses.");
static PyObject *Interface0DIterator_object_get(BPy_Interface0DIterator *self, void *UNUSED(closure))
{