[Bf-blender-cvs] [a9e5e58e16c] master: Cleanup: unused functions

Campbell Barton noreply at git.blender.org
Wed Jun 24 06:31:25 CEST 2020


Commit: a9e5e58e16cf0efc040ddee6fb9e5ee0a788257b
Author: Campbell Barton
Date:   Wed Jun 24 14:18:29 2020 +1000
Branches: master
https://developer.blender.org/rBa9e5e58e16cf0efc040ddee6fb9e5ee0a788257b

Cleanup: unused functions

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

M	source/blender/makesrna/intern/rna_mesh.c

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

diff --git a/source/blender/makesrna/intern/rna_mesh.c b/source/blender/makesrna/intern/rna_mesh.c
index 62318925a0b..1bf5a4395aa 100644
--- a/source/blender/makesrna/intern/rna_mesh.c
+++ b/source/blender/makesrna/intern/rna_mesh.c
@@ -721,8 +721,6 @@ static void rna_MeshUVLoopLayer_clone_set(PointerRNA *ptr, bool value)
 DEFINE_CUSTOMDATA_LAYER_COLLECTION(vertex_color, ldata, CD_MLOOPCOL)
 DEFINE_CUSTOMDATA_LAYER_COLLECTION_ACTIVEITEM(
     vertex_color, ldata, CD_MLOOPCOL, active, MeshLoopColorLayer)
-DEFINE_CUSTOMDATA_LAYER_COLLECTION_ACTIVEITEM(
-    vertex_color, ldata, CD_MLOOPCOL, render, MeshLoopColorLayer)
 
 static void rna_MeshLoopColorLayer_data_begin(CollectionPropertyIterator *iter, PointerRNA *ptr)
 {
@@ -764,7 +762,6 @@ DEFINE_CUSTOMDATA_LAYER_COLLECTION(sculpt_vertex_color, vdata, CD_PROP_COLOR)
 DEFINE_CUSTOMDATA_LAYER_COLLECTION_ACTIVEITEM(
     sculpt_vertex_color, vdata, CD_PROP_COLOR, active, MeshVertColorLayer)
 
-
 static void rna_MeshVertColorLayer_data_begin(CollectionPropertyIterator *iter, PointerRNA *ptr)
 {
   Mesh *me = rna_mesh(ptr);



More information about the Bf-blender-cvs mailing list