Fix T51538: Weight-paint circle select w/ clipping

This commit is contained in:
Campbell Barton 2017-05-18 10:41:54 +10:00
parent c4d122e305
commit 102394a323
Notes: blender-bot 2023-02-14 06:58:02 +01:00
Referenced by issue #51550, R+R rotation and snapping dont work
Referenced by issue #51538, Blender crash when Circle Select tool while I`m on Clipping Border view
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ void meshobject_foreachScreenVert(
data.clip_flag = clip_flag;
if (clip_flag & V3D_PROJ_TEST_CLIP_BB) {
ED_view3d_clipping_local(vc->rv3d, vc->obedit->obmat); /* for local clipping lookups */
ED_view3d_clipping_local(vc->rv3d, vc->obact->obmat);
}
dm->foreachMappedVert(dm, meshobject_foreachScreenVert__mapFunc, &data, DM_FOREACH_NOP);