forked from organicmaps/organicmaps
Generate data for 3d buildings only if 3d mode enabled.
This commit is contained in:
parent
3339b9bc1f
commit
86f5ffd371
1 changed files with 1 additions and 1 deletions
|
@ -432,7 +432,7 @@ gui::TWidgetsSizeInfo const & DrapeEngine::GetWidgetSizes()
|
|||
void DrapeEngine::Allow3dMode(bool allow3d, bool allow3dBuildings)
|
||||
{
|
||||
m_threadCommutator->PostMessage(ThreadsCommutator::ResourceUploadThread,
|
||||
make_unique_dp<Allow3dBuildingsMessage>(allow3dBuildings),
|
||||
make_unique_dp<Allow3dBuildingsMessage>(allow3d && allow3dBuildings),
|
||||
MessagePriority::Normal);
|
||||
|
||||
m_threadCommutator->PostMessage(ThreadsCommutator::RenderThread,
|
||||
|
|
Loading…
Add table
Reference in a new issue