Fix for [#19610] Hair cut tool, keeps cutting hidden hairs.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user