Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source/blender/editors/physics/particle_edit.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/editors/physics/particle_edit.c b/source/blender/editors/physics/particle_edit.c
index 74ed6451d29..6fc34c4fcf8 100644
--- a/source/blender/editors/physics/particle_edit.c
+++ b/source/blender/editors/physics/particle_edit.c
@@ -2708,6 +2708,10 @@ static void brush_cut(PEData *data, int pa_index)
/* blunt scissors */
if(BLI_frand() > data->cutfac) return;
+ /* don't cut hidden */
+ if(edit->points[pa_index].flag & PEP_HIDE)
+ return;
+
rad2= data->rad * data->rad;
cut=0;