aesthetic cleanup
parent
7ebc56a831
commit
0955278f73
|
@ -147,14 +147,10 @@ def flatten_all_paths(group, group_filter=lambda x: True,
|
||||||
return paths
|
return paths
|
||||||
|
|
||||||
|
|
||||||
def flatten_group(
|
def flatten_group(group_to_flatten, root, recursive=True,
|
||||||
group_to_flatten,
|
group_filter=lambda x: True, path_filter=lambda x: True,
|
||||||
root,
|
path_conversions=CONVERSIONS,
|
||||||
recursive=True,
|
group_search_xpath=SVG_GROUP_TAG):
|
||||||
group_filter=lambda x: True,
|
|
||||||
path_filter=lambda x: True,
|
|
||||||
path_conversions=CONVERSIONS,
|
|
||||||
group_search_xpath=SVG_GROUP_TAG):
|
|
||||||
"""Flatten all the paths in a specific group.
|
"""Flatten all the paths in a specific group.
|
||||||
|
|
||||||
The paths will be flattened into the 'root' frame. Note that root
|
The paths will be flattened into the 'root' frame. Note that root
|
||||||
|
|
Loading…
Reference in New Issue