Preserves automation scale when everything is disconnected
This commit is contained in:
@@ -111,6 +111,16 @@ public:
|
||||
return m_tangents;
|
||||
}
|
||||
|
||||
inline float getMin() const
|
||||
{
|
||||
return firstObject()->minValue<float>();
|
||||
}
|
||||
|
||||
inline float getMax() const
|
||||
{
|
||||
return firstObject()->maxValue<float>();
|
||||
}
|
||||
|
||||
inline bool hasAutomation() const
|
||||
{
|
||||
return m_timeMap.isEmpty() == false;
|
||||
|
||||
@@ -66,7 +66,7 @@ private:
|
||||
QPixmap m_paintPixmap;
|
||||
bool m_needsUpdate;
|
||||
|
||||
void scaleTimemapToFit();
|
||||
void scaleTimemapToFit( float oldMin, float oldMax );
|
||||
|
||||
} ;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user