[Bf-blender-cvs] [39d855f8f32] master: Fix particle lasso selecting non-visible keys
Philipp Oeser
noreply at git.blender.org
Thu Sep 26 14:48:40 CEST 2019
Commit: 39d855f8f32b5d0a2ed271ffcc613e191da90311
Author: Philipp Oeser
Date: Thu Sep 26 12:51:36 2019 +0200
Branches: master
https://developer.blender.org/rB39d855f8f32b5d0a2ed271ffcc613e191da90311
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
===================================================================
M source/blender/editors/physics/particle_edit.c
===================================================================
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);
More information about the Bf-blender-cvs
mailing list