Sculpt Symmetrize: Fix bug in main brush loop
This commit is contained in:
parent
430641d481
commit
11d1fdeb34
|
@ -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 = {
|
||||
|
|
Loading…
Reference in New Issue