Renamed tank.obj to object-tank.obj
This commit is contained in:
1 parent
c7c3adbaee
commit
dda047cc04
2 files changed
+2
-2
No files matched your search
@@ -78,10 +78,10 @@ tank_model = None
|
||||
tank_display_list = None
|
||||
TANK_SCALE = 0.003
|
||||
|
||||
if os.path.isfile("tank.obj"):
|
||||
if os.path.isfile("object-tank.obj"):
|
||||
try:
|
||||
import pywavefront
|
||||
tank_model = pywavefront.Wavefront("tank.obj", create_materials=True, collect_faces=True, parse=True)
|
||||
tank_model = pywavefront.Wavefront("object-tank.obj", create_materials=True, collect_faces=True, parse=True)
|
||||
OBJ_AVAILABLE = True
|
||||
tank_display_list = glGenLists(1)
|
||||
glNewList(tank_display_list, GL_COMPILE)
|
||||
|
||||
Reference in new issue
Block a user