Sélection de l'instrument à la souris.
authorbenoit.pin <benoit.pin@fe552daf-6dbe-4428-90eb-1537e0879342>
Tue, 15 Feb 2011 09:37:03 +0000 (09:37 +0000)
committerbenoit.pin <benoit.pin@fe552daf-6dbe-4428-90eb-1537e0879342>
Tue, 15 Feb 2011 09:37:03 +0000 (09:37 +0000)
git-svn-id: https://svn.cri.ensmp.fr/svn/minwii/trunk@336 fe552daf-6dbe-4428-90eb-1537e0879342

src/minwii/app.py

index f36094c..d456b8e 100755 (executable)
@@ -73,15 +73,13 @@ class MinWii(object):
             if exit : break
             
             WT.selectWiimote(wiimoteIndex)
             if exit : break
             
             WT.selectWiimote(wiimoteIndex)
-            WT.resume()
 
             instrumentDescription = self.selectInstrument()
             if not instrumentDescription :
 
             instrumentDescription = self.selectInstrument()
             if not instrumentDescription :
-                WT.pause()
                 continue
             
                 continue
             
+            WT.resume()
             self.runPlayingScreen(songFile, playMode, instrumentDescription)
             self.runPlayingScreen(songFile, playMode, instrumentDescription)
-            
             WT.pause()
     
     
             WT.pause()