AutomationPattern: fixed loadSettings() when there's just one value
If the settings for an AutomationPattern contain just one value at position 0, this value was not loaded properly. Thanks to raine for pointing out this issue and providing a patch. Closes #3448562.
This commit is contained in:
@@ -325,7 +325,7 @@ void AutomationPattern::loadSettings( const QDomElement & _this )
|
||||
}
|
||||
}
|
||||
|
||||
m_hasAutomation = m_timeMap.size() > 1;
|
||||
m_hasAutomation = m_timeMap.size() > 0;
|
||||
if( m_hasAutomation == false )
|
||||
{
|
||||
for( objectVector::iterator it = m_objects.begin();
|
||||
|
||||
Reference in New Issue
Block a user