mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-02-17 01:11:45 +00:00
Don't use targetname for entity names.
Proves to be rather non-useful (at this stage, anyway)
This commit is contained in:
parent
1993ee8352
commit
395a0eef78
1 changed files with 1 additions and 4 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue