]> CRI, Mines Paris - PSL - minwii.git/commitdiff
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 f36094c2659b37d2672c0a4144e9334719a41b93..d456b8e7ae7f7a447a156e6b4242639f225857d0 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()