![]() ![]() Changing pen size to '1' fixes the problem. Second and all the rest fail to paint a stroke.Ģ) The offset of the red stroke is always random.ģ) Only openGL paint engine is affected (the one used for QImage works fine).Ĥ) Only cosmetic strokes are affected. After this trick the handles are painted incorrectly: the stroke is separated from the internal filling, though they are done using a single line of code:ġ) The first opened document (therefore the first created QGLWidget) always works fine. In the meantime Krita recreates QGLWidget object and reinitializes QGLContext. When I open application, the handles are painted correctly: Where the transformation is of a TxProject type: Gc.drawRect(m_d->transaction.originalRect()) Here in Krita we have a code for painting transformation handles above the image. It looks like the internal openGL paint engine is not initialized correctly when openGL widget and/or is recreated in a single session of the application run. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |