diff options
author | Antony Riakiotakis <kalast@gmail.com> | 2015-08-14 18:11:31 +0300 |
---|---|---|
committer | Antony Riakiotakis <kalast@gmail.com> | 2015-08-14 18:11:31 +0300 |
commit | 18648bef7b95fb37951b6f12aac965c3b8a68cd3 (patch) | |
tree | d69b713c06dbba5e2bfaec3e3e6e5e66b56d823c | |
parent | 5fafd493c2e871e9ce20ab31aea79d332b3bdfb6 (diff) |
Fix dyntopo not warning anymore when vertex colors or uvs are present.
We check against loop data now, not tessface data
-rw-r--r-- | source/blender/editors/sculpt_paint/sculpt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/sculpt_paint/sculpt.c b/source/blender/editors/sculpt_paint/sculpt.c index 9f1393f40bd..558306773e4 100644 --- a/source/blender/editors/sculpt_paint/sculpt.c +++ b/source/blender/editors/sculpt_paint/sculpt.c @@ -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; |