WIP: MaterialX addon #104594

Closed
Bogdan Nagirniak wants to merge 34 commits from BogdanNagirniak/blender-addons:materialx-addon into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.
2 changed files with 10 additions and 13 deletions
Showing only changes of commit 7913e6fbae - Show all commits

View File

@ -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()

View File

@ -42,3 +42,7 @@ def addon_preferences():
return bpy.context.preferences.addons[ADDON_ALIAS].preferences
register, unregister = bpy.utils.register_classes_factory([
AddonPreferences,
])