Remove some debug prints.

This commit is contained in:
Bill Currie 2012-09-04 19:40:07 +09:00
parent af37ae438e
commit 1993ee8352
2 changed files with 0 additions and 3 deletions

View file

@ -114,7 +114,6 @@ class EntityClassDict:
ec = EntityClass.from_quaked(text[start:pos], fname, ec = EntityClass.from_quaked(text[start:pos], fname,
start_line) start_line)
self.entity_classes[ec.name] = ec self.entity_classes[ec.name] = ec
print(ec.name)
else: else:
if text[pos] == "\n": if text[pos] == "\n":
line += 1 line += 1

View file

@ -66,7 +66,6 @@ def entity_box(entityclass):
def load_image(tx): def load_image(tx):
if tx.name in bpy.data.images: if tx.name in bpy.data.images:
return bpy.data.images[tx.name] return bpy.data.images[tx.name]
print(tx.name)
img = bpy.data.images.new(tx.name, tx.miptex.width, tx.miptex.height) img = bpy.data.images.new(tx.name, tx.miptex.width, tx.miptex.height)
p = [0.0] * tx.miptex.width * tx.miptex.height * 4 p = [0.0] * tx.miptex.width * tx.miptex.height * 4
d = tx.miptex.texels[0] d = tx.miptex.texels[0]
@ -182,7 +181,6 @@ def process_entity(ent, wads):
uv = uvs[i] uv = uvs[i]
tx = texdefs[i] tx = texdefs[i]
texpoly.image = tx.image texpoly.image = tx.image
print(poly.material_index, tx.matindex)
poly.material_index = tx.matindex poly.material_index = tx.matindex
for j, k in enumerate(poly.loop_indices): for j, k in enumerate(poly.loop_indices):
uvloop.data[k].uv = uv[j] uvloop.data[k].uv = uv[j]