From 6f1055e09d869b7c2f7abb76d0e9e535b0185451 Mon Sep 17 00:00:00 2001 From: jerrrrycho Date: Mon, 9 Nov 2026 16:13:43 +0100 Subject: [PATCH] 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. --- vehicle/Gauge.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/vehicle/Gauge.cpp b/vehicle/Gauge.cpp index dca3781ae..52bf7795d 100644 --- a/vehicle/Gauge.cpp +++ b/vehicle/Gauge.cpp @@ -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;