mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-11-18 00:05:59 +01:00
fix: a duplicated cab control keeps its scale table
MirrorCopy() of a duplicate: yes control (#285) now copies the scaletable: of the duplicate's definition too, so the copy is animated on the same non-uniform scale.
This commit is contained in:
@@ -467,6 +467,7 @@ TGauge TGauge::MirrorCopy() const {
|
||||
mirror.m_endscale = m_endscale;
|
||||
mirror.m_endvalue = m_endvalue;
|
||||
mirror.m_interpolatescale = m_interpolatescale;
|
||||
mirror.m_scaletable = m_scaletable;
|
||||
mirror.m_state = m_state;
|
||||
mirror.m_sourcemodel = m_sourcemodel;
|
||||
return mirror;
|
||||
|
||||
Reference in New Issue
Block a user