Sculpt Symmetrize: Fix bug in main brush loop

This commit is contained in:
Pablo Dobarro 2021-04-16 01:25:22 +02:00
parent 430641d481
commit 11d1fdeb34
1 changed files with 1 additions and 4 deletions

View File

@ -233,10 +233,9 @@ static void do_shape_symmetrize_brush_task_cb(void *__restrict userdata,
}
const int symmetrical_index = ss->vertex_info.symmetrize_map[vd.index];
printf("SYMM INDEX %d\n", symmetrical_index);
if (symmetrical_index == -1) {
return;
continue;
}
float symm_co[3];
@ -261,8 +260,6 @@ void SCULPT_do_symmetrize_brush(Sculpt *sd, Object *ob, PBVHNode **nodes, int to
return;
}
printf("SYMMETRIZE BRUSH STEP \n");
SCULPT_symmetrize_map_ensure(ob);
SculptThreadedTaskData data = {