[Bf-blender-cvs] [4fcc9f5e7e3] master: Cleanup: use back-slash doxygen commands, de-duplicate doc-string

Campbell Barton noreply at git.blender.org
Mon Feb 6 02:51:09 CET 2023


Commit: 4fcc9f5e7e3039485f81345b1d376593e4f0967d
Author: Campbell Barton
Date:   Mon Feb 6 12:18:30 2023 +1100
Branches: master
https://developer.blender.org/rB4fcc9f5e7e3039485f81345b1d376593e4f0967d

Cleanup: use back-slash doxygen commands, de-duplicate doc-string

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

M	source/blender/blenkernel/BKE_nla.h
M	source/blender/blenkernel/intern/nla.c

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

diff --git a/source/blender/blenkernel/BKE_nla.h b/source/blender/blenkernel/BKE_nla.h
index d4d94618cc9..086f21aa897 100644
--- a/source/blender/blenkernel/BKE_nla.h
+++ b/source/blender/blenkernel/BKE_nla.h
@@ -133,19 +133,19 @@ void BKE_nlastrips_sort_strips(ListBase *strips);
 
 /**
  * Add the given NLA-Strip to the given list of strips, assuming that it
- * isn't currently a member of another list, NULL, or conflicting with existing 
- * strips position. 
+ * isn't currently a member of another list, NULL, or conflicting with existing
+ * strips position.
  */
 void BKE_nlastrips_add_strip_unsafe(ListBase *strips, struct NlaStrip *strip);
 
 /**
- * @brief NULL checks incoming strip and verifies no overlap / invalid 
- *  configuration against other strips in NLA Track.
+ * \brief NULL checks incoming strip and verifies no overlap / invalid
+ * configuration against other strips in NLA Track.
  *
- * @param strips
- * @param strip
- * @return true
- * @return false
+ * \param strips:
+ * \param strip:
+ * \return true
+ * \return false
  */
 bool BKE_nlastrips_add_strip(ListBase *strips, struct NlaStrip *strip);
 
diff --git a/source/blender/blenkernel/intern/nla.c b/source/blender/blenkernel/intern/nla.c
index defa67ed664..6b631462ebd 100644
--- a/source/blender/blenkernel/intern/nla.c
+++ b/source/blender/blenkernel/intern/nla.c
@@ -787,7 +787,6 @@ void BKE_nlastrips_add_strip_unsafe(ListBase *strips, NlaStrip *strip)
   }
 }
 
-/** NULL and Space check before adding in nlastrip */
 bool BKE_nlastrips_add_strip(ListBase *strips, NlaStrip *strip)
 {
   if (ELEM(NULL, strips, strip)) {



More information about the Bf-blender-cvs mailing list