geometry_value_string=str(min_x)+":"+str(min_z)+"+"+str(int(max_x)-int(min_x)+1)+"+"+str(int(max_z)-int(min_z)+1)# +1 since max-min is exclusive and width must be inclusive for minetestmapper.py
geometry_value_string=str(min_x)+":"+str(min_z)+"+"+str(int(max_x)-int(min_x)+1)+"+"+str(int(max_z)-int(min_z)+1)# +1 since max-min is exclusive and width must be inclusive for minetestmapper.py
print(min_indent+"Could not finish "+participle+" while deleting/moving output")
print(min_indent+"Could not finish "+participle+" while deleting/moving output")
view_traceback()
view_traceback()
else:
print(min_indent+"database locked: "+lock_line)
except:
except:
print(min_indent+"Could not finish deleting/moving temp files")
print(min_indent+"Could not finish deleting/moving temp files")
view_traceback()
view_traceback()
@ -1231,7 +1253,7 @@ class MTChunks:
returnresult
returnresult
#Returns: (boolean) whether the chunk image is present on dest (rendered now or earlier)--only possible if there is chunk data at the given location
#Returns: (boolean) whether the chunk image is present on dest (rendered now or earlier); else None if database is locked (then re-adds it to self.todo_positions)--only possible if there is chunk data at the given location
defcheck_chunk(self,chunky_x,chunky_z):
defcheck_chunk(self,chunky_x,chunky_z):
min_indent=""
min_indent=""
result=[False,""]
result=[False,""]
@ -1323,8 +1345,15 @@ class MTChunks:
self.rendered_count+=1
self.rendered_count+=1
ifnotself.verbose_enable:
ifnotself.verbose_enable:
print(min_indent+chunk_luid+": "+result[1])
print(min_indent+chunk_luid+": "+result[1])
if(self._render_chunk(chunky_x,chunky_z)):
sub_result=self._render_chunk(chunky_x,chunky_z)
if(sub_result==True):
result[0]=True
result[0]=True
elifsub_result==None:
result[0]=None
self.todo_positions.append((chunky_x,chunky_z))#redo this one
#geometry_string = str(min_x)+":"+str(min_z)+"+"+str(int(max_x)-int(min_x)+1)+"+"+str(int(max_z)-int(min_z)+1) # +1 since max-min is exclusive and width must be inclusive for minetestmapper.py
#geometry_string = str(min_x)+":"+str(min_z)+"+"+str(int(max_x)-int(min_x)+1)+"+"+str(int(max_z)-int(min_z)+1) # +1 since max-min is exclusive and width must be inclusive for minetestmapper.py