Skip to content

Commit

Permalink
Fixed annotation rendering issue
Browse files Browse the repository at this point in the history
  • Loading branch information
pyushkevich committed Jan 14, 2025
1 parent 70cc6ac commit 9878843
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions GUI/Qt/Components/SliceViewPanel.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,8 @@ class SliceViewDelegateChain
// Configure mode map
m_ToolbarModeMap[POLYGON_DRAWING_MODE] = std::make_pair(m_PolygonMode, nullptr);
m_ToolbarModeMap[PAINTBRUSH_MODE] = std::make_pair(m_PaintbrushMode, m_PaintbrushRenderer);
m_ToolbarModeMap[ANNOTATION_MODE] = std::make_pair(m_AnnotationMode, nullptr);
m_ToolbarModeMap[REGISTRATION_MODE] =
std::make_pair(m_RegistrationMode, m_RegistrationRenderer);
m_ToolbarModeMap[ANNOTATION_MODE] = std::make_pair(m_AnnotationMode, m_AnnotationRenderer);
m_ToolbarModeMap[REGISTRATION_MODE] = std::make_pair(m_RegistrationMode, m_RegistrationRenderer);
m_ToolbarModeMap[ROI_MODE] = std::make_pair(m_SnakeROIMode, m_SnakeROIRenderer);
m_ToolbarModeMap[CROSSHAIRS_MODE] = std::make_pair(m_CrosshairsMode, nullptr);
m_ToolbarModeMap[NAVIGATION_MODE] = std::make_pair(m_ZoomPanMode, nullptr);
Expand Down

0 comments on commit 9878843

Please sign in to comment.