Bugfix: show XOR progress after the particular job is done.

This commit is contained in:
Matthias Koefferlein 2018-04-24 21:48:57 +02:00
parent 43325cb861
commit f989b961c1
2 changed files with 5 additions and 2 deletions

View File

@ -18,6 +18,9 @@
In some cases, DXF cell instances did not trigger bounding In some cases, DXF cell instances did not trigger bounding
box update and the cells only got visible after save and box update and the cells only got visible after save and
load. load.
* Bugfix: XOR progress is more realistic
The progress is updated after the layer has been computed,
not before.
* Bugfix: https://github.com/klayoutmatthias/klayout/issues/117 * Bugfix: https://github.com/klayoutmatthias/klayout/issues/117
DTrans#itype was broken. DTrans#itype was broken.
* Bugfix: https://github.com/klayoutmatthias/klayout/issues/116 * Bugfix: https://github.com/klayoutmatthias/klayout/issues/116

View File

@ -663,8 +663,6 @@ XORWorker::do_perform (const XORTask *xor_task)
unsigned int tol_index = 0; unsigned int tol_index = 0;
for (std::vector <db::Coord>::const_iterator t = mp_job->tolerances ().begin (); t != mp_job->tolerances ().end (); ++t, ++tol_index) { for (std::vector <db::Coord>::const_iterator t = mp_job->tolerances ().begin (); t != mp_job->tolerances ().end (); ++t, ++tol_index) {
mp_job->next_progress ();
const std::vector<unsigned int> &la = xor_task->la (); const std::vector<unsigned int> &la = xor_task->la ();
const std::vector<unsigned int> &lb = xor_task->lb (); const std::vector<unsigned int> &lb = xor_task->lb ();
@ -869,6 +867,8 @@ XORWorker::do_perform (const XORTask *xor_task)
} }
mp_job->next_progress ();
} }
} }