Skip to content

getting an openGL error when toggling wireframe #20

Description

@rithikrathan

OpenGL.error.GLError: GLError(
err = 1282,
description = b'invalid operation',
baseOperation = glPolygonMode,
cArguments = (GL_FRONT_AND_BACK, GL_FILL)
)
Exception GLError(
err = 1286,
description = b'invalid framebuffer operation',
baseOperation = glPolygonMode,
cArguments = (GL_FRONT_AND_BACK, GL_LINE)
): Clearing any OpenGL errors left by the failed call
Exception GLError(
err = 1282,
description = b'invalid operation',
baseOperation = glPolygonMode,
cArguments = (GL_FRONT_AND_BACK, GL_LINE)
): Clearing any OpenGL errors left by the failed call
Traceback (most recent call last):
File "....../makehuman2/gui/graphwindow.py", line 401, in toggle_wireframe
self.view.toggleWireframe(v)
~~~~~~~~~~~~~~~~~~~~~~~~~^^^
File "....../makehuman2/opengl/main.py", line 150, in toggleWireframe
self.Tweak()
~~~~~~~~~~^^
File "....../makehuman2/opengl/main.py", line 384, in Tweak
self.paintGL()
~~~~~~~~~~~~^^
File "....../makehuman2/opengl/main.py", line 354, in paintGL
body.drawWireframe(proj_view_matrix, campos, self.scene.black, self.scene.white)
~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "....../makehuman2/opengl/buffers.py", line 417, in drawWireframe
gl.glPolygonMode(gl.GL_FRONT_AND_BACK, gl.GL_FILL)
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "....../makehuman2/venv/lib/python3.14/site-packages/OpenGL/error.py", line 230, in glCheckError
raise self._errorClass(
...<4 lines>...
)

I was just looking around the editor, I tried running with python3 makehuman.py and got this error when i try toggling the wireframe, also the model become white, apologies, this is not a proper issue :(

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions