History

fix disabling of delta sending and low res while moving

Stephen Birarda committed 13 years ago

Commit b288cc41 parent c930d053 files · +15 −10Browse files

Showing the changes to interface/src/Menu.cpp (1 of 3 files). Show all

Unified · Split

interface/src/Menu.cpp+12−6
@@ -330,13 +330,19 @@ Menu::Menu() : · 329 unmodified lines
330 appInstance->getAvatar(),330 appInstance->getAvatar(),
331 SLOT(setWantColor(bool)));331 SLOT(setWantColor(bool)));
332 332
333 addCheckableActionToQMenuAndActionHash(debugMenu, MenuOption::DisableLowRes, NULL, NULL);333 addCheckableActionToQMenuAndActionHash(debugMenu,
334 334 MenuOption::LowRes,
335 // debugMenu->addAction("Disable Lower Resolution While Moving", this, SLOT(disableLowResMoving(bool)))->setCheckable(true);335 0,
336 336 true,
337 addCheckableActionToQMenuAndActionHash(debugMenu, MenuOption::DisableDeltaSending, NULL, NULL);337 appInstance->getAvatar(),
338 SLOT(setWantLowResMoving(bool)));
338 339
339 // debugMenu->addAction("Disable Delta Sending", this, SLOT(disableDeltaSending(bool)))->setCheckable(true);340 addCheckableActionToQMenuAndActionHash(debugMenu,
341 MenuOption::DeltaSending,
342 0,
343 true,
344 appInstance->getAvatar(),
345 SLOT(setWantDelta(bool)));
340 346
341 addCheckableActionToQMenuAndActionHash(debugMenu, MenuOption::DisableOcclusionCulling, Qt::SHIFT | Qt::Key_C);347 addCheckableActionToQMenuAndActionHash(debugMenu, MenuOption::DisableOcclusionCulling, Qt::SHIFT | Qt::Key_C);
342 // (_occlusionCulling = debugMenu->addAction("Disable Occlusion Culling", this, SLOT(disableOcclusionCulling(bool)),348 // (_occlusionCulling = debugMenu->addAction("Disable Occlusion Culling", this, SLOT(disableOcclusionCulling(bool)),