Commit a1688a37 authored by denis's avatar denis

changeGlobalState buffer2scene

parent de742ee5
......@@ -942,12 +942,14 @@ QString TurtleModule::initialize(const QStringList &configurationParameters, con
Q_UNUSED(old); // Remove this line on implementation
Q_UNUSED(current); // Remove this line on implementation
usleep(10);
CurScene->fromBufferToScene();
currentState=current;
CurView->setViewportUpdateMode (QGraphicsView::FullViewportUpdate);
CurView->forceRedraw();
CurScene->update(CurScene->sceneRect());
CurView->repaint();
CurView->viewport()->update();
drawNet();
......
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