gzz-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gzz-commits] gzz/gzz/gfx/gl PaperMill.java


From: Janne V. Kujala
Subject: [Gzz-commits] gzz/gzz/gfx/gl PaperMill.java
Date: Sat, 12 Oct 2002 05:50:01 -0400

CVSROOT:        /cvsroot/gzz
Module name:    gzz
Changes by:     Janne V. Kujala <address@hidden>        02/10/12 05:50:01

Modified files:
        gzz/gfx/gl     : PaperMill.java 

Log message:
        Try to fix papermill instance generation

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/gzz/gzz/gfx/gl/PaperMill.java.diff?tr1=1.4&tr2=1.5&r1=text&r2=text

Patches:
Index: gzz/gzz/gfx/gl/PaperMill.java
diff -c gzz/gzz/gfx/gl/PaperMill.java:1.4 gzz/gzz/gfx/gl/PaperMill.java:1.5
*** gzz/gzz/gfx/gl/PaperMill.java:1.4   Fri Sep 13 07:48:31 2002
--- gzz/gzz/gfx/gl/PaperMill.java       Sat Oct 12 05:50:01 2002
***************
*** 32,38 ****
      static public PaperMill getInstance() {
        if(instance == null) {
            PythonInterpreter jython = new PythonInterpreter();
!           jython.execfile("gfx/libpaper/papermill.py");
            instance = (PaperMill)(jython.get("papermillInstance",
                                        PaperMill.class));
        }
--- 32,39 ----
      static public PaperMill getInstance() {
        if(instance == null) {
            PythonInterpreter jython = new PythonInterpreter();
!           jython.exec("from gfx.libpaper.papermill import ThePaperMill\n" +
!                       "papermillInstance = ThePaperMill()\n");
            instance = (PaperMill)(jython.get("papermillInstance",
                                        PaperMill.class));
        }




reply via email to

[Prev in Thread] Current Thread [Next in Thread]