zturtleman / mm3d

Maverick Model 3D is a 3D model editor and animator for games.
https://clover.moe/mm3d
GNU General Public License v2.0
114 stars 22 forks source link

MM3D_ENABLEALPHA makes blending always on #102

Closed m-7761 closed 6 months ago

m-7761 commented 4 years ago

EDITED: I thought that alpha blending was always on (I knew better) but what is happening I think is Qt reapplies the initializeGL state, and the only thing that this effects is drawBackground. I would just delete this post, but I imagine a notification may already be out.

Model::draw sets GL_BLEND. The final state may be left to chance. drawBackground happens before Model::draw.

zturtleman commented 6 months ago

Blending is enabled for background in 48204793c6467565e0ad8d3360567e41f027eea0.