Skip to content

Commit

Permalink
Chunked loadImages method
Browse files Browse the repository at this point in the history
  • Loading branch information
erodozer committed Jun 4, 2011
1 parent 66bd9aa commit 6aaa277
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
4 changes: 1 addition & 3 deletions src/Drum.py
Expand Up @@ -135,9 +135,7 @@ def __init__(self, engine, playerObj, editorMode = False, player = 0):

self.tailsEnabled = False

self.loadFrets()
self.loadNotes()
self.loadTails()
self.loadImages()

self.barsColor = self.engine.theme.barsColor

Expand Down
4 changes: 1 addition & 3 deletions src/Guitar.py
Expand Up @@ -92,9 +92,7 @@ def __init__(self, engine, playerObj, editorMode = False, player = 0, bass = Fal

self.tailsEnabled = True

self.loadFrets()
self.loadNotes()
self.loadTails()
self.loadImages()

self.twoChordMax = False

Expand Down
6 changes: 6 additions & 0 deletions src/Instrument.py
Expand Up @@ -590,6 +590,12 @@ def loadTails(self):
self.kill1 = None
self.kill2 = None

def loadImages(self):
self.loadFrets()
self.loadNotes()
self.loadTails()
self.loadFlames()

def selectPreviousString(self):
self.selectedString = (self.selectedString - 1) % self.strings

Expand Down

0 comments on commit 6aaa277

Please sign in to comment.