resolve glitch in the image space where mask editing and UVs would conflict.
[blender.git] / source / blender / blenkernel / intern / cdderivedmesh.c
index 641033a2ec951e16f68ad43831cf10d929eb4600..88748d5f0b875e4aff75c8d77e012a8b68583457 100644 (file)
@@ -1754,7 +1754,6 @@ DerivedMesh *CDDM_from_curve_orco(struct Scene *scene, Object *ob)
 
 DerivedMesh *CDDM_from_curve_displist(Object *ob, ListBase *dispbase, int **orco_index_ptr)
 {
-       const short do_orco_as_uv= 1;
        DerivedMesh *dm;
        CDDerivedMesh *cddm;
        MVert *allvert;
@@ -1787,10 +1786,6 @@ DerivedMesh *CDDM_from_curve_displist(Object *ob, ListBase *dispbase, int **orco
 
        CDDM_calc_edges(dm);
 
-       if (do_orco_as_uv ) {
-               BKE_curve_make_orco(NULL, ob);
-       }
-
        return dm;
 }