forked from LeenkxTeam/LNXSDK
Compare commits
8 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 4375087d3a | |||
| 825f783cbe | |||
| 2f9a24753e | |||
| 07efcaffdb | |||
| a6bef6b35a | |||
| b88f471f0f | |||
| 7e31a73d28 | |||
| 7fa4be0b07 |
@ -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,4 +1,5 @@
|
|||||||
from typing import Union
|
from typing import Union
|
||||||
|
from __future__ import annotations
|
||||||
|
|
||||||
import bpy
|
import bpy
|
||||||
|
|
||||||
|
|||||||
@ -1,4 +1,5 @@
|
|||||||
from typing import Union
|
from typing import Union
|
||||||
|
from __future__ import annotations
|
||||||
|
|
||||||
import bpy
|
import bpy
|
||||||
import mathutils
|
import mathutils
|
||||||
|
|||||||
@ -1,5 +1,6 @@
|
|||||||
import bpy
|
import bpy
|
||||||
from bpy.types import NodeSocket
|
from bpy.types import NodeSocket
|
||||||
|
from __future__ import annotations
|
||||||
|
|
||||||
import lnx
|
import lnx
|
||||||
import lnx.material.cycles as c
|
import lnx.material.cycles as c
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
import math
|
import math
|
||||||
import os
|
import os
|
||||||
from typing import Union
|
from typing import Union
|
||||||
|
from __future__ import annotations
|
||||||
|
|
||||||
import bpy
|
import bpy
|
||||||
|
|
||||||
|
|||||||
@ -1,4 +1,5 @@
|
|||||||
from typing import Union
|
from typing import Union
|
||||||
|
from __future__ import annotations
|
||||||
|
|
||||||
import bpy
|
import bpy
|
||||||
from mathutils import Euler, Vector
|
from mathutils import Euler, Vector
|
||||||
|
|||||||
Reference in New Issue
Block a user