[Bf-blender-cvs] [b19335d5f3a] soc-2021-adaptive-cloth: adaptive_cloth: mesh: const version of get checked node of vert
ishbosamiya
noreply at git.blender.org
Mon Aug 9 11:13:29 CEST 2021
Commit: b19335d5f3ad17494ea595821ab085d8162ef5c8
Author: ishbosamiya
Date: Sun Aug 8 18:07:06 2021 +0530
Branches: soc-2021-adaptive-cloth
https://developer.blender.org/rBb19335d5f3ad17494ea595821ab085d8162ef5c8
adaptive_cloth: mesh: const version of 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 90c5a94c0b8..99c577b7a9e 100644
--- a/source/blender/blenkernel/BKE_cloth_remesh.hh
+++ b/source/blender/blenkernel/BKE_cloth_remesh.hh
@@ -2600,6 +2600,12 @@ template<typename END, typename EVD, typename EED, typename EFD> class Mesh {
return this->get_checked_node(vert.node.value());
}
+ inline const Node<END> &get_checked_node_of_vert(const Vert<EVD> &vert) const
+ {
+ BLI_assert(vert.node);
+ return this->get_checked_node(vert.node.value());
+ }
+
/**
* Gives first vert index of a triangulated face that is not part of edge.
*
More information about the Bf-blender-cvs
mailing list