Add Preferences class, empty for now
parent
698ace38fd
commit
b251a3b122
|
@ -10,11 +10,12 @@ bl_info = {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
from . import ui, operators
|
from . import ui, operators, preferences
|
||||||
|
|
||||||
modules = (
|
modules = (
|
||||||
ui,
|
ui,
|
||||||
operators,
|
operators,
|
||||||
|
preferences
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,22 @@
|
||||||
|
import bpy
|
||||||
|
from bpy.types import AddonPreferences
|
||||||
|
from bpy.props import BoolProperty
|
||||||
|
|
||||||
|
|
||||||
|
class NodeKitPreferences(AddonPreferences):
|
||||||
|
bl_idname = __package__
|
||||||
|
|
||||||
|
classes = (
|
||||||
|
NodeKitPreferences,
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
def register():
|
||||||
|
for c in classes:
|
||||||
|
bpy.utils.register_class(c)
|
||||||
|
|
||||||
|
|
||||||
|
def unregister():
|
||||||
|
for c in reversed(classes):
|
||||||
|
bpy.utils.unregister_class(c)
|
||||||
|
|
Loading…
Reference in New Issue