Skip to content

Commit 08ab829

Browse files
USD Viewer: added edge map view mode
1 parent 5dd3d01 commit 08ab829

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Samples/USDViewer/src/USDViewer.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -906,7 +906,8 @@ void USDViewer::UpdateUI()
906906
ViewModes[USD::HN_VIEW_MODE_CLEARCOAT_ROUGHNESS] = "Clear Coat Roughness";
907907
ViewModes[USD::HN_VIEW_MODE_CLEARCOAT_NORMAL] = "Clear Coat Normal";
908908
ViewModes[USD::HN_VIEW_MODE_SCENE_DEPTH] = "Scene Depth";
909-
static_assert(USD::HN_VIEW_MODE_COUNT == 25, "Did you add a new view mode? You may want to handle it here");
909+
ViewModes[USD::HN_VIEW_MODE_EDGE_MAP] = "Edge Map";
910+
static_assert(USD::HN_VIEW_MODE_COUNT == 26, "Did you add a new view mode? You may want to handle it here");
910911

911912
if (ImGui::Combo("View Mode", &m_Stage.ViewMode, ViewModes.data(), static_cast<int>(ViewModes.size()), 15))
912913
{

0 commit comments

Comments
 (0)