Skip to content

Conversation

@ivoihrke
Copy link
Contributor

Dear authors,

this is a very minor modification that enables the use of imgui with the glumpy library

glumpy/glumpy#174
glumpy/glumpy#177

The definition of the projection matrix should be a ctypes or numpy array.
In the current implementation, it leads to an error in baseplatform.py of pyopengl.
The error is documented in pull request 177 above, comment of

dan90210 commented on Jan 8, 2019

The submitted change fixes the problem. For the implementation
I chose ctypes over numpy (as suggested in the thread above)
because it is already used in opengl.py and only requires a very
minor change.

I suppose the problem could also occur in other contexts since it
regards the interaction of pyimgui and pyopengl.

best regards,

Ivo

@coveralls
Copy link

Coverage Status

Coverage remained the same at 54.21% when pulling 31ae76d on ivoihrke:glumpyInteraction into c84315e on swistakm:master.

@swistakm swistakm merged commit 38c9132 into pyimgui:master Jul 17, 2020
@swistakm swistakm added the release pending Merged but still needs official release label Jul 17, 2020
@swistakm
Copy link
Member

Great! Thanks! I will draft new release by the end of the week.

@swistakm
Copy link
Member

Improvement released in 1.2.0

@swistakm swistakm removed the release pending Merged but still needs official release label Jul 20, 2020
@ivoihrke
Copy link
Contributor Author

ivoihrke commented Jul 21, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants