summaryrefslogtreecommitdiffstats
path: root/Project/Machines.cpp
diff options
context:
space:
mode:
authorThales Lima Oliveira <thaleslima.ufu@gmail.com>2017-01-06 20:52:54 -0200
committerGitHub <noreply@github.com>2017-01-06 20:52:54 -0200
commitb44aa5ce9401889d948149cc100d1b2ef3611d04 (patch)
tree42a64542d07a4997be5e216ffd54a27e39f76b56 /Project/Machines.cpp
parent9df133274802731220546d1f9383c213193c8413 (diff)
parent2cd589742c6a4fd289d2f0696d844ccf18b917cb (diff)
downloadPSP.git-b44aa5ce9401889d948149cc100d1b2ef3611d04.tar.gz
PSP.git-b44aa5ce9401889d948149cc100d1b2ef3611d04.tar.xz
PSP.git-b44aa5ce9401889d948149cc100d1b2ef3611d04.zip
Merge pull request #19 from Thales1330/bugfix/power-elements
Bugfix on power elements
Diffstat (limited to 'Project/Machines.cpp')
-rw-r--r--Project/Machines.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Project/Machines.cpp b/Project/Machines.cpp
index bde70cb..6016df8 100644
--- a/Project/Machines.cpp
+++ b/Project/Machines.cpp
@@ -136,6 +136,7 @@ void Machines::RotateNode(Element* parent, bool clockwise)
if(parent == m_parentList[0]) {
m_pointList[0] = parent->RotateAtPosition(m_pointList[0], rotAngle);
UpdateSwitchesPosition();
+ UpdatePowerFlowArrowsPosition();
}
}