diff options
author | Thales Lima Oliveira <thaleslima.ufu@gmail.com> | 2017-05-16 19:07:49 -0300 |
---|---|---|
committer | Thales Lima Oliveira <thaleslima.ufu@gmail.com> | 2017-05-16 19:07:49 -0300 |
commit | 1158ce068e3b5b391604270bf10c52d0d2f7f4db (patch) | |
tree | 7e9b770ede3c0592f631b9e6982be55d2173ea04 /Project/IOControl.cpp | |
parent | c6c3ff70bfceac839af471c11fc8aa04060517b0 (diff) | |
download | PSP.git-1158ce068e3b5b391604270bf10c52d0d2f7f4db.tar.gz PSP.git-1158ce068e3b5b391604270bf10c52d0d2f7f4db.tar.xz PSP.git-1158ce068e3b5b391604270bf10c52d0d2f7f4db.zip |
Sync generator control fixed
Diffstat (limited to 'Project/IOControl.cpp')
-rw-r--r-- | Project/IOControl.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Project/IOControl.cpp b/Project/IOControl.cpp index d9ea52e..2eab8de 100644 --- a/Project/IOControl.cpp +++ b/Project/IOControl.cpp @@ -222,3 +222,12 @@ void IOControl::UpdatePoints() } } } + +Element* IOControl::GetCopy() +{ + IOControl* copy = new IOControl(m_ioFlags, m_elementID); + *copy = *this; + m_glStringValue = NULL; + SetValue(m_value); + return copy; +} |