Don't use targetname for entity names.

Proves to be rather non-useful (at this stage, anyway)
This commit is contained in:
Bill Currie 2012-09-04 20:29:00 +09:00
parent 1993ee8352
commit 395a0eef78

View file

@ -125,10 +125,7 @@ def process_entity(ent, wads):
qfmap = bpy.context.scene.qfmap
classname = ent.d["classname"]
entityclass = qfmap.entity_classes.entity_classes[classname]
if "targetname" in ent.d:
name = ent.d["targetname"]
else:
name = classname
name = classname
if "classname" in ent.d and ent.d["classname"][:5] == "light":
light = bpy.data.lamps.new("light", 'POINT')
if "light" in ent.d: