[Bf-blender-cvs] [648cdd79848] soc-2017-normal-tools: Cleanup: comment.

Bastien Montagne noreply at git.blender.org
Tue Feb 20 16:09:02 CET 2018


Commit: 648cdd7984867c2c5831995c679f483792880c1a
Author: Bastien Montagne
Date:   Tue Feb 20 15:22:02 2018 +0100
Branches: soc-2017-normal-tools
https://developer.blender.org/rB648cdd7984867c2c5831995c679f483792880c1a

Cleanup: comment.

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

M	source/blender/blenkernel/intern/mesh_evaluate.c

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

diff --git a/source/blender/blenkernel/intern/mesh_evaluate.c b/source/blender/blenkernel/intern/mesh_evaluate.c
index 061e3927e41..97684f333b9 100644
--- a/source/blender/blenkernel/intern/mesh_evaluate.c
+++ b/source/blender/blenkernel/intern/mesh_evaluate.c
@@ -553,8 +553,10 @@ void BKE_lnor_space_define(MLoopNorSpace *lnor_space, const float lnor[3],
 
 /**
  * Add a new given loop to given lnor_space.
- * If \a data is NULL and do_add_loop is set, the loop index is stored in the new linklist's link pointer.
- * If \a data is not NULL, it is always added as a new linklist's link pointer.
+ * Depending on \a lnor_space->data_type, we expect \a bm_loop to be a pointer to BMLoop struct (in case of BMLOOP_PTR),
+ * or NULL (in case of LOOP_INDEX), loop index is then stored in pointer.
+ * If \a is_single is set, the BMLoop or loop index is directly stored in \a lnor_space->loops pointer (since there
+ * is only one loop in this fan), else it is added to the linked list of loops in the fan.
  */
 void BKE_lnor_space_add_loop(
         MLoopNorSpaceArray *lnors_spacearr, MLoopNorSpace *lnor_space,



More information about the Bf-blender-cvs mailing list