Post #1752: The bgl module which PME uses for text color, was removed from 2.8. I’m sure [@r
📋 Metadata
- Author: iceythe
- Date: 2018-12-10 22:28:32
- Type:
answer - Quality Score: 8/10
- Reply to: post_01751
🏷️ Tags
v1-20-x pie-menu compatibility intermediate solved
⚙️ Related PME Features
- Pie Menu Editor
- Overlay rendering
💬 Content
The bgl module which PME uses for text color, was removed from 2.8. I’m sure @roaoao will post an official fix for it soon.
In the mean time, the text can be restored by changing some lines in overlay.py in the addon folder.
Out of respect to the author, I only post the steps, not the file.
-
Comment out
import bgl -
Find and replace
bgl.glColor4f(*self.style.color)withblf.color(1, *self.style.color) -
Find and replace
bgl.glColor4f(r, g, b, a)withblf.color(0, r, g, b, a) -
Comment out all
bgllines starting on around line 274 -
Search for any other lines containing
bgland comment them out
This brings back the overlay with color abilities.
❤️ 2 likes