Cleanup init and remove old unused files
parent
bc19b0cc6d
commit
30ae14f9bb
23
__init__.py
23
__init__.py
|
@ -1,14 +1,13 @@
|
|||
bl_info = {
|
||||
"name": "Node Kit",
|
||||
"author": "Florentin Luce",
|
||||
"author": "Florentin Luce, Christophe Seux, Jonas Holzman",
|
||||
"version": (0, 1),
|
||||
"blender": (4, 0, 2),
|
||||
"category": "Node"}
|
||||
|
||||
|
||||
import sys
|
||||
import importlib
|
||||
from pathlib import Path
|
||||
"blender": (4, 3, 2),
|
||||
"location": "Node Editor -> Node Kit",
|
||||
"description": "Collection of node-related tools",
|
||||
"doc_url": "https://git.autourdeminuit.com/autour_de_minuit/node_kit",
|
||||
"category": "Node"
|
||||
}
|
||||
|
||||
|
||||
from . import ui, operators
|
||||
|
@ -19,15 +18,7 @@ modules = (
|
|||
)
|
||||
|
||||
|
||||
if "bpy" in locals():
|
||||
import importlib
|
||||
|
||||
for mod in modules:
|
||||
importlib.reload(mod)
|
||||
|
||||
|
||||
def register():
|
||||
print('Register Node kit')
|
||||
for mod in modules:
|
||||
mod.register()
|
||||
|
||||
|
|
|
@ -1,12 +0,0 @@
|
|||
import plateform
|
||||
from pathlib import Path
|
||||
from os.path import expandvars
|
||||
|
||||
|
||||
def get_cache_dir()
|
||||
if plateform.system() == 'Linux':
|
||||
return Path(expandvars('$HOME/.cache/blender'))
|
||||
elif plateform.system() == 'Darwin':
|
||||
return Path('/Library/Caches/Blender')
|
||||
elif plateform.system() == 'Windows':
|
||||
return Path(expandvars('%USERPROFILE%\AppData\Local\Blender Foundation\Blender'))
|
Loading…
Reference in New Issue