diff options
Diffstat (limited to 'Project/Line.cpp')
-rw-r--r-- | Project/Line.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Project/Line.cpp b/Project/Line.cpp index a473562..b7b5ba7 100644 --- a/Project/Line.cpp +++ b/Project/Line.cpp @@ -420,6 +420,12 @@ bool Line::SetNodeParent(Element* parent) return false; } +void Line::SetPowerFlowDirection(PowerFlowDirection pfDirection) +{ + m_pfDirection = pfDirection; + UpdatePowerFlowArrowsPosition(); +} + void Line::UpdatePowerFlowArrowsPosition() { std::vector<wxPoint2DDouble> edges; |