Cleanup: make format
This commit is contained in:
@@ -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)));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user