Skip to content

Commit

Permalink
Remove outcommented code
Browse files Browse the repository at this point in the history
  • Loading branch information
sago007 committed Aug 4, 2024
1 parent 715aaca commit 6ad2062
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions extra/editor/texture_selector.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@
BASEDIR = '../..'

import os
#textures_filenames = os.listdir(BASEDIR+"/data/textures")
#textures = list(filter(lambda x: x.endswith('.png'), textures_filenames))
#textures.sort()


def addLinesToCanvas(canvas, image_file, xstep = 32, ystep = 32, xoffset=0, yoffset=0):
Expand Down Expand Up @@ -40,9 +37,6 @@ def populateTree(filter2 = None):
textures = []
addFolderToList("", textures, filter2)
return textures
#folders = list(filter(lambda x: os.path.isdir(BASEDIR+"/data/textures/"+x), textures_filenames))
#addFolderToList()
#print(folders)



Expand Down Expand Up @@ -70,7 +64,6 @@ def callback_canvas_motion(event):
if not imageFrame or not imageFrame.image_file:
return
status_mouse_over['text'] = "Top: "+str(x-(x%32))+","+str(y-(y%32))+", tile: "+ str( (y//32)*imageFrame.image_file.width()//32+x//32+1 )
#print('{}, {}'.format(x, y))


if __name__ == "__main__":
Expand Down

0 comments on commit 6ad2062

Please sign in to comment.