Fixed a bug in the bugfix -.-

This commit is contained in:
Faule Socke
2013-07-28 22:22:49 +02:00
parent 3c02d24bf0
commit 43ff04a53b
+5 -1
View File
@@ -338,7 +338,11 @@ def _finalize_mesh(mesh, target):
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))
def keys(self):