mirror of https://github.com/GNOME/gimp.git
plug-ins: import Babl and Gegl modules in python-eval plug-in.
This makes it easier to run babl and GEGL code directly through the command line or script files.
This commit is contained in:
parent
84c0584aea
commit
d6a134e6c1
|
@ -17,6 +17,10 @@
|
|||
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
import gi
|
||||
gi.require_version('Babl', '0.1')
|
||||
from gi.repository import Babl
|
||||
gi.require_version('Gegl', '0.4')
|
||||
from gi.repository import Gegl
|
||||
gi.require_version('Gimp', '3.0')
|
||||
from gi.repository import Gimp
|
||||
from gi.repository import GObject
|
||||
|
|
Loading…
Reference in New Issue