mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-05-31 08:41:11 +00:00
Remove some debug prints.
This commit is contained in:
parent
af37ae438e
commit
1993ee8352
2 changed files with 0 additions and 3 deletions
|
@ -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
|
||||||
|
|
|
@ -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]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue