Commit 960735fb authored by Manish Singh's avatar Manish Singh Committed by Manish Singh
Browse files

don't pass extra parameters to undo group functions. Fixes #136524.

2004-03-08  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/plug-ins/shadow_bevel.py: don't pass extra
        parameters to undo group functions. Fixes #136524.
parent c290943a
2004-03-08 Manish Singh <yosh@gimp.org>
* plug-ins/pygimp/plug-ins/shadow_bevel.py: don't pass extra
parameters to undo group functions. Fixes #136524.
2004-03-08 Sven Neumann <sven@gimp.org>
 
* plug-ins/common/mng.c (run): added missing call to INIT_I18N()
......@@ -4,7 +4,7 @@ from gimpfu import *
def shadow_bevel(img, drawable, blur, bevel, do_shadow, drop_x, drop_y):
# disable undo for the image
img.undo_group_start(img)
img.undo_group_start()
# copy the layer
shadow = drawable.copy(TRUE)
......@@ -34,7 +34,7 @@ def shadow_bevel(img, drawable, blur, bevel, do_shadow, drop_x, drop_y):
gimp.delete(shadow)
# enable undo again
img.undo_group_end(img)
img.undo_group_end()
register(
"shadow_bevel",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment