From: <sag...@us...> - 2013-02-16 01:12:39
|
Revision: 1531 http://sourceforge.net/p/modplug/code/1531 Author: saga-games Date: 2013-02-16 01:12:24 +0000 (Sat, 16 Feb 2013) Log Message: ----------- [Fix] Previewing samples from treeview only worked about every other time. [Fix] fbx -> fxb typo [Mod] OpenMPT: Version is now 1.21.01.13 Modified Paths: -------------- trunk/OpenMPT/common/version.h trunk/OpenMPT/mptrack/AbstractVstEditor.cpp trunk/OpenMPT/mptrack/View_gen.cpp trunk/OpenMPT/soundlib/Sndfile.cpp Modified: trunk/OpenMPT/common/version.h =================================================================== --- trunk/OpenMPT/common/version.h 2013-02-15 17:54:10 UTC (rev 1530) +++ trunk/OpenMPT/common/version.h 2013-02-16 01:12:24 UTC (rev 1531) @@ -19,7 +19,7 @@ #define VER_MAJORMAJOR 1 #define VER_MAJOR 21 #define VER_MINOR 01 -#define VER_MINORMINOR 12 +#define VER_MINORMINOR 13 //Creates version number from version parts that appears in version string. //For example MAKE_VERSION_NUMERIC(1,17,02,28) gives version number of Modified: trunk/OpenMPT/mptrack/AbstractVstEditor.cpp =================================================================== --- trunk/OpenMPT/mptrack/AbstractVstEditor.cpp 2013-02-15 17:54:10 UTC (rev 1530) +++ trunk/OpenMPT/mptrack/AbstractVstEditor.cpp 2013-02-16 01:12:24 UTC (rev 1531) @@ -104,7 +104,7 @@ if(!m_pVstPlugin) return; FileDlgResult files = CTrackApp::ShowOpenSaveFileDialog(true, "fxp", "", - "VST Plugin Programs and Banks (*.fxp,*.fbx)|*.fxp;*.fxb|" + "VST Plugin Programs and Banks (*.fxp,*.fxb)|*.fxp;*.fxb|" "VST Plugin Programs (*.fxp)|*.fxp|" "VST Plugin Banks (*.fxb)|*.fxb|" "All Files|*.*||", @@ -118,6 +118,7 @@ { if(m_pVstPlugin->GetModDoc() != nullptr) m_pVstPlugin->GetModDoc()->SetModified(); + UpdatePresetMenu(true); UpdatePresetField(); } else { @@ -158,7 +159,7 @@ void CAbstractVstEditor::SetupMenu(bool force) -//---------------------------------- +//-------------------------------------------- { //TODO: create menus on click so they are only updated when required if (m_pVstPlugin) Modified: trunk/OpenMPT/mptrack/View_gen.cpp =================================================================== --- trunk/OpenMPT/mptrack/View_gen.cpp 2013-02-15 17:54:10 UTC (rev 1530) +++ trunk/OpenMPT/mptrack/View_gen.cpp 2013-02-16 01:12:24 UTC (rev 1531) @@ -1034,7 +1034,7 @@ } FileDlgResult files = CTrackApp::ShowOpenSaveFileDialog(true, "fxp", "", - "VST Plugin Programs and Banks (*.fxp,*.fbx)|*.fxp;*.fxb|" + "VST Plugin Programs and Banks (*.fxp,*.fxb)|*.fxp;*.fxb|" "VST Plugin Programs (*.fxp)|*.fxp|" "VST Plugin Banks (*.fxb)|*.fxb|" "All Files|*.*||", @@ -1046,7 +1046,7 @@ { if(pSndFile->GetModSpecifications().supportsPlugins) pModDoc->SetModified(); - } else + } else { Reporting::Error(retVal, "Plugin Preset"); } Modified: trunk/OpenMPT/soundlib/Sndfile.cpp =================================================================== --- trunk/OpenMPT/soundlib/Sndfile.cpp 2013-02-15 17:54:10 UTC (rev 1530) +++ trunk/OpenMPT/soundlib/Sndfile.cpp 2013-02-16 01:12:24 UTC (rev 1531) @@ -724,6 +724,7 @@ m_nRow = 0; RecalculateSamplesPerTick(); + visitedSongRows.Initialize(true); if ((m_nRestartPos >= Order.size()) || (Order[m_nRestartPos] >= Patterns.Size())) m_nRestartPos = 0; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |