[Bf-blender-cvs] [bb7e8f4d4e5] temp-T97352-3d-texturing-seam-bleeding-b2: Cleanup: Fix grammar in IndexRange header
Hans Goudey
noreply at git.blender.org
Tue Sep 20 10:32:15 CEST 2022
Commit: bb7e8f4d4e5df378ae0dfec692060f7fbbfd20f8
Author: Hans Goudey
Date: Sun Sep 18 22:57:46 2022 -0500
Branches: temp-T97352-3d-texturing-seam-bleeding-b2
https://developer.blender.org/rBbb7e8f4d4e5df378ae0dfec692060f7fbbfd20f8
Cleanup: Fix grammar in IndexRange header
Also make it more clear by avoiding repeating the name of the function.
===================================================================
M source/blender/blenlib/BLI_index_range.hh
===================================================================
diff --git a/source/blender/blenlib/BLI_index_range.hh b/source/blender/blenlib/BLI_index_range.hh
index ba49664e91f..c259282ca64 100644
--- a/source/blender/blenlib/BLI_index_range.hh
+++ b/source/blender/blenlib/BLI_index_range.hh
@@ -252,9 +252,9 @@ class IndexRange {
}
/**
- * Returns a new range, that contains the intersection of the current one with the given range.
- * Returns empty range is no intersection exists.
- * Returned range is always a valid slice of this range.
+ * Returns a new IndexRange that contains the intersection of the current one with the given
+ * range. Returns empty range if there are no overlapping indices. The returned range is always
+ * a valid slice of this range.
*/
constexpr IndexRange intersect(IndexRange other) const
{
More information about the Bf-blender-cvs
mailing list