Page 1 of 1

CELayoutEditorII Display size problem

Posted: Sat Apr 16, 2011 06:33
by pizzazhang
Hi, I got the latest CELayoutEditorII (I clone it using mercurial yesterday so I think it's the latest version). It's written in Qt which makes this tool more convenient to use. But a problem I encountered was that every time when I start up the editor and open a layout, it seems that the red border of every window in the layout can't show at all.
(Seems can't put a picture attachment here :? )
I need to change the display size every time so that the border can show.
Anyone has this problem? Nothing serious but a little inconvenient for me now.

console says:

Code: Select all

Traceback (most recent call last):
  File "D:\tools\CELayoutEditorII\layouteditor\qtwidgets.py", line 104, in resiz
eGL
    glViewport(0, 0, w, h)
  File "D:\Python26\Lib\site-packages\OpenGL\error.py", line 208, in glCheckErro
r
    baseOperation = baseOperation,
OpenGL.error.GLError: GLError(
        err = 1280,
        description = 'invalid enumerant',
        baseOperation = glViewport,
        cArguments = (0, 0, 800, 600)
)

Re: CELayoutEditorII Display size problem

Posted: Sat Apr 16, 2011 12:06
by Kulik
Probably a GL context problem. CELE2 is not being developed so I don't feel like investing time into this problem, if someone can patch it, I will commit the patch though.