# HG changeset patch # User helios2000@33b003aa-7bff-0310-803a-e67f0ece8222 # Date 1289240465 0 # Node ID a5809f60d548847a97975d5cc522ee9284f1db43 # Parent 3944096d12cec53519c31cd6dc1356fede7afbbd * Removed the instance id unique check from the loader. diff -r 3944096d12ce -r a5809f60d548 engine/python/fife/extensions/serializers/xmlmap.py --- 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 = ''