diff options
author | Thales1330 <thaleslima.ufu@gmail.com> | 2016-11-01 19:36:24 -0200 |
---|---|---|
committer | Thales1330 <thaleslima.ufu@gmail.com> | 2016-11-01 19:36:24 -0200 |
commit | b306118b2683cf6f264b5f1617c3e0e62a6c9042 (patch) | |
tree | 2059f3a6647d5021a0eaa7f1b08635cbcd83def0 /Project/Machines.cpp | |
parent | 7d4df7195202eaea0e84f227e96f19dec4144081 (diff) | |
download | PSP.git-b306118b2683cf6f264b5f1617c3e0e62a6c9042.tar.gz PSP.git-b306118b2683cf6f264b5f1617c3e0e62a6c9042.tar.xz PSP.git-b306118b2683cf6f264b5f1617c3e0e62a6c9042.zip |
Power flow (gs) under implementation
Diffstat (limited to 'Project/Machines.cpp')
-rw-r--r-- | Project/Machines.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Project/Machines.cpp b/Project/Machines.cpp index 0f2dc43..12afe61 100644 --- a/Project/Machines.cpp +++ b/Project/Machines.cpp @@ -106,7 +106,6 @@ void Machines::MoveNode(Element* element, wxPoint2DDouble position) if(m_activeNodeID == 1) { m_pointList[0] = m_movePts[0] + position - m_moveStartPt; m_parentList[0] = NULL; - m_pfDirection = PF_NONE; m_online = false; } } @@ -138,7 +137,6 @@ void Machines::RemoveParent(Element* parent) { if(parent == m_parentList[0]) { m_parentList[0] = NULL; - m_pfDirection = PF_NONE; UpdateSwitchesPosition(); UpdatePowerFlowArrowsPosition(); } @@ -181,7 +179,6 @@ bool Machines::SetNodeParent(Element* parent) else { m_parentList[0] = NULL; - m_pfDirection = PF_NONE; m_online = false; } } @@ -196,7 +193,6 @@ void Machines::UpdateNodes() if(!m_parentList[0]->Intersects(nodeRect)) { m_parentList[0] = NULL; - m_pfDirection = PF_NONE; m_online = false; UpdateSwitchesPosition(); UpdatePowerFlowArrowsPosition(); |