forked from LeenkxTeam/LNXSDK
merge upstream
This commit is contained in:
@ -1,9 +1,12 @@
|
|||||||
import bpy, math, os, gpu, bgl, importlib
|
import bpy, math, os, gpu, importlib
|
||||||
import numpy as np
|
import numpy as np
|
||||||
from . import utility
|
from . import utility
|
||||||
from fractions import Fraction
|
from fractions import Fraction
|
||||||
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
|
||||||
|
|
||||||
def splitLogLuvAlphaAtlas(imageIn, outDir, quality):
|
def splitLogLuvAlphaAtlas(imageIn, outDir, quality):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|||||||
@ -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):
|
||||||
|
|||||||
@ -1,3 +1,4 @@
|
|||||||
|
from __future__ import annotations
|
||||||
import bpy
|
import bpy
|
||||||
|
|
||||||
import lnx
|
import lnx
|
||||||
|
|||||||
@ -1,3 +1,4 @@
|
|||||||
|
from __future__ import annotations
|
||||||
from typing import Union
|
from typing import Union
|
||||||
|
|
||||||
import bpy
|
import bpy
|
||||||
|
|||||||
@ -1,3 +1,4 @@
|
|||||||
|
from __future__ import annotations
|
||||||
from typing import Union
|
from typing import Union
|
||||||
|
|
||||||
import bpy
|
import bpy
|
||||||
|
|||||||
@ -1,3 +1,4 @@
|
|||||||
|
from __future__ import annotations
|
||||||
import bpy
|
import bpy
|
||||||
from bpy.types import NodeSocket
|
from bpy.types import NodeSocket
|
||||||
|
|
||||||
|
|||||||
@ -1,3 +1,4 @@
|
|||||||
|
from __future__ import annotations
|
||||||
import math
|
import math
|
||||||
import os
|
import os
|
||||||
from typing import Union
|
from typing import Union
|
||||||
|
|||||||
@ -1,3 +1,4 @@
|
|||||||
|
from __future__ import annotations
|
||||||
from typing import Union
|
from typing import Union
|
||||||
|
|
||||||
import bpy
|
import bpy
|
||||||
|
|||||||
Reference in New Issue
Block a user