Skip to content
Snippets Groups Projects
Commit 3908254f authored by Germano Cavalcante's avatar Germano Cavalcante
Browse files

Magic UV: remove deprecated bgl module

And update dates

Missed in rBA6feb9c532d7b.
parent d37c2abc
No related branches found
No related tags found
No related merge requests found
...@@ -2,8 +2,8 @@ ...@@ -2,8 +2,8 @@
__author__ = "Nutti <nutti.metro@gmail.com>" __author__ = "Nutti <nutti.metro@gmail.com>"
__status__ = "production" __status__ = "production"
__version__ = "6.6" __version__ = "6.7"
__date__ = "22 Apr 2022" __date__ = "22 Sep 2022"
bl_info = { bl_info = {
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
__author__ = "Nutti <nutti.metro@gmail.com>" __author__ = "Nutti <nutti.metro@gmail.com>"
__status__ = "production" __status__ = "production"
__version__ = "6.7" __version__ = "6.7"
__date__ = "22 Apr 2022" __date__ = "9 Sep 2022"
if "bpy" in locals(): if "bpy" in locals():
import importlib import importlib
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
__author__ = "Nutti <nutti.metro@gmail.com>" __author__ = "Nutti <nutti.metro@gmail.com>"
__status__ = "production" __status__ = "production"
__version__ = "6.7" __version__ = "6.7"
__date__ = "22 Apr 2022" __date__ = "9 Sep 2022"
from collections import namedtuple from collections import namedtuple
from math import sin, cos from math import sin, cos
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
__author__ = "Nutti <nutti.metro@gmail.com>" __author__ = "Nutti <nutti.metro@gmail.com>"
__status__ = "production" __status__ = "production"
__version__ = "6.7" __version__ = "6.7"
__date__ = "22 Apr 2022" __date__ = "9 Sep 2022"
from enum import IntEnum from enum import IntEnum
import math import math
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
__author__ = "Nutti <nutti.metro@gmail.com>" __author__ = "Nutti <nutti.metro@gmail.com>"
__status__ = "production" __status__ = "production"
__version__ = "6.7" __version__ = "6.7"
__date__ = "22 Apr 2022" __date__ = "9 Sep 2022"
import random import random
from math import fabs from math import fabs
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
__author__ = "Nutti <nutti.metro@gmail.com>" __author__ = "Nutti <nutti.metro@gmail.com>"
__status__ = "production" __status__ = "production"
__version__ = "6.7" __version__ = "6.7"
__date__ = "22 Apr 2022" __date__ = "9 Sep 2022"
from math import pi, cos, tan, sin from math import pi, cos, tan, sin
......
...@@ -2,11 +2,10 @@ ...@@ -2,11 +2,10 @@
__author__ = "Nutti <nutti.metro@gmail.com>" __author__ = "Nutti <nutti.metro@gmail.com>"
__status__ = "production" __status__ = "production"
__version__ = "6.6" __version__ = "6.7"
__date__ = "22 Apr 2022" __date__ = "22 Sep 2022"
import bpy import bpy
import bgl
import blf import blf
...@@ -128,10 +127,7 @@ def icon(icon): ...@@ -128,10 +127,7 @@ def icon(icon):
def set_blf_font_color(font_id, r, g, b, a): 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)
blf.color(font_id, r, g, b, a)
else:
bgl.glColor4f(r, g, b, a)
def set_blf_blur(font_id, radius): def set_blf_blur(font_id, radius):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment