Fix particle lasso selecting non-visible keys

Even though hidden/faded keys are not supported in drawing in 2.8 yet,
the selection tools should not be able to select non-visible keys.

Spotted while looking into T70259

Reviewers: JacquesLucke

Differential Revision: https://developer.blender.org/D5902
This commit is contained in:
Philipp Oeser 2019-09-26 12:51:36 +02:00
parent b07db54cad
commit 39d855f8f3
1 changed files with 1 additions and 1 deletions

View File

@ -2296,7 +2296,7 @@ int PE_lasso_select(bContext *C, const int mcords[][2], const short moves, const
}
if (pset->selectmode == SCE_SELECT_POINT) {
LOOP_KEYS
LOOP_VISIBLE_KEYS
{
copy_v3_v3(co, key->co);
mul_m4_v3(mat, co);