diff options
author | Germano Cavalcante <germano.costa@ig.com.br> | 2022-09-22 02:46:50 +0300 |
---|---|---|
committer | Germano Cavalcante <germano.costa@ig.com.br> | 2022-09-22 04:44:08 +0300 |
commit | 3908254f0938a3c4c29189a455c8e356771e6ce1 (patch) | |
tree | c4cc4c3d2402497ee3baa612b0bb12b5c6ba7595 /magic_uv/utils | |
parent | d37c2abc6f2b6a655a4e4cfdd251feb2e1d8c570 (diff) |
Magic UV: remove deprecated bgl module
And update dates
Missed in rBA6feb9c532d7b.
Diffstat (limited to 'magic_uv/utils')
-rw-r--r-- | magic_uv/utils/compatibility.py | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/magic_uv/utils/compatibility.py b/magic_uv/utils/compatibility.py index 5885ccb3..6fcf93b8 100644 --- a/magic_uv/utils/compatibility.py +++ b/magic_uv/utils/compatibility.py @@ -2,11 +2,10 @@ __author__ = "Nutti <nutti.metro@gmail.com>" __status__ = "production" -__version__ = "6.6" -__date__ = "22 Apr 2022" +__version__ = "6.7" +__date__ = "22 Sep 2022" import bpy -import bgl import blf @@ -128,10 +127,7 @@ def icon(icon): def set_blf_font_color(font_id, r, g, b, a): - if check_version(2, 80, 0) >= 0: - blf.color(font_id, r, g, b, a) - else: - bgl.glColor4f(r, g, b, a) + blf.color(font_id, r, g, b, a) def set_blf_blur(font_id, radius): |