Fixed displaying raster image thangs in the thang editor.

This commit is contained in:
Scott Erickson 2014-10-06 16:22:21 -07:00
parent b286b24f27
commit f00fd66bed

View file

@ -241,10 +241,8 @@ module.exports = class ThangTypeEditView extends RootView
@updatePortrait()
showRasterImage: ->
sprite = new Lank(@thangType, @getLankOptions())
@currentLank?.destroy()
@currentLank = sprite
@showSprite(sprite.sprite)
lank = new Lank(@thangType, @getLankOptions())
@showLank(lank)
@updateScale()
onNewSpriteSheet: ->