[Bf-blender-cvs] [0e1a91d5bb0] refactor-mesh-uv-map-generic: Rewrite comment to refelct the current plan.

Martijn Versteegh noreply at git.blender.org
Sat Dec 31 12:52:39 CET 2022


Commit: 0e1a91d5bb0e6fa6005514ac457a092146a41683
Author: Martijn Versteegh
Date:   Sat Dec 31 12:50:11 2022 +0100
Branches: refactor-mesh-uv-map-generic
https://developer.blender.org/rB0e1a91d5bb0e6fa6005514ac457a092146a41683

Rewrite comment to refelct the current plan.

===================================================================

M	source/blender/blenkernel/intern/mesh.cc

===================================================================

diff --git a/source/blender/blenkernel/intern/mesh.cc b/source/blender/blenkernel/intern/mesh.cc
index 7cdf486c417..bce8bb4f8ad 100644
--- a/source/blender/blenkernel/intern/mesh.cc
+++ b/source/blender/blenkernel/intern/mesh.cc
@@ -517,9 +517,12 @@ static int customdata_compare(
   const Span<MLoop> loops_1 = m1->loops();
   const Span<MLoop> loops_2 = m2->loops();
 
-  /* TODO(@Baardaap) the uv selection / pin layers are ignored in the comparisons because
-   * the original flags they replace were ignored as well. For completeness it would be
-   * better to compare them as well, but some test files would need to be updated. */
+  /* The uv selection / pin layers are ignored in the comparisons because
+   * the original flags they replace were ignored as well. Because of the
+   * lazy creation of these layers it would need careful handling of the
+   * test files to compare these layers. For now it has been decided to
+   * skip them.
+   */
 
   for (int i = 0; i < c1->totlayer; i++) {
     l1 = &c1->layers[i];



More information about the Bf-blender-cvs mailing list