From 39d855f8f32b5d0a2ed271ffcc613e191da90311 Mon Sep 17 00:00:00 2001 From: Philipp Oeser Date: Thu, 26 Sep 2019 12:51:36 +0200 Subject: 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 --- source/blender/editors/physics/particle_edit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/editors') diff --git a/source/blender/editors/physics/particle_edit.c b/source/blender/editors/physics/particle_edit.c index 549c51d0d82..5999076dd9f 100644 --- a/source/blender/editors/physics/particle_edit.c +++ b/source/blender/editors/physics/particle_edit.c @@ -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); -- cgit v1.2.3