Commit 85da2e0d authored by Dmitry Kazakov's avatar Dmitry Kazakov

Fix crash when trying to zoom on lod+animated canvas

parent aa6e7390
......@@ -357,9 +357,11 @@ private:
if (defaultBounds->currentLevelOfDetail()) {
if (!m_lodData) {
Data *srcData = currentNonLodData();
QMutexLocker l(&m_dataSwitchLock);
if (!m_lodData) {
m_lodData.reset(new Data(m_data, false));
m_lodData.reset(new Data(srcData, false));
data =;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment