mirror of https://github.com/GNOME/gimp.git
fixed logic that decides if a dialog should be shown or not.
2007-12-08 Sven Neumann <sven@gimp.org> * plug-ins/pygimp/gimpfu.py (_run): fixed logic that decides if a dialog should be shown or not. svn path=/trunk/; revision=24300
This commit is contained in:
parent
e33a939fb8
commit
2c594fbc33
|
@ -1,3 +1,8 @@
|
|||
2007-12-08 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* plug-ins/pygimp/gimpfu.py (_run): fixed logic that decides if a
|
||||
dialog should be shown or not.
|
||||
|
||||
2007-12-07 Bill Skaggs <weskaggs@primate.ucdavis.edu>
|
||||
|
||||
* app/core/gimpimage-snap.c: fix typo in previous commit.
|
||||
|
|
|
@ -742,7 +742,7 @@ def _run(proc_name, params):
|
|||
|
||||
script_params = _registered_plugins_[proc_name][8]
|
||||
|
||||
min_args = 1
|
||||
min_args = 0
|
||||
if len(params) > 1:
|
||||
for i in range(1, len(params)):
|
||||
param_type = _obj_mapping[script_params[i - 1][0]]
|
||||
|
|
Loading…
Reference in New Issue