Fix dyntopo not warning anymore when vertex colors or uvs are present.
We check against loop data now, not tessface data
This commit is contained in:
@@ -4897,7 +4897,7 @@ static int sculpt_dynamic_topology_toggle_invoke(bContext *C, wmOperator *op, co
|
||||
if (!ELEM(i, CD_MVERT, CD_MEDGE, CD_MFACE, CD_MLOOP, CD_MPOLY, CD_PAINT_MASK, CD_ORIGINDEX) &&
|
||||
(CustomData_has_layer(&me->vdata, i) ||
|
||||
CustomData_has_layer(&me->edata, i) ||
|
||||
CustomData_has_layer(&me->fdata, i)))
|
||||
CustomData_has_layer(&me->ldata, i)))
|
||||
{
|
||||
vdata = true;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user