Fixed an issue causing the fill tool to crash.

This commit is contained in:
Rubisk 2015-05-10 12:51:02 +02:00
parent e0ed1b5048
commit fde3d1624b

View File

@ -546,7 +546,7 @@ class BlockTypeButton(QtGui.QPushButton):
@blocks.setter
def blocks(self, value):
value = [self.editorSession.blocktypes[block]
value = [self.editorSession.worldEditor.blocktypes[block]
if not isinstance(block, BlockType)
else block
for block in value]