== Multires ==
Fixed bug #6056, Brush Grab in SculptMode don't works for ShapeKeys * Grab Brush stores active vertices differently from other brushes, need to read from a different List when updating shape keys.
This commit is contained in:
@@ -1221,7 +1221,8 @@ void do_brush_action(float *vertexcosnos, EditData e,
|
|||||||
if(keyblock) {
|
if(keyblock) {
|
||||||
float *co= keyblock->data;
|
float *co= keyblock->data;
|
||||||
if(co) {
|
if(co) {
|
||||||
for(adata= active_verts.first; adata; adata= adata->next)
|
adata = e.grabdata ? e.grabdata->active_verts[e.grabdata->index].first : active_verts.first;
|
||||||
|
for(; adata; adata= adata->next)
|
||||||
if(adata->Index < keyblock->totelem)
|
if(adata->Index < keyblock->totelem)
|
||||||
VecCopyf(&co[adata->Index*3], me->mvert[adata->Index].co);
|
VecCopyf(&co[adata->Index*3], me->mvert[adata->Index].co);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user