Renamed all occurences of tank-tiger.obj to tank.obj
This commit is contained in:
1 parent
e65a699e9b
commit
f155b81b37
1 file changed
+2
-2
@@ -74,10 +74,10 @@ tank_model = None
|
|||||||
tank_display_list = None
|
tank_display_list = None
|
||||||
TANK_SCALE = 0.003
|
TANK_SCALE = 0.003
|
||||||
|
|
||||||
if os.path.isfile("tank-tiger.obj"):
|
if os.path.isfile("tank.obj"):
|
||||||
try:
|
try:
|
||||||
import pywavefront
|
import pywavefront
|
||||||
tank_model = pywavefront.Wavefront("tank-tiger.obj", create_materials=True, collect_faces=True, parse=True)
|
tank_model = pywavefront.Wavefront("tank.obj", create_materials=True, collect_faces=True, parse=True)
|
||||||
OBJ_AVAILABLE = True
|
OBJ_AVAILABLE = True
|
||||||
tank_display_list = glGenLists(1)
|
tank_display_list = glGenLists(1)
|
||||||
glNewList(tank_display_list, GL_COMPILE)
|
glNewList(tank_display_list, GL_COMPILE)
|
||||||
|
|||||||
Reference in new issue
Block a user