From 580ddfbd4bfdc320035e56397cddef213f773ae4 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 27 May 2024 12:08:22 +1000 Subject: [PATCH] Cleanup: remove outdated reference to "derived" mesh --- source/blender/blenkernel/intern/mesh_data_update.cc | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/source/blender/blenkernel/intern/mesh_data_update.cc b/source/blender/blenkernel/intern/mesh_data_update.cc index a1e10d83e1c..76732d60355 100644 --- a/source/blender/blenkernel/intern/mesh_data_update.cc +++ b/source/blender/blenkernel/intern/mesh_data_update.cc @@ -1194,9 +1194,8 @@ Mesh *mesh_get_eval_deform(Depsgraph *depsgraph, * they aren't cleaned up properly on mode switch, causing crashes, e.g #58150. */ BLI_assert(ob->id.tag & LIB_TAG_COPIED_ON_EVAL); - /* if there's no derived mesh or the last data mask used doesn't include - * the data we need, rebuild the derived mesh - */ + /* If there's no evaluated mesh or the last data mask used doesn't include + * the data we need, rebuild the evaluated mesh. */ bool need_mapping; CustomData_MeshMasks cddata_masks = *dataMask; @@ -1255,9 +1254,8 @@ Mesh *editbmesh_get_eval_cage(Depsgraph *depsgraph, { CustomData_MeshMasks cddata_masks = *dataMask; - /* if there's no derived mesh or the last data mask used doesn't include - * the data we need, rebuild the derived mesh - */ + /* If there's no evaluated mesh or the last data mask used doesn't include + * the data we need, rebuild the evaluated mesh. */ object_get_datamask(*depsgraph, *obedit, cddata_masks, nullptr); if (!obedit->runtime->editmesh_eval_cage ||