plug-ins, tests: Update Python plug-ins after b1736a67
Two instances of Gimp.Layer.group_new () were missed during the initial port.
This commit is contained in:
parent
ba79fd00d3
commit
86ef74ae95
2 changed files with 2 additions and 2 deletions
|
|
@ -8,7 +8,7 @@ layer1 = Gimp.Layer.new(image, "layer1", 20, 10,
|
|||
Gimp.LayerMode.NORMAL)
|
||||
image.insert_layer(layer1,None,0)
|
||||
|
||||
group1 = Gimp.Layer.group_new(image)
|
||||
group1 = Gimp.GroupLayer.new(image, None)
|
||||
image.insert_layer(group1,None,-1)
|
||||
|
||||
layer2 = Gimp.Layer.new(image, "layer2", 10, 20,
|
||||
|
|
|
|||
|
|
@ -389,7 +389,7 @@ def load_ora(procedure, run_mode, file, metadata, flags, config, data):
|
|||
|
||||
if item.tag == 'stack':
|
||||
name, x, y, opac, visible, layer_mode = get_group_layer_attributes(item)
|
||||
gimp_layer = Gimp.Layer.group_new(img)
|
||||
gimp_layer = Gimp.GroupLayer.new(img, name)
|
||||
|
||||
else:
|
||||
path, name, x, y, opac, visible, layer_mode = get_layer_attributes(item)
|
||||
|
|
|
|||
Loading…
Reference in a new issue