Here's a quick patch that should fix the export problems. Looks like I was over-eager in commenting out "unneeded" stuff.

And, the strange knob behavior Vesa reported comes from knob styles not being defined in the theme in use. If you use some other theme than default, these lines can be used until some sane defaults are added to the code:

opl2instrumentView knob {
    color: rgb(128,128,128);
    qproperty-outerColor: rgb(255,255,255);
    qproperty-innerRadius: 2;
    qproperty-outerRadius: 9;
    qproperty-lineWidth: 2;
}

--
[email protected]
http://www.mikseri.net/radioproject

diff --git a/plugins/opl2/opl2instrument.cpp b/plugins/opl2/opl2instrument.cpp
index b534202..fb46ab3 100644
--- a/plugins/opl2/opl2instrument.cpp
+++ b/plugins/opl2/opl2instrument.cpp
@@ -223,7 +223,7 @@ void opl2instrument::reloadEmulator() {
        for(int i=1; i<9; ++i) {
                voiceNote[i] = OPL2_VOICE_FREE;
        }
-       // updatePatch();
+       updatePatch();
 }
 
 bool opl2instrument::handleMidiEvent( const midiEvent & _me,
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
LMMS-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lmms-devel

Reply via email to