Commit fca8a1a0 authored by denis's avatar denis

Win build fix

parent 82f0769a
......@@ -173,13 +173,19 @@ namespace ActorTurtle {
}
void fromBufferToScene()
{
while(!itemsBuffer.isEmpty())addItem(itemsBuffer.takeFirst());
{ QGraphicsItemGroup *buff=createItemGroup(itemsBuffer);
buff->setZValue(90);
addItem(buff);
clearBuffer();
}
void clearBuffer()
{
itemsBuffer.clear();
}
int buffSize()
{
return itemsBuffer.count();
}
void DestroyNet();
void drawOnlyAxis(double startx ,double endx,double starty,double endy,qreal aw);
......
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