Commit: 3647a1e62199f6187c6ce2c0f7a5eac5ea6b428e
Author: Campbell Barton
Date: Thu Dec 9 20:23:10 2021 +1100
Branches: master
https://developer.blender.org/rB3647a1e62199f6187c6ce2c0f7a5eac5ea6b428e
Cleanup: move public doc-strings into headers for 'geometry'
Ref T92709
===================================================================
M source/blender/geometry/GEO_mesh_to_curve.hh
M source/blender/geometry/intern/mesh_to_curve_convert.cc
===================================================================
diff --git a/source/blender/geometry/GEO_mesh_to_curve.hh
b/source/blender/geometry/GEO_mesh_to_curve.hh
index 66459ab79a9..fac40cc40d5 100644
--- a/source/blender/geometry/GEO_mesh_to_curve.hh
+++ b/source/blender/geometry/GEO_mesh_to_curve.hh
@@ -29,6 +29,11 @@ class MeshComponent;
namespace blender::geometry {
+/**
+ * Convert the mesh into one or many poly splines. Since splines cannot have
branches,
+ * intersections of more than three edges will become breaks in splines.
Attributes that
+ * are not built-in on meshes and not curves are transferred to the result
curve.
+ */
std::unique_ptr<CurveEval> mesh_to_curve_convert(const MeshComponent
&mesh_component,
const IndexMask selection);
diff --git a/source/blender/geometry/intern/mesh_to_curve_convert.cc
b/source/blender/geometry/intern/mesh_to_curve_convert.cc
index 7aaaec9f0c5..0cbec35ec7a 100644
--- a/source/blender/geometry/intern/mesh_to_curve_convert.cc
+++ b/source/blender/geometry/intern/mesh_to_curve_convert.cc
@@ -260,11 +260,6 @@ static Vector<std::pair<int, int>>
get_selected_edges(const Mesh &mesh, const In
return selected_edges;
}
-/**
- * Convert the mesh into one or many poly splines. Since splines cannot have
branches,
- * intersections of more than three edges will become breaks in splines.
Attributes that
- * are not built-in on meshes and not curves are transferred to the result
curve.
- */
std::unique_ptr<CurveEval> mesh_to_curve_convert(const MeshComponent
&mesh_component,
const IndexMask selection)
{
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
List details, subscription details or unsubscribe:
https://lists.blender.org/mailman/listinfo/bf-blender-cvs