Cleanup: remove outdated reference to "derived" mesh
This commit is contained in:
@@ -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 ||
|
||||
|
||||
Reference in New Issue
Block a user