Commit: 460fea65adaccd88a326dcd383d8c76830463da7
Author: ishbosamiya
Date: Mon Jul 19 21:55:00 2021 +0530
Branches: soc-2021-adaptive-cloth
https://developer.blender.org/rB460fea65adaccd88a326dcd383d8c76830463da7
adaptive_cloth: Mesh elements: get_self_index()
===================================================================
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 cf15b7a3146..57d5ea7680a 100644
--- a/source/blender/blenkernel/BKE_cloth_remesh.hh
+++ b/source/blender/blenkernel/BKE_cloth_remesh.hh
@@ -201,6 +201,11 @@ template<typename T> class Node {
{
}
+ const auto &get_self_index() const
+ {
+ return this->self_index;
+ }
+
void set_extra_data(T extra_data)
{
this->extra_data = extra_data;
@@ -268,6 +273,11 @@ template<typename T> class Vert {
{
}
+ const auto &get_self_index() const
+ {
+ return this->self_index;
+ }
+
const auto &get_uv() const
{
return this->uv;
@@ -351,6 +361,11 @@ template<typename T> class Edge {
{
}
+ const auto &get_self_index() const
+ {
+ return this->self_index;
+ }
+
void set_extra_data(T extra_data)
{
this->extra_data = extra_data;
@@ -439,6 +454,11 @@ template<typename T> class Face {
{
}
+ const auto &get_self_index() const
+ {
+ return this->self_index;
+ }
+
void set_extra_data(T extra_data)
{
this->extra_data = extra_data;
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
List details, subscription details or unsubscribe:
https://lists.blender.org/mailman/listinfo/bf-blender-cvs