Merge pull request #63 from faulesocke/master

pull/64/merge
Alexander Gessler 2013-07-28 14:43:05 -07:00
commit 3542bad65d
1 changed files with 5 additions and 1 deletions

View File

@ -338,7 +338,11 @@ def _finalize_mesh(mesh, target):
class PropertyGetter(dict): class PropertyGetter(dict):
def __getitem__(self, key, semantic = 0): def __getitem__(self, key):
semantic = 0
if isinstance(key, tuple):
key, semantic = key
return dict.__getitem__(self, (key, semantic)) return dict.__getitem__(self, (key, semantic))
def keys(self): def keys(self):