- Fixes issue with addon registration which just randomly broke at some point
- Fixes issue where merge armatures decided to break due to me messing up with properties.
- Fixed issue where you still had to select the mesh in the 3D Scene for viseme creation even though we have a UI selector now.
This commit is contained in:
Yusarina
2024-12-23 18:16:52 +00:00
parent bf5de6665c
commit 9ad760bfb8
6 changed files with 53 additions and 7 deletions
+14
View File
@@ -2,6 +2,20 @@ modules = None
ordered_classes = None
def register():
# Add wheel installation check
try:
import lz4
except ImportError:
import sys
import os
import site
import pip
wheels_dir = os.path.join(os.path.dirname(__file__), "wheels")
for wheel in os.listdir(wheels_dir):
if wheel.endswith(".whl"):
pip.main(['install', os.path.join(wheels_dir, wheel)])
site.addsitedir(site.getsitepackages()[0])
from .core import auto_load
print("Starting registration")
auto_load.init()