WIP: MaterialX addon #104594
@ -2,16 +2,16 @@
|
||||
# Copyright 2022, AMD
|
||||
|
||||
"""
|
||||
MaterialX NodeTree addon + MaterialX online library
|
||||
MaterialX nodes addon
|
||||
"""
|
||||
|
||||
bl_info = {
|
||||
"name": "MaterialX NodeTree",
|
||||
"description": "MaterialX NodeTree addon + MaterialX online library",
|
||||
"name": "MaterialX nodes",
|
||||
"description": "MaterialX nodes addon",
|
||||
"author": "AMD",
|
||||
"version": (1, 0, 0),
|
||||
"blender": (3, 4, 0),
|
||||
"location": "Editor Type -> MaterialX",
|
||||
"location": "Editor Type -> Shader Editor",
|
||||
"doc_url": "{BLENDER_MANUAL_URL}/addons/materials/materialx.html",
|
||||
"warning": "Alpha",
|
||||
"support": "TESTING",
|
||||
@ -21,8 +21,6 @@ bl_info = {
|
||||
ADDON_ALIAS = "materialx"
|
||||
|
||||
|
||||
import bpy
|
||||
|
||||
from . import (
|
||||
preferences,
|
||||
nodes,
|
||||
@ -34,15 +32,10 @@ from . import logging
|
||||
log = logging.Log("__init__")
|
||||
|
||||
|
||||
register_classes, unregister_classes = bpy.utils.register_classes_factory([
|
||||
preferences.AddonPreferences,
|
||||
])
|
||||
|
||||
|
||||
def register():
|
||||
log("register")
|
||||
|
||||
register_classes()
|
||||
preferences.register()
|
||||
nodes.register()
|
||||
ui.register()
|
||||
|
||||
@ -54,4 +47,4 @@ def unregister():
|
||||
|
||||
ui.unregister()
|
||||
nodes.unregister()
|
||||
unregister_classes()
|
||||
preferences.unregister()
|
||||
|
@ -42,3 +42,7 @@ def addon_preferences():
|
||||
|
||||
return bpy.context.preferences.addons[ADDON_ALIAS].preferences
|
||||
|
||||
|
||||
register, unregister = bpy.utils.register_classes_factory([
|
||||
AddonPreferences,
|
||||
])
|
||||
|
Loading…
Reference in New Issue
Block a user