Merge remote-tracking branch 'origin/stable-1.0'
Conflicts: CMakeLists.txt data/CMakeLists.txt include/SampleBuffer.h plugins/CMakeLists.txt plugins/zynaddsubfx/zynaddsubfx/src/Params/PADnoteParameters.cpp src/core/SampleBuffer.cpp
This commit is contained in:
@@ -344,8 +344,10 @@ void configManager::loadConfigFile()
|
||||
if( m_ladDir.isEmpty() || m_ladDir == QDir::separator() ||
|
||||
( !m_ladDir.contains( ':' ) && !QDir( m_ladDir ).exists() ) )
|
||||
{
|
||||
#ifdef LMMS_BUILD_WIN32
|
||||
#if defined(LMMS_BUILD_WIN32)
|
||||
m_ladDir = m_pluginDir + "ladspa" + QDir::separator();
|
||||
#elif defined(LMMS_BUILD_APPLE)
|
||||
m_ladDir = qApp->applicationDirPath() + "/../lib/lmms/ladspa/";
|
||||
#else
|
||||
m_ladDir = qApp->applicationDirPath() + '/' + LIB_DIR + "/ladspa/";
|
||||
#endif
|
||||
@@ -355,8 +357,10 @@ void configManager::loadConfigFile()
|
||||
if( m_stkDir.isEmpty() || m_stkDir == QDir::separator() ||
|
||||
!QDir( m_stkDir ).exists() )
|
||||
{
|
||||
#ifdef LMMS_BUILD_WIN32
|
||||
#if defined(LMMS_BUILD_WIN32)
|
||||
m_stkDir = m_dataDir + "stk/rawwaves/";
|
||||
#elif defined(LMMS_BUILD_APPLE)
|
||||
m_stkDir = qApp->applicationDirPath() + "/../share/stk/rawwaves/";
|
||||
#else
|
||||
m_stkDir = "/usr/share/stk/rawwaves/";
|
||||
#endif
|
||||
|
||||
@@ -748,6 +748,11 @@ void song::clearProject()
|
||||
engine::automationEditor()->setCurrentPattern( NULL );
|
||||
}
|
||||
|
||||
if( engine::pianoRoll() )
|
||||
{
|
||||
engine::pianoRoll()->reset();
|
||||
}
|
||||
|
||||
m_tempoModel.reset();
|
||||
m_masterVolumeModel.reset();
|
||||
m_masterPitchModel.reset();
|
||||
|
||||
@@ -1600,8 +1600,6 @@ void AutomationEditor::paintEvent( QPaintEvent * _pe )
|
||||
++it;
|
||||
}
|
||||
|
||||
Q_ASSERT( it == time_map.end()-1 );
|
||||
|
||||
for( int i = it.key(), x = xCoordOfTick( i ); x <= width();
|
||||
i++, x = xCoordOfTick( i ) )
|
||||
{
|
||||
|
||||
@@ -649,6 +649,15 @@ PianoRoll::PianoRoll() :
|
||||
}
|
||||
|
||||
|
||||
|
||||
void PianoRoll::reset()
|
||||
{
|
||||
m_lastNoteVolume = DefaultVolume;
|
||||
m_lastNotePanning = DefaultPanning;
|
||||
}
|
||||
|
||||
|
||||
|
||||
void PianoRoll::changeNoteEditMode( int i )
|
||||
{
|
||||
m_noteEditMode = (noteEditMode) i;
|
||||
|
||||
Reference in New Issue
Block a user