blender-2.80.0-git.e79bb957fc3-windows64\2.80\scripts\modules\addon_utils.py", line 351, in enable
mod = import(module_name)
Blender Foundation\Blender\2.80\scripts\addons\pie_menu_editor_init_.py", line 158, in
importlib.import_module(“pie_menu_editor.” + mod)
blender-2.80.0-git.e79bb957fc3-windows64\2.80\python\lib\importlib_init_.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
Blender Foundation\Blender\2.80\scripts\addons\pie_menu_editor\operator_utils.py", line 2, in
from addon import print_exc
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) with blf.color(1, *self.style.color)
Find and replace bgl.glColor4f(r, g, b, a) with blf.color(0, r, g, b, a)
Comment out all bgl lines starting on around line 274
Search for any other lines containing bgl and comment them out
This brings back the overlay with color abilities.
Hey,
is it possible to immediately confirm a modal like “to sphere” without having to click again?
I currently have a macro set up, that sets the to sphere value to 1 and I would like to have that on a single button press, rather than having to confirm it again.