From e41d6d013ab762284d9f83879edbcb40d25deaa5 Mon Sep 17 00:00:00 2001 From: poikilos <7557867+poikilos@users.noreply.github.com> Date: Tue, 1 Mar 2016 10:44:43 -0500 Subject: [PATCH] working on reducing rerenders --- chunkymap-regen.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/chunkymap-regen.py b/chunkymap-regen.py index 9b6d1cb..e921066 100644 --- a/chunkymap-regen.py +++ b/chunkymap-regen.py @@ -663,6 +663,7 @@ class MTChunks: print("(moved to '"+dest_png_path+"')") self.prepare_chunk_meta(chunk_luid) # DOES load existing yml if exists self.chunks[chunk_luid].is_fresh = True + self.chunks[chunk_luid].metadata["is_empty"] = False except: print ("Could not finish moving '"+tmp_png_path+"' to '"+dest_png_path+"'") try: @@ -885,6 +886,7 @@ class MTChunks: self.rendered_count += 1 if (self._render_chunk(x,z)): result = True + else: if self.is_chunk_rendered_on_dest(chunk_luid): result = True