Cleanup: make format

This commit is contained in:
Dalai Felinto
2023-07-21 14:23:49 +02:00
parent 29b67ad31b
commit a51b38dec5
2 changed files with 3 additions and 2 deletions
@@ -1741,7 +1741,7 @@ class _defs_paint_grease_pencil:
icon="brush.gpencil_draw.draw",
data_block='DRAW',
)
@ToolDef.from_fn
def erase():
def draw_settings(context, layout, _tool):
@@ -437,7 +437,8 @@ int64_t ramer_douglas_peucker_simplify(const IndexRange range,
}
if (max_dist > epsilon) {
/* Found point outside the epsilon-sized strip. Repeat the search on the left & right side. */
/* Found point outside the epsilon-sized strip. Repeat the search on the left & right side.
*/
stack.push(sub_range.slice(IndexRange(max_index + 1)));
stack.push(sub_range.slice(IndexRange(max_index, sub_range.size() - max_index)));
}