[Bf-blender-cvs] [ef3d68f17b1] sculpt-dev: Sculpt IPMask: Use the new mask filter in the pie menu

Pablo Dobarro noreply at git.blender.org
Fri Feb 26 14:59:02 CET 2021


Commit: ef3d68f17b1c37a9d23f981e33b5041f867132f4
Author: Pablo Dobarro
Date:   Fri Feb 26 14:46:02 2021 +0100
Branches: sculpt-dev
https://developer.blender.org/rBef3d68f17b1c37a9d23f981e33b5041f867132f4

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

===================================================================

M	source/blender/editors/sculpt_paint/sculpt_filter_mask.c

===================================================================

diff --git a/source/blender/editors/sculpt_paint/sculpt_filter_mask.c b/source/blender/editors/sculpt_paint/sculpt_filter_mask.c
index 40f5e4e6cec..338daa341ea 100644
--- a/source/blender/editors/sculpt_paint/sculpt_filter_mask.c
+++ b/source/blender/editors/sculpt_paint/sculpt_filter_mask.c
@@ -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]);



More information about the Bf-blender-cvs mailing list