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
445445 appInstance->getVoxels(),
446446 SLOT(cullSharedFaces()));
447447
448+ addCheckableActionToQMenuAndActionHash(renderDebugMenu,
449+ MenuOption::ShowCulledSharedFaces,
450+ Qt::CTRL | Qt::SHIFT | Qt::Key_X,
451+ false,
452+ appInstance->getVoxels(),
453+ SLOT(showCulledSharedFaces()));
454+
448455 addDisabledActionAndSeparator(renderDebugMenu, "Coverage Maps");
449456 addActionToQMenuAndActionHash(renderDebugMenu,
450457 MenuOption::FalseColorOccluded,