Cleanup: replace check for derivedFinal w/ mesh_eval
authorCampbell Barton <ideasman42@gmail.com>
Mon, 15 Oct 2018 23:33:44 +0000 (10:33 +1100)
committerCampbell Barton <ideasman42@gmail.com>
Mon, 15 Oct 2018 23:33:44 +0000 (10:33 +1100)
source/blender/blenkernel/intern/displist.c

index 28dff3411269a7e796f052980d13cbe87d609db6..8d49521831f9f5cdb633fdb06c2c0f352ff588dc 100644 (file)
@@ -1780,7 +1780,7 @@ static void do_makeDispListCurveTypes(
                        curve_calc_modifiers_post(depsgraph, scene, ob, &nubase, dispbase, r_final, for_render, use_render_resolution);
                }
 
-               if (cu->flag & CU_DEFORM_FILL && !ob->derivedFinal) {
+               if (cu->flag & CU_DEFORM_FILL && !ob->runtime.mesh_eval) {
                        curve_to_filledpoly(cu, &nubase, dispbase);
                }