Skip to content

Commit

Permalink
Fix for the fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Naxela committed May 6, 2021
1 parent 055f09e commit f364b1f
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions addon/utility/build.py
Expand Up @@ -17,6 +17,7 @@
previous_settings = {}
postprocess_shutdown = False
logging = True
tlm_log = log.TLM_Logman()

def prepare_build(self=0, background_mode=False, shutdown_after_build=False):

Expand Down Expand Up @@ -240,14 +241,12 @@ def distribute_building():


def finish_assemble(self=0, background_pass=0, load_atlas=0):

if not tlm_log:
global tlm_log
tlm_log = log.TLM_Logman()
tlm_log.append("Preparing build")

print("Finishing assembly")

tlm_log = log.TLM_Logman()
tlm_log.append("Preparing build")

if load_atlas:
print("Assembly in Atlas load mode")
tlm_log.append("Assembly in Atlas load mode")
Expand Down

0 comments on commit f364b1f

Please sign in to comment.