[Bf-blender-cvs] [2bc5186aa38] soc-2021-adaptive-cloth: adaptive_cloth: Mesh: get_checked_node_of_vert()
ishbosamiya
noreply at git.blender.org
Mon Jul 12 08:23:48 CEST 2021
Commit: 2bc5186aa38e0ec493a21b607b46dedde76de0e3
Author: ishbosamiya
Date: Wed Jul 7 19:18:04 2021 +0530
Branches: soc-2021-adaptive-cloth
https://developer.blender.org/rB2bc5186aa38e0ec493a21b607b46dedde76de0e3
adaptive_cloth: Mesh: get_checked_node_of_vert()
===================================================================
M source/blender/blenkernel/BKE_cloth_remesh.hh
===================================================================
diff --git a/source/blender/blenkernel/BKE_cloth_remesh.hh b/source/blender/blenkernel/BKE_cloth_remesh.hh
index abc7da03579..e9d8d6ca4d7 100644
--- a/source/blender/blenkernel/BKE_cloth_remesh.hh
+++ b/source/blender/blenkernel/BKE_cloth_remesh.hh
@@ -1601,6 +1601,12 @@ template<typename END, typename EVD, typename EED, typename EFD> class Mesh {
return {edge_vert_1, edge_vert_2};
}
+
+ inline Node<END> &get_checked_node_of_vert(const Vert<EVD> &vert)
+ {
+ BLI_assert(vert.node);
+ return this->get_checked_node(vert.node.value());
+ }
};
template<typename END, typename EVD, typename EED, typename EFD> class MeshDiff {
More information about the Bf-blender-cvs
mailing list