chore: rename packages
This commit is contained in:
@@ -1 +0,0 @@
|
||||
from .node_menu import CustomNodes
|
||||
1
bioxelnodes/customnodes/__init__.py
Normal file
1
bioxelnodes/customnodes/__init__.py
Normal file
@@ -0,0 +1 @@
|
||||
from .menu import CustomNodes
|
||||
@@ -1,6 +1,6 @@
|
||||
|
||||
from pathlib import Path
|
||||
from .custom_nodes import CustomNodes
|
||||
from .customnodes import CustomNodes
|
||||
import bpy
|
||||
|
||||
|
||||
|
||||
@@ -1,23 +1,22 @@
|
||||
import bpy
|
||||
from pathlib import Path
|
||||
from .external_package import ExternalPackagePreferences
|
||||
from .externalpackage import ExternalPackagePreferences
|
||||
|
||||
|
||||
class BioxelNodesPreferences(bpy.types.AddonPreferences, ExternalPackagePreferences):
|
||||
bl_idname = __package__
|
||||
|
||||
|
||||
cache_dir: bpy.props.StringProperty(
|
||||
name="Python Log Directory",
|
||||
subtype='DIR_PATH',
|
||||
default=Path(Path.home(), '.bioxelnodes').as_posix()
|
||||
) # type: ignore
|
||||
|
||||
|
||||
def draw(self, context):
|
||||
layout = self.layout
|
||||
layout.label(text="Configuration")
|
||||
layout.prop(self, 'cache_dir', text='Set Cache Directory')
|
||||
|
||||
|
||||
# ExternalPackagePreferences Config
|
||||
self.requirements_dir = Path(__file__).parent.as_posix()
|
||||
super().draw(context)
|
||||
|
||||
Reference in New Issue
Block a user