I have already changed this in community plugins. I am still working on an interface with a kinect2 sensor so it cannot be commited, but the code for this is:
- Code: Select all
classes = (
Community_Panel,
MeshSyncOperator,
PoseSyncOperator,
ExpressionTransOperator,
AmputateFingers,
AmputateFace,
SnapOnIkRig,
RemoveIkRig,
SnapOnFingerRig,
RemoveFingerRig,
ToKinect2,
StartKinectRecording,
StopKinectRecording,
KinectAssignment,
KinectRefresh,
PoseRight,
ActionTrimLeft,
ActionTrimRight,
ActionSmoothing,
Animation_items
)
def register():
from bpy.utils import register_class
for cls in classes:
register_class(cls)
def unregister():
from bpy.utils import unregister_class
for cls in reversed(classes):
unregister_class(cls)
There is also a requirement to set the Blender minimum version to 2.8. These are just to get the thing to load. My other add-ons die rather early when actually running. The community stuff came out almost unscathed. I am just guessing something like make walk is going to need TLC. Quaternion & matrix multiplication seem to be done differently.