Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/modifiers/intern/MOD_mirror.c')
-rw-r--r--source/blender/modifiers/intern/MOD_mirror.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/source/blender/modifiers/intern/MOD_mirror.c b/source/blender/modifiers/intern/MOD_mirror.c
index c470f5c118e..2b29f2afb9a 100644
--- a/source/blender/modifiers/intern/MOD_mirror.c
+++ b/source/blender/modifiers/intern/MOD_mirror.c
@@ -161,19 +161,6 @@ static DerivedMesh *doMirrorOnAxis(MirrorModifierData *mmd,
dm->copyPolyArray(dm, CDDM_get_polys(result));
}
-#if 1 /* WITH_FREESTYLE generic changes */
- /* if the source DM does not have edge/poly CD_ORIGINDEX layer, then
- * the corresponding layer of the result DM is filled with zeros
- * (see CDDM_from_template()) */
- if (!CustomData_has_layer(&dm->edgeData, CD_ORIGINDEX)) {
- range_vn_i(DM_get_edge_data_layer(result, CD_ORIGINDEX), maxEdges, 0);
- }
- if (!CustomData_has_layer(&dm->polyData, CD_ORIGINDEX)) {
- DM_add_poly_layer(result, CD_ORIGINDEX, CD_CALLOC, NULL);
- range_vn_i(DM_get_poly_data_layer(result, CD_ORIGINDEX), maxPolys, 0);
- }
-#endif
-
/* copy customdata to new geometry,
* copy from its self because this data may have been created in the checks above */
DM_copy_vert_data(result, result, 0, maxVerts, maxVerts);