Merge branch 'master' into blender2.8
[blender.git] / source / blender / blenkernel / intern / cdderivedmesh.c
index c4e9ace2d5d16e207bc53b294de397bcf2a47d24..fc860817a83b55856f35a162f757393a01261a41 100644 (file)
@@ -3310,7 +3310,7 @@ void CDDM_calc_edges_tessface(DerivedMesh *dm)
                }
        }
 
-       numEdges = BLI_edgeset_size(eh);
+       numEdges = BLI_edgeset_len(eh);
 
        /* write new edges into a temporary CustomData */
        CustomData_reset(&edgeData);
@@ -3379,7 +3379,7 @@ void CDDM_calc_edges(DerivedMesh *dm)
                }
        }
 
-       numEdges = BLI_edgehash_size(eh);
+       numEdges = BLI_edgehash_len(eh);
 
        /* write new edges into a temporary CustomData */
        CustomData_reset(&edgeData);