|
From: <sag...@us...> - 2010-07-10 12:09:49
|
Revision: 637
http://modplug.svn.sourceforge.net/modplug/?rev=637&view=rev
Author: saga-games
Date: 2010-07-10 12:09:43 +0000 (Sat, 10 Jul 2010)
Log Message:
-----------
[Fix] Instrument Editor: Panning ranges were not updated properly when converting between IT <-> MPTM (see previous commit).
Modified Paths:
--------------
trunk/OpenMPT/mptrack/Ctrl_ins.cpp
Modified: trunk/OpenMPT/mptrack/Ctrl_ins.cpp
===================================================================
--- trunk/OpenMPT/mptrack/Ctrl_ins.cpp 2010-07-10 12:03:54 UTC (rev 636)
+++ trunk/OpenMPT/mptrack/Ctrl_ins.cpp 2010-07-10 12:09:43 UTC (rev 637)
@@ -1125,6 +1125,9 @@
else
m_SpinFadeOut.SetRange(0, 8192);
+ // Panning ranges
+ m_SpinPanning.SetRange(0, (m_pModDoc->GetModType() & MOD_TYPE_IT) ? 64 : 256);
+
m_NoteMap.EnableWindow(bITandXM);
m_CbnResampling.EnableWindow(bITandXM);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|