[Bf-blender-cvs] [3ccc9cdbd49] soc-2021-adaptive-cloth: adaptive_cloth: Vert: get_uv() and get_uv_mut()
ishbosamiya
noreply at git.blender.org
Mon Jul 19 17:35:45 CEST 2021
Commit: 3ccc9cdbd49eb992e2db8a41085fc5041639353f
Author: ishbosamiya
Date: Sun Jul 18 21:32:45 2021 +0530
Branches: soc-2021-adaptive-cloth
https://developer.blender.org/rB3ccc9cdbd49eb992e2db8a41085fc5041639353f
adaptive_cloth: Vert: get_uv() and get_uv_mut()
===================================================================
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 2cace6a0c7a..5d7493f4387 100644
--- a/source/blender/blenkernel/BKE_cloth_remesh.hh
+++ b/source/blender/blenkernel/BKE_cloth_remesh.hh
@@ -268,6 +268,16 @@ template<typename T> class Vert {
{
}
+ const auto &get_uv() const
+ {
+ return this->uv;
+ }
+
+ auto &get_uv_mut()
+ {
+ return this->uv;
+ }
+
void set_extra_data(T extra_data)
{
this->extra_data = extra_data;
More information about the Bf-blender-cvs
mailing list