forked from LeenkxTeam/LNXSDK
Update leenkx/blender/lnx/lightmapper/utility/gui/Viewport.py
This commit is contained in:
@ -1,6 +1,9 @@
|
|||||||
import bpy, blf, bgl, os, gpu
|
import bpy, blf, os, gpu
|
||||||
from gpu_extras.batch import batch_for_shader
|
from gpu_extras.batch import batch_for_shader
|
||||||
|
|
||||||
|
if bpy.app.version < (4, 0, 0):
|
||||||
|
import bgl
|
||||||
|
|
||||||
class ViewportDraw:
|
class ViewportDraw:
|
||||||
|
|
||||||
def __init__(self, context, text):
|
def __init__(self, context, text):
|
||||||
|
|||||||
Reference in New Issue
Block a user