Fixed an issue causing the fill tool to crash.
This commit is contained in:
parent
e0ed1b5048
commit
fde3d1624b
@ -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]
|
||||
|
Reference in New Issue
Block a user