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
330330 appInstance->getAvatar(),
331331 SLOT(setWantColor(bool)));
332332
333− addCheckableActionToQMenuAndActionHash(debugMenu, MenuOption::DisableLowRes, NULL, NULL);
334−
335− // debugMenu->addAction("Disable Lower Resolution While Moving", this, SLOT(disableLowResMoving(bool)))->setCheckable(true);
336−
337− addCheckableActionToQMenuAndActionHash(debugMenu, MenuOption::DisableDeltaSending, NULL, NULL);
333+ addCheckableActionToQMenuAndActionHash(debugMenu,
334+ MenuOption::LowRes,
335+ 0,
336+ true,
337+ appInstance->getAvatar(),
338+ SLOT(setWantLowResMoving(bool)));
338339
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)));
340346
341347 addCheckableActionToQMenuAndActionHash(debugMenu, MenuOption::DisableOcclusionCulling, Qt::SHIFT | Qt::Key_C);
342348 // (_occlusionCulling = debugMenu->addAction("Disable Occlusion Culling", this, SLOT(disableOcclusionCulling(bool)),