History

Added new display mode to show culled faces.

matsukaze committed 12 years ago

Commit f15ddff1 parent 98411072 files · +9 −1Browse files

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

Unified · Split

interface/src/Menu.cpp+7−0
@@ -445,6 +445,13 @@ Menu::Menu() : · 444 unmodified lines
445 appInstance->getVoxels(),445 appInstance->getVoxels(),
446 SLOT(cullSharedFaces()));446 SLOT(cullSharedFaces()));
447 447
448 addCheckableActionToQMenuAndActionHash(renderDebugMenu,
449 MenuOption::ShowCulledSharedFaces,
450 Qt::CTRL | Qt::SHIFT | Qt::Key_X,
451 false,
452 appInstance->getVoxels(),
453 SLOT(showCulledSharedFaces()));
454
448 addDisabledActionAndSeparator(renderDebugMenu, "Coverage Maps");455 addDisabledActionAndSeparator(renderDebugMenu, "Coverage Maps");
449 addActionToQMenuAndActionHash(renderDebugMenu,456 addActionToQMenuAndActionHash(renderDebugMenu,
450 MenuOption::FalseColorOccluded,457 MenuOption::FalseColorOccluded,