[Bf-blender-cvs] [a45b4084222] master: Cleanup: Fix grammar in IndexRange header
Hans Goudey
noreply at git.blender.org
Mon Sep 19 05:59:36 CEST 2022
Commit: a45b4084222464e54b37738906714a42cb571207
Author: Hans Goudey
Date: Sun Sep 18 22:57:46 2022 -0500
Branches: master
https://developer.blender.org/rBa45b4084222464e54b37738906714a42cb571207
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