mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 17:31:45 +00:00
Fix percentage loading implementation with the new more accurate progress number.
This commit is contained in:
@@ -646,7 +646,7 @@ class IfcImporter:
|
||||
)
|
||||
)
|
||||
checkpoint = time.time()
|
||||
# self.update_progress(((total / approx_total_products) * progress_range) + start_progress)
|
||||
self.update_progress((iterator.progress() / 100 * progress_range) + start_progress)
|
||||
shape = iterator.get()
|
||||
if shape:
|
||||
product = self.file.by_id(shape.guid)
|
||||
|
||||
Reference in New Issue
Block a user