bsc_thesis/code/blender_maxwell/preferences.py

19 lines
540 B
Python
Raw Normal View History

import bpy
from .operators import types as operators_types
class BlenderMaxwellAddonPreferences(bpy.types.AddonPreferences):
bl_idname = "blender_maxwell_preferences"
def draw(self, context):
layout = self.layout
layout.operator(operators_types.BlenderMaxwellInstallDependencies, text="Install Dependencies")
layout.operator(operators_types.BlenderMaxwellUninstallDependencies, text="Uninstall Dependencies")
####################
# - Blender Registration
####################
BL_REGISTER = [
BlenderMaxwellAddonPreferences,
]