Commit 1459e589 authored by Victor Yacovlev's avatar Victor Yacovlev

Possible Robot editor fix (requires test on Windows)

parent 7c77f7cc
Pipeline #356 passed with stages
in 36 minutes and 57 seconds
...@@ -240,6 +240,8 @@ namespace ActorRobot { ...@@ -240,6 +240,8 @@ namespace ActorRobot {
upWallLine->setPen(pen); upWallLine->setPen(pen);
Scene->addItem(upWallLine); Scene->addItem(upWallLine);
upWallLine->setZValue(1); upWallLine->setZValue(1);
Scene->update();
update();
} }
void FieldItm::showCharMark(qreal upLeftCornerX, qreal upLeftCornerY, int size) void FieldItm::showCharMark(qreal upLeftCornerX, qreal upLeftCornerY, int size)
...@@ -414,6 +416,8 @@ namespace ActorRobot { ...@@ -414,6 +416,8 @@ namespace ActorRobot {
downWallLine->setPen(pen); downWallLine->setPen(pen);
Scene->addItem(downWallLine); Scene->addItem(downWallLine);
downWallLine->setZValue(1); downWallLine->setZValue(1);
Scene->update();
update();
} }
void FieldItm::setLeftLine(QGraphicsLineItem *Line, QPen pen) void FieldItm::setLeftLine(QGraphicsLineItem *Line, QPen pen)
...@@ -422,6 +426,8 @@ namespace ActorRobot { ...@@ -422,6 +426,8 @@ namespace ActorRobot {
leftWallLine->setPen(pen); leftWallLine->setPen(pen);
Scene->addItem(leftWallLine); Scene->addItem(leftWallLine);
leftWallLine->setZValue(1); leftWallLine->setZValue(1);
Scene->update();
update();
} }
void FieldItm::setRightLine(QGraphicsLineItem *Line, QPen pen) void FieldItm::setRightLine(QGraphicsLineItem *Line, QPen pen)
...@@ -431,6 +437,8 @@ namespace ActorRobot { ...@@ -431,6 +437,8 @@ namespace ActorRobot {
Scene->addItem(rightWallLine); Scene->addItem(rightWallLine);
rightWallLine->setZValue(1); rightWallLine->setZValue(1);
Scene->update();
update();
} }
bool FieldItm::hasUpWall() bool FieldItm::hasUpWall()
......
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