Sculpt IPMask: Use the new mask filter in the pie menu

This commit is contained in:
Pablo Dobarro 2021-02-26 14:46:02 +01:00
parent 094ffcf669
commit ef3d68f17b
1 changed files with 1 additions and 2 deletions

View File

@ -466,7 +466,6 @@ static MaskFilterDeltaStep *sculpt_ipmask_filter_delta_create(const float *curre
delta_step->delta[delta_step_index] = next_mask[i] - current_mask[i];
delta_step_index++;
}
printf("DELTA STEP SIZE %d\n", delta_step->totelem);
return delta_step;
}
@ -680,7 +679,7 @@ static int sculpt_ipmask_filter_modal(bContext *C, wmOperator *op, const wmEvent
FilterCache *filter_cache = ss->filter_cache;
const int iteration_count = RNA_int_get(op->ptr, "iterations");
if (event->type == LEFTMOUSE && event->val == KM_RELEASE) {
if (event->type == LEFTMOUSE) {
for (int i = 0; i < filter_cache->totnode; i++) {
BKE_pbvh_node_mark_update_mask(filter_cache->nodes[i]);