Skip to content

Commit

Permalink
move instruction in condition
Browse files Browse the repository at this point in the history
  • Loading branch information
Koyaani committed May 24, 2022
1 parent 1c70602 commit 63ccbd1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions py3dtiles/convert.py
Original file line number Diff line number Diff line change
Expand Up @@ -561,11 +561,10 @@ def add_tasks_to_process(state, name, task, point_count):
processed_points += content['total']
points_in_progress -= content['total']

node_store.put(content['name'], content['save'])

del state.node_process.active[content['name']]

if content['name']:
node_store.put(content['name'], content['save'])
state.node_process.inactive.append(content['name'])

if not state.reader.input and not state.reader.active:
Expand Down

0 comments on commit 63ccbd1

Please sign in to comment.