xxx BlockPicker changed to need textureAtlas and not editorSession
This commit is contained in:
parent
402bdb508a
commit
f4b620dbff
@ -539,7 +539,7 @@ class BlockTypeButton(QtGui.QPushButton):
|
||||
|
||||
@blocks.setter
|
||||
def blocks(self, value):
|
||||
value = [self.blocktypes[block]
|
||||
value = [self.textureAtlas.blocktypes[block]
|
||||
if not isinstance(block, BlockType)
|
||||
else block
|
||||
for block in value]
|
||||
|
Reference in New Issue
Block a user