[Bf-blender-cvs] [fca7cb01011] master: Cleanup: Remove incorrect comment

Hans Goudey noreply at git.blender.org
Thu Aug 4 20:50:17 CEST 2022


Commit: fca7cb01011a3e34d21fcff6800d0b26b2be6e8e
Author: Hans Goudey
Date:   Thu Aug 4 13:49:07 2022 -0500
Branches: master
https://developer.blender.org/rBfca7cb01011a3e34d21fcff6800d0b26b2be6e8e

Cleanup: Remove incorrect comment

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

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

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

diff --git a/source/blender/blenkernel/intern/customdata.cc b/source/blender/blenkernel/intern/customdata.cc
index 8444f15cb8b..acb978642aa 100644
--- a/source/blender/blenkernel/intern/customdata.cc
+++ b/source/blender/blenkernel/intern/customdata.cc
@@ -3479,7 +3479,6 @@ int CustomData_get_n_offset(const CustomData *data, const int type, const int n)
 
 int CustomData_get_offset_named(const CustomData *data, int type, const char *name)
 {
-  /* get the layer index of the active layer of type */
   int layer_index = CustomData_get_named_layer_index(data, type, name);
   if (layer_index == -1) {
     return -1;



More information about the Bf-blender-cvs mailing list