kevancress / MeasureIt_ARCH

MeasureIt_ARCH is an addon for Blender, that adds tools to create design documentation and technical drawings that can be previewed within Blender's 3D viewport, and exported as images, vector graphics or .dxf files. Read the Doc's here:
https://kevancress.github.io/MeasureIt_ARCH/
Other
269 stars 38 forks source link

Text cards black out in X-Ray and Wireframe View #16

Closed kevancress closed 5 years ago

kevancress commented 5 years ago

Seems to only happen in complex files

Reproducible in the Sauna test file with workbench shading, X-ray on, overlays off

kevancress commented 5 years ago

Dimension Text is actually still drawing, but the background of the text texture is black rather than transparent... This must have something to do with how the background is determined for offscreen buffers...

might relate to clement's comment at the bottom of this thread about GPUoffsceens openGL context, a bit out of my depth on this one

kevancress commented 5 years ago

nope, just had to force a glClearColor in update_text

Added bonus, setting the clear color to the text color fixed the gross black outlines on colored text too!

814a5318619c628e982acf5fb3bf10c781087c8a

kevancress commented 5 years ago

Fun Fact: you have to set the clear color before you do the clearing... who would have thought...

Fixed in: 5542d8cc527f1bab9dd481bbfa6244d37c7adb41