Fixed integration tests.

This commit is contained in:
bubnikv 2018-12-03 16:25:21 +01:00
parent 3e0a06aa0e
commit 86e6f8bf33
2 changed files with 7 additions and 2 deletions

View file

@ -76,9 +76,10 @@ void SLAPrint::clear()
tbb::mutex::scoped_lock lock(this->state_mutex());
// The following call should stop background processing if it is running.
this->invalidate_all_steps();
for (SLAPrintObject *object : m_objects) delete object;
for (SLAPrintObject *object : m_objects)
delete object;
m_objects.clear();
m_model.clear_objects();
}
// Transformation without rotation around Z and without a shift by X and Y.