From 0709fac41ef0a20955069fcd6609577189e96d5c Mon Sep 17 00:00:00 2001 From: Alexander Gavrilov Date: Sat, 20 Oct 2018 21:02:52 +0300 Subject: BKE_mesh: add a utility to get edge indices from looptri. Not all three sides of a tesselated mesh triangle are guaranteed to be original mesh edges, so a somewhat complicated check is required to detect which ones are real. It seems that until now there was no utility function for that, only some example code. --- source/blender/makesdna/DNA_meshdata_types.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/blender/makesdna') diff --git a/source/blender/makesdna/DNA_meshdata_types.h b/source/blender/makesdna/DNA_meshdata_types.h index 636377ffd36..8525f9d0334 100644 --- a/source/blender/makesdna/DNA_meshdata_types.h +++ b/source/blender/makesdna/DNA_meshdata_types.h @@ -172,6 +172,8 @@ typedef struct MLoop { * } * \endcode * + * See #BKE_mesh_looptri_get_real_edges for a utility that does this. + * * \note A #MLoopTri may be in the middle of an ngon and not reference **any** edges. */ typedef struct MLoopTri { -- cgit v1.2.3