Skip to content

Commit

Permalink
Merge pull request #3185 from manyfold3d/show-completed-3mf-progress
Browse files Browse the repository at this point in the history
Update 3MF conversion buttons when finished
  • Loading branch information
Floppy authored Nov 18, 2024
2 parents 8ad3e67 + 24e3276 commit e6d3fd9
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions app/jobs/analysis/file_conversion_job.rb
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,12 @@ def perform(file_id, output_format)
:non_manifold,
true
)
ensure
if file
# Mark inefficient problem resolution as no longer in progress, if it's set
file.problems.where(category: :inefficient, in_progress: true).find_each do |x|
x.update(in_progress: false)
end
end
end
end

0 comments on commit e6d3fd9

Please sign in to comment.