Fix T64120: Dynamic Paint Doesn't Recalculate Normals with Smooth Shading.
[blender.git] / source / blender / blenkernel / intern / dynamicpaint.c
index 93b6fd34a8f760e76279cf508442c16ca8564ed1..b5242d00ee0707219afc943c82e88aeacded4f26 100644 (file)
@@ -2066,7 +2066,7 @@ static Mesh *dynamicPaint_Modifier_apply(DynamicPaintModifierData *pmd, Object *
     }
 
     if (update_normals) {
-      // result->dirty |= DM_DIRTY_NORMALS;
+      result->runtime.cd_dirty_vert |= CD_MASK_NORMAL;
     }
   }
   /* make a copy of mesh to use as brush data */