Fixed toolbar update when switching between 3d view/preview using tab or ctrl+5/6

This commit is contained in:
Enrico Turri 2018-12-21 10:10:49 +01:00
parent 5006633221
commit 1d3d87c2b9
2 changed files with 5 additions and 3 deletions

View file

@ -983,7 +983,7 @@ GLVolumesWithZList volumes_to_render(const GLVolumePtrs& volumes, GLVolumeCollec
}
std::sort(list.begin(), list.end(),
[](const GLVolumeWithZ& v1, const GLVolumeWithZ& v2) -> bool { return v1.second < v2.second; }
[](const GLVolumeWithZ& v1, const GLVolumeWithZ& v2) -> bool { return v1.second < v2.second; }
);
}