Skip to content

Commit

Permalink
Redraw picking image in DrawMode. Re #6624.
Browse files Browse the repository at this point in the history
  • Loading branch information
mantid-roman authored and wdzhou committed Mar 19, 2013
1 parent 6280606 commit 85b23f4
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,10 @@ void ProjectionSurface::clear()
*/
void ProjectionSurface::draw(MantidGLWidget *widget)const
{
if ( m_viewChanged && ( m_redrawPicking || m_interactionMode == PickSingleMode || m_interactionMode == PickTubeMode ) )
if ( m_viewChanged && ( m_redrawPicking
|| m_interactionMode == PickSingleMode
|| m_interactionMode == PickTubeMode
|| m_interactionMode == DrawMode ) )
{
draw(widget,true);
m_redrawPicking = false;
Expand Down

0 comments on commit 85b23f4

Please sign in to comment.