Commit 34d8441e authored by denis's avatar denis

Isp fixes.

parent c7a31838
......@@ -1327,7 +1327,7 @@ void DrawModule::redraw()
// qApp->processEvents();
mutex.unlock();
drawNet();
qApp->processEvents();
//qApp->processEvents();
}
} // namespace ActorDraw
......@@ -5646,12 +5646,9 @@ void RobotView::changeEditMode(bool state)
repaint();
update();
};
ViewportUpdateMode mod=viewportUpdateMode ();
setViewportUpdateMode ( QGraphicsView::FullViewportUpdate);
setViewportUpdateMode (mod);
qDebug()<<"UPDATE VIEW";
scale(0.99,0.99);//repaint bugfix
scale(1.01,1.01);
};
} // $namespace
......@@ -119,8 +119,8 @@ namespace ActorTurtle {
}
void forceRedraw()
{
horizontalScrollBar()->setValue(horizontalScrollBar()->value() +10);
horizontalScrollBar()->setValue(horizontalScrollBar()->value()-10);
// horizontalScrollBar()->setValue(horizontalScrollBar()->value() +10);
// horizontalScrollBar()->setValue(horizontalScrollBar()->value()-10);
// verticalScrollBar()->setValue(horizontalScrollBar()->value() +1);
// verticalScrollBar()->setValue(horizontalScrollBar()->value()-1);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment