plug-ins: spyrogimp - fix type of new layer to include alpha channel

This commit is contained in:
Elad Shahar 2020-09-01 01:31:55 +03:00 committed by Jehan
parent 19b261f3c6
commit 7d1e108b90
1 changed files with 1 additions and 1 deletions

View File

@ -1812,7 +1812,7 @@ class SpyroWindow():
# Make a new GIMP layer to draw on
self.spyro_layer = Gimp.Layer.new(img, layer_name, img.width(), img.height(),
layer.type(), 100, Gimp.LayerMode.NORMAL)
layer.type_with_alpha(), 100, Gimp.LayerMode.NORMAL)
img.insert_layer(self.spyro_layer, None, 0)
self.drawing_layer = self.spyro_layer