Commit 9824cdfe authored by Victor Yacovlev's avatar Victor Yacovlev

Robot25D: Fixed repaint on action with animation disabled

parent 8da7027f
......@@ -225,7 +225,7 @@ void RobotItem::moveTo(const Point2Di &point)
// emit startAnimationRequest();
}
else {
// setPosition(target);
setPosition(target);
// qDebug() << "Emit command finished";
emit evaluationFinished();
}
......@@ -257,7 +257,7 @@ void RobotItem::turnLeft()
// emit startAnimationRequest();
}
else {
// setFrameNo(i_endFrame);
setFrameNo(i_endFrame);
// qDebug() << "Emit command finished";
emit evaluationFinished();
}
......@@ -293,7 +293,7 @@ void RobotItem::turnRight()
// emit startAnimationRequest();
}
else {
// setFrameNo(i_endFrame);
setFrameNo(i_endFrame);
// qDebug() << "Emit command finished";
emit evaluationFinished();
}
......
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