Mercurial > fife-parpg
changeset 667:a5809f60d548
* Removed the instance id unique check from the loader.
author | helios2000@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Mon, 08 Nov 2010 18:21:05 +0000 |
parents | 3944096d12ce |
children | e8a799239384 |
files | engine/python/fife/extensions/serializers/xmlmap.py |
diffstat | 1 files changed, 1 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/engine/python/fife/extensions/serializers/xmlmap.py Mon Nov 08 18:06:05 2010 +0000 +++ b/engine/python/fife/extensions/serializers/xmlmap.py Mon Nov 08 18:21:05 2010 +0000 @@ -446,13 +446,7 @@ for instance in instances: _id = instance.get('id') - # check for istance id name clashes - if _id: - if bool(layer.getInstance(_id)): - print "Instance with id=%s, already exists. Omitting..." % _id - continue - _id = str(_id) - else: + if not _id: _id = '' objectID = ''