support for curve orco uv's as UV's in cycles.
[blender.git] / source / blender / blenkernel / intern / displist.c
index 8011efebaac5b905cb84dbae17b18ef10acf4054..00a76e87d8377a831355904ec086be337f5f1735 100644 (file)
@@ -948,7 +948,7 @@ static void curve_calc_modifiers_post(Scene *scene, Object *ob, ListBase *dispba
                                        curve_to_filledpoly(cu, nurb, dispbase);
                                }
 
-                               dm = CDDM_from_curve_displist(ob, dispbase);
+                               dm = CDDM_from_curve_displist(ob, dispbase, NULL);
 
                                CDDM_calc_normals_mapping(dm);
                        }
@@ -1038,7 +1038,7 @@ static DerivedMesh *create_orco_dm(Scene *scene, Object *ob)
 
        /* OrcoDM should be created from underformed disp lists */
        BKE_displist_make_curveTypes_forOrco(scene, ob, &disp);
-       dm = CDDM_from_curve_displist(ob, &disp);
+       dm = CDDM_from_curve_displist(ob, &disp, NULL);
 
        BKE_displist_free(&disp);