RendertileSet: Do not render the root tile unnecessarily
This commit is contained in:
@@ -1442,7 +1442,7 @@ class RendertileSet(object):
|
|||||||
for p in roundrobin(gens) if robin else chain(*gens):
|
for p in roundrobin(gens) if robin else chain(*gens):
|
||||||
yield p
|
yield p
|
||||||
|
|
||||||
if onlydepth is None and children:
|
if onlydepth is None and any(children_list):
|
||||||
yield path
|
yield path
|
||||||
|
|
||||||
def query_path(self, path):
|
def query_path(self, path):
|
||||||
|
|||||||
Reference in New Issue
Block a user