[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [28773] branches/soc-2008-mxcurioni/source /blender/freestyle/intern/python: Minor docstring fixes.

Tamito Kajiyama rd6t-kjym at asahi-net.or.jp
Fri May 14 23:29:13 CEST 2010


Revision: 28773
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=28773
Author:   kjym3
Date:     2010-05-14 23:29:13 +0200 (Fri, 14 May 2010)

Log Message:
-----------
Minor docstring fixes.

Modified Paths:
--------------
    branches/soc-2008-mxcurioni/source/blender/freestyle/intern/python/Interface1D/BPy_FrsCurve.cpp
    branches/soc-2008-mxcurioni/source/blender/freestyle/intern/python/Iterator/BPy_AdjacencyIterator.cpp

Modified: branches/soc-2008-mxcurioni/source/blender/freestyle/intern/python/Interface1D/BPy_FrsCurve.cpp
===================================================================
--- branches/soc-2008-mxcurioni/source/blender/freestyle/intern/python/Interface1D/BPy_FrsCurve.cpp	2010-05-14 21:16:37 UTC (rev 28772)
+++ branches/soc-2008-mxcurioni/source/blender/freestyle/intern/python/Interface1D/BPy_FrsCurve.cpp	2010-05-14 21:29:13 UTC (rev 28773)
@@ -26,12 +26,12 @@
 "\n"
 "   Copy Constructor.\n"
 "\n"
-"   :arg iBrother: A FrsCurve object.\n"
+"   :arg iBrother: A Curve object.\n"
 "   :type iBrother: :class:`Curve`\n"
 "\n"
 ".. method:: __init__(iId)\n"
 "\n"
-"   Builds a FrsCurve from its Id.\n"
+"   Builds a Curve from its Id.\n"
 "\n"
 "   :arg iId: An Id object.\n"
 "   :type iId: :class:`Id`\n";
@@ -67,7 +67,7 @@
 static char FrsCurve_push_vertex_back___doc__[] =
 ".. method:: push_vertex_back(iVertex)\n"
 "\n"
-"   Adds a single vertex at the end of the FrsCurve.\n"
+"   Adds a single vertex at the end of the Curve.\n"
 "\n"
 "   :arg iVertex: A vertex object.\n"
 "   :type iVertex: :class:`SVertex` or :class:`CurvePoint`\n";
@@ -93,7 +93,7 @@
 static char FrsCurve_push_vertex_front___doc__[] =
 ".. method:: push_vertex_front(iVertex)\n"
 "\n"
-"   Adds a single vertex at the front of the FrsCurve.\n"
+"   Adds a single vertex at the front of the Curve.\n"
 "\n"
 "   :arg iVertex: A vertex object.\n"
 "   :type iVertex: :class:`SVertex` or :class:`CurvePoint`\n";
@@ -119,9 +119,9 @@
 static char FrsCurve_empty___doc__[] =
 ".. method:: empty()\n"
 "\n"
-"   Returns true if the FrsCurve doesn't have any Vertex yet.\n"
+"   Returns true if the Curve doesn't have any Vertex yet.\n"
 "\n"
-"   :return: True if the FrsCurve has no vertices.\n"
+"   :return: True if the Curve has no vertices.\n"
 "   :rtype: bool\n";
 
 static PyObject * FrsCurve_empty( BPy_FrsCurve *self ) {
@@ -132,7 +132,7 @@
 ".. method:: nSegments()\n"
 "\n"
 "   Returns the number of segments in the polyline constituing the\n"
-"   FrsCurve.\n"
+"   Curve.\n"
 "\n"
 "   :return: The number of segments.\n"
 "   :rtype: int\n";

Modified: branches/soc-2008-mxcurioni/source/blender/freestyle/intern/python/Iterator/BPy_AdjacencyIterator.cpp
===================================================================
--- branches/soc-2008-mxcurioni/source/blender/freestyle/intern/python/Iterator/BPy_AdjacencyIterator.cpp	2010-05-14 21:16:37 UTC (rev 28772)
+++ branches/soc-2008-mxcurioni/source/blender/freestyle/intern/python/Iterator/BPy_AdjacencyIterator.cpp	2010-05-14 21:29:13 UTC (rev 28773)
@@ -97,7 +97,7 @@
 "   Returns the pointed ViewEdge.\n"
 "\n"
 "   :return: The pointed ViewEdge.\n"
-"   :rtype: ViewEdge* operator\n";
+"   :rtype: :class:`ViewEdge`\n";
 
 static PyObject * AdjacencyIterator_getObject(BPy_AdjacencyIterator *self) {
 	





More information about the Bf-blender-cvs mailing list