[Bf-blender-cvs] [62c8f77395a] lanpr-under-gp: API docs: Fix sytax error for delaunay_2d_cd

Aaron Carlisle noreply at git.blender.org
Fri Oct 2 07:40:26 CEST 2020


Commit: 62c8f77395adedd8e548706dad788d803cba6433
Author: Aaron Carlisle
Date:   Tue Sep 29 15:46:20 2020 -0400
Branches: lanpr-under-gp
https://developer.blender.org/rB62c8f77395adedd8e548706dad788d803cba6433

API docs: Fix sytax error for delaunay_2d_cd

Alternative solution to https://developer.blender.org/D8546

===================================================================

M	source/blender/python/mathutils/mathutils_geometry.c

===================================================================

diff --git a/source/blender/python/mathutils/mathutils_geometry.c b/source/blender/python/mathutils/mathutils_geometry.c
index 1a161924f96..ad5f1a486b4 100644
--- a/source/blender/python/mathutils/mathutils_geometry.c
+++ b/source/blender/python/mathutils/mathutils_geometry.c
@@ -1553,16 +1553,16 @@ PyDoc_STRVAR(
     M_Geometry_delaunay_2d_cdt_doc,
     ".. function:: delaunay_2d_cdt(vert_coords, edges, faces, output_type, epsilon)\n"
     "\n"
-    "Computes the Constrained Delaunay Triangulation of a set of vertices, "
-    "with edges and faces that must appear in the triangulation. "
-    "Some triangles may be eaten away, or combined with other triangles, "
-    "according to output type. "
-    "The returned verts may be in a different order from input verts, may be moved "
-    "slightly, and may be merged with other nearby verts. "
-    "The three returned orig lists give, for each of verts, edges, and faces, the list of "
-    "input element indices corresponding to the positionally same output element. "
-    "For edges, the orig indices start with the input edges and then continue "
-    "with the edges implied by each of the faces (n of them for an n-gon).\n"
+    "   Computes the Constrained Delaunay Triangulation of a set of vertices,\n"
+    "   with edges and faces that must appear in the triangulation.\n"
+    "   Some triangles may be eaten away, or combined with other triangles,\n"
+    "   according to output type.\n"
+    "   The returned verts may be in a different order from input verts, may be moved\n"
+    "   slightly, and may be merged with other nearby verts.\n"
+    "   The three returned orig lists give, for each of verts, edges, and faces, the list of\n"
+    "   input element indices corresponding to the positionally same output element.\n"
+    "   For edges, the orig indices start with the input edges and then continue\n"
+    "   with the edges implied by each of the faces (n of them for an n-gon).\n"
     "\n"
     "   :arg vert_coords: Vertex coordinates (2d)\n"
     "   :type vert_coords: list of :class:`mathutils.Vector`\n"



More information about the Bf-blender-cvs mailing list