Fixes
- 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:
+14
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user